Sourcery mysql-workbench-gpl-5.2.29 fails

You have a problem with Salix? Post here and we'll do what we can to help.
Post Reply
User avatar
idahoclint
Posts: 4
Joined: 22. Aug 2011, 20:16

Sourcery mysql-workbench-gpl-5.2.29 fails

Post by idahoclint »

Using Salix 13.37 Xfce installed to hard drive.

After doggedly resolving all the dependencies issues, I was finally able to get a compile of the application mysql-workbench-gpl-5.2.29 but after completing the compile and copying all the runtime files in /usr/share/, this error occurs:

ERROR: unknown package type: mysql-workbench-gpl-5.2.29-src.tar.gz
ERROR: Can't open package file. (mysql-workbench-gpl-5.2.29-src.tar.gz)
ERROR: Package installation failed!
Installing package mysql-workbench-gpl-5.2.29-src.tar.gz.
spkg -u --reinstall --install-new mysql-workbench-gpl-5.2.29-src.tar.gz Failed

The directory of Install Directory
root@darkstar:/usr/src/slapt-src/development/mysql-workbench-gpl# ls
README mysql-workbench-gpl.SlackBuild
doinst.sh mysql-workbench-gpl.info
mysql-workbench-gpl-5.2.29-i486-2_SBo.txz mysqlwb_gtkmm224.patch
mysql-workbench-gpl-5.2.29-src/ package-mysql-workbench-gpl/
mysql-workbench-gpl-5.2.29-src.tar.gz slack-desc

Suggestions?

Thanks
User avatar
gapan
Salix Wizard
Posts: 6241
Joined: 6. Jun 2009, 17:40

Re: Sourcery mysql-workbench-gpl-5.2.29 fails

Post by gapan »

Code: Select all

spkg -i /usr/src/slapt-src/development/mysql-workbench-gpl/mysql-workbench-gpl-5.2.29-i486-2_SBo.txz
somehow slapt-src mistakes the source tarball for the actual package it seems.
Image
Image
User avatar
laprjns
Salix Warrior
Posts: 1105
Joined: 28. Aug 2009, 01:30
Location: Connecticut USA

Re: Sourcery mysql-workbench-gpl-5.2.29 fails

Post by laprjns »

gapan wrote:somehow slapt-src mistakes the source tarball for the actual package it seems.
I saw this happen on another package, but can't recall which one. I had to manually install the compiled package using spkg
“Don’t you see that the whole aim of Newspeak is to narrow the range of thought?"
User avatar
Akuna
Salix Wizard
Posts: 1038
Joined: 14. Jun 2009, 12:25

Re: Sourcery mysql-workbench-gpl-5.2.29 fails

Post by Akuna »

laprjns wrote:
gapan wrote:somehow slapt-src mistakes the source tarball for the actual package it seems.
I saw this happen on another package, but can't recall which one. I had to manually install the compiled package using spkg
me too
Image
What really matters is where you are going, not where you come from.
User avatar
idahoclint
Posts: 4
Joined: 22. Aug 2011, 20:16

Re: Sourcery phpMyAdmin fails

Post by idahoclint »

The following packages will be fetched:
phpmyadmin
Fetching README... 0% 0%100%100%100%Done
Fetching phpmyadmin.SlackBuild... 0% 0% 46%100%100%100%Done
Fetching phpmyadmin.info... 0% 0%100%100%100%Done
Fetching slack-desc... 0% 0%100%100%100%Done
The following packages will be installed:
phpmyadmin
Fetching README... 0% 0%100%100%100%Done
Fetching phpmyadmin.SlackBuild... 0% 0% 46%100%100%100%Done
Fetching phpmyadmin.info... 0% 0%100%100%100%Done
Fetching slack-desc... 0% 0%100%100%100%Done
tar: /usr/src/slapt-src/network/phpmyadmin/phpMyAdmin-3.4.3.2-all-languages.tar.?z*: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
fakeroot -- sh phpmyadmin.SlackBuild Failed

I looked at the phpmyadmin.Slackbuild file, and the correct tar xvf command is in the file. I don't know what Slackware specific things are required for phpMyAdmin to work, usually one just extracts the file, moves it to /var/www/htdocs/, copy and adjust the conf file from the sample, game over.
User avatar
gapan
Salix Wizard
Posts: 6241
Joined: 6. Jun 2009, 17:40

Re: Sourcery mysql-workbench-gpl-5.2.29 fails

Post by gapan »

I patched slapt-get to fix these problems (the actual problem was in slapt-get, not slapt-src) and rebuilt slapt-src so it should be working with the latest slapt-get/slapt-src package updates.
Image
Image
Post Reply