LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-04-2008, 09:40 AM   #1
tramni1980
Member
 
Registered: Jul 2006
Location: Köln, Germany
Distribution: Slackware64-14.2 & -current, DragonFly BSD, OpenBSD
Posts: 819

Rep: Reputation: 55
stardict does not compile on 12.1?


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
 
Old 05-04-2008, 10:46 AM   #2
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 555Reputation: 555Reputation: 555Reputation: 555Reputation: 555Reputation: 555
http://www.slackware.com/~alien/slac...ict.SlackBuild

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.

Sasha
 
Old 05-04-2008, 11:20 AM   #3
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
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.
 
Old 05-04-2008, 12:12 PM   #4
tramni1980
Member
 
Registered: Jul 2006
Location: Köln, Germany
Distribution: Slackware64-14.2 & -current, DragonFly BSD, OpenBSD
Posts: 819

Original Poster
Rep: Reputation: 55
Quote:
Originally Posted by Bruce Hill View Post
I built Stardict-3.0.1 on

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?

Thank You very much for Your responsiveness.

Regards,
Martin
 
Old 05-04-2008, 01:05 PM   #5
ErV
Senior Member
 
Registered: Mar 2007
Location: Russia
Distribution: Slackware 12.2
Posts: 1,202
Blog Entries: 3

Rep: Reputation: 62
Quote:
Originally Posted by tramni1980 View Post
Will an older version of stardict compile?
stardict 2.x should compile.

Quote:
Originally Posted by tramni1980 View Post
Or probably alternative software.
QStardict
 
Old 05-04-2008, 01:50 PM   #6
tramni1980
Member
 
Registered: Jul 2006
Location: Köln, Germany
Distribution: Slackware64-14.2 & -current, DragonFly BSD, OpenBSD
Posts: 819

Original Poster
Rep: Reputation: 55
Quote:
Originally Posted by ErV View Post
stardict 2.x should compile.


QStardict
Does QStardict compile on stock 12.1?
 
Old 05-05-2008, 03:09 AM   #7
ErV
Senior Member
 
Registered: Mar 2007
Location: Russia
Distribution: Slackware 12.2
Posts: 1,202
Blog Entries: 3

Rep: Reputation: 62
Quote:
Originally Posted by tramni1980 View Post
Does QStardict compile on stock 12.1?
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.
 
Old 05-05-2008, 05:45 AM   #8
tramni1980
Member
 
Registered: Jul 2006
Location: Köln, Germany
Distribution: Slackware64-14.2 & -current, DragonFly BSD, OpenBSD
Posts: 819

Original Poster
Rep: Reputation: 55
Quote:
Originally Posted by ErV View Post
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.
 
Old 05-05-2008, 06:25 AM   #9
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
tramni1980,

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 ...
 
Old 05-05-2008, 06:57 AM   #10
tramni1980
Member
 
Registered: Jul 2006
Location: Köln, Germany
Distribution: Slackware64-14.2 & -current, DragonFly BSD, OpenBSD
Posts: 819

Original Poster
Rep: Reputation: 55
Quote:
Originally Posted by Bruce Hill View Post
tramni1980,

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.

Regards, Martin
 
Old 05-05-2008, 07:01 AM   #11
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
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.
 
Old 05-07-2008, 05:44 AM   #12
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
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.
 
Old 05-07-2008, 01:54 PM   #13
tramni1980
Member
 
Registered: Jul 2006
Location: Köln, Germany
Distribution: Slackware64-14.2 & -current, DragonFly BSD, OpenBSD
Posts: 819

Original Poster
Rep: Reputation: 55
Mr Hill,

Thank You really very much for Your responsiveness. I will happily install stardict as soon as I switch to Slackware 12.1. Thank You very much indeed.
 
Old 05-07-2008, 05:26 PM   #14
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
Just checked, and Alien Bob has 12.1 pkgs for enchant and stardict in his repository.
 
Old 05-17-2008, 04:59 PM   #15
Mig21
Member
 
Registered: Jan 2005
Posts: 263

Rep: Reputation: 45
Alien Bob's packages work for me. Thanks for the link.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] How to compile StarDict?? jadukor SUSE / openSUSE 4 03-21-2008 03:12 AM
StarDict dictionaries zashone Linux - Software 2 01-28-2008 09:55 PM
Problem with stardict luckyvietman Linux - Software 1 12-16-2007 05:04 PM
phonetic for Stardict Pedy Linux - Desktop 0 06-29-2007 02:12 AM
How to get stardict to see dictionaries pilotgi SUSE / openSUSE 3 04-13-2007 06:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:00 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration