SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hello!
As stardict does not compile on 12.1 (quoting the changelog of slackbuilds.org):
2. Things removed because they won't build on Slackware 12.1
....
system/stardict: Removed - this won't compile on 12.1.
my question is if whether there is a way round this problem? Will an older version of stardict compile? Or probably alternative software. I like very much the dictionaries and I fell reluctant to bid them farewell ...
Any suggestions will be appreciated.
Regards,
Martin
By reading the Slackbuild script at the link above, the main (only?) reason that it won't build on Slackware 12 (and maybe lesser versions) is the lack of GTK+2 > 2.12.
I suspect that if you were to install GTK+2 of a sufficient version (as well as any dependencies THAT may require) then you will be able to build & install stardict.
The place to start would be to get the stardict source package and try to configure & make it. It will quit when it sees missing stuff that it needs, for example, GTK+2. Get & install what it wants, and try again.
NOTE - I had little or no issues installing GTK+2 on Slackwasre 11, so based on that, I **suspect** it will install equally easily on 12.0 or 12.1, but don't quote me.
Also, see that your Slackware does not already include some version of GTK+2 (a lesser version than stardict demands) and if so, you will be looking at upgrading that version, rather than installing it afresh.
I built Stardict-3.0.1 on Slackware-current before 12.1 was released.
Today I installed that package on Slackware-12.1 and it works fine.
I modified Alien Bob's script for Stardict-3.0, so that should build
fine for you.
Slackware-12.1 has gtk+2-2.12.9 so there is no reason that Stardict-3.0.1
won't build on it. Tomorrow I should check it there is a new version of
Stardict available.
I modified Alien Bob's script for Stardict-3.0, so that should build
fine for you.
Could You please post the script here or tell me just what the modifications are? Do these modifications lead to crippled functionality and if yes, what?
It does compile on 12.0, if you have Qt 4.3.0 installed, so it should compile on 12.1. Qt 4.3.x isn't included in distribution, as I know, so it must be downloaded from Trolltech and compiled into package first.
It does compile on 12.0, if you have Qt 4.3.0 installed, so it should compile on 12.1. Qt 4.3.x isn't included in distribution, as I know, so it must be downloaded from Trolltech and compiled into package first.
I will use the qt-4.3.4 package from slackbuilds.org and try with QStardict. Thank you all for your suggestions.
Sorry to have not responded. I want to build Stardict-3.0.1 on
a box with a fresh install of Slackware-12.1 before I give you
the script. If you trust it and want to install the package I
previously built on Slackware-12.0, that I have installed on a
Slackware-12.1 box and is working, I will give you a link to
that package now. Hopefully tonight I can build it on a fresh
install of Slackware-12.1 ...
Sorry to have not responded. I want to build Stardict-3.0.1 on
a box with a fresh install of Slackware-12.1 before I give you
the script. If you trust it and want to install the package I
previously built on Slackware-12.0, that I have installed on a
Slackware-12.1 box and is working, I will give you a link to
that package now. Hopefully tonight I can build it on a fresh
install of Slackware-12.1 ...
I will be thankful to you if you provide the script that builds on a stock 21.1 I am not in a hurry because I will have time to install 12.1 no sooner than a cople of weeks maybe. I will also give QStardict a try as it seems nice as well.
My reading skills are poor ... apparently. Did not know you have not
yet installed 12.1. Hopefully tonight or tomorrow I can get another
box upgraded to 12.1 (always backup and do a fresh install) and then
build it there. When I do, I'll post the /build and /pkg directories
and you can use whichever you desire.
Stardict-3.0.1 (latest version) does indeed build fine on Slack-12.1.
I have no idea what the problem is at Slackbuilds, but they're wrong.
Maybe the guy who wrote the script on that website can't build it.
I have modified Alien Bob's scripts, and don't really want to post
them on the internet. Because (a) they are already on his server,
and (b) he will be rebuilding them himself. However, I will state
what I've done.
First, Stardict requires Enchant; get version 1.4.2 here.
Then get Alien Bob's Enchant build directory from Slackware and put
your Enchant 1.4.2 source in there. Change the version to 1.4.2 in
the enchant.SlackBuild and run "sh enchant.SlackBuild --cleanup" as
root to build a Slackware package. Then install it with "installpkg".
Then get Alien Bob's Stardict build directory from Slackware and
you'll find the Stardict-3.0.1 source there. You can remove the two
patches for stardict_desktop and stardict_gtklabel as they are not
needed anymore. You'll need to change the version to 3.0.1 and then
run "sh stardict.SlackBuild --cleanup" as root to build a Slackware
package. Then install it with "installpkg".
Stardict-3.0.1 works fine here. You can contact SlackBuilds.org
and ask why they report it doesn't build on Slackware-12.1.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.