Slackware This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
09-28-2003, 03:47 AM
|
#1
|
Member
Registered: Feb 2003
Distribution: Slackware 9.1 (exclusively) ;)
Posts: 344
Rep:
|
Compiling a program from source.
Hello!
I am trying to compile 'GKrellM-2.1.19', and get error's in the process, the error's are:
Code:
[Mirrus][root][03:05:09][/miss/gkrellm-2.1.19][#] make
(cd po && make all)
make[1]: Entering directory `/miss/gkrellm-2.1.19/po'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/miss/gkrellm-2.1.19/po'
(cd src && make gkrellm)
make[1]: Entering directory `/miss/gkrellm-2.1.19/src'
cc -Wall -02 -I.. `pkg-config --cflags gtk+-2.0 gthread-2.0' -DENABLE_NLS _DLOCALEDIR=\"/usr/local/share/locale\" -c -o main.o main.c
/bin/sh: pkg-config: command not found
In file included from main.c:22:
gkrellm.h:30: gtk/gtk.h: No such file or directory
In file included form main.c:24:
gkrellm-sysdeps.h:64: parse error
make[1]: *** [main.0] Error1
make[1]: Leaving directory `/miss/gkrellm-2.1.19/src'
make: *** [all] Error 2
[Mirrus][root]03:06:12][/miss/gkrellm-2.1.19][#]
As you can see i ran it once, then again out of frustration. Any one have idea of what need to be accomplished to get this installed by what's above, i would be most appreaciative.
Tarts.
|
|
|
09-28-2003, 04:50 AM
|
#2
|
Member
Registered: Feb 2003
Distribution: Slackware 9.1 (exclusively) ;)
Posts: 344
Original Poster
Rep:
|
On a SWAG (scientific wild ass guess), i downloaded and installed a program called 'pkg-config'. Now all i need is 'gtk-2.0', i did a google Linux style and i found were reference's to it, but nowhere to download such thing's, anyone know where to get 'gtk-2.0'?
Thank you.
|
|
|
09-28-2003, 05:26 AM
|
#3
|
Member
Registered: Dec 2002
Location: California
Distribution: Slackware & LFS
Posts: 799
Rep:
|
Slack 9 has gtk 2.2.1 included. Maybe it's time to upgrade.
Enjoy!
--- Cerbere
|
|
|
09-28-2003, 06:45 AM
|
#4
|
Member
Registered: Feb 2003
Distribution: Slackware 9.1 (exclusively) ;)
Posts: 344
Original Poster
Rep:
|
Umm no that's not in the card's.
|
|
|
09-28-2003, 08:19 AM
|
#5
|
LQ Veteran
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
|
Have you tried adding a precompiled version of gkrellm? You can get them from LinuxPackages.net
You also might have to go with an older version of gkrellm.
|
|
|
09-28-2003, 08:22 AM
|
#6
|
Member
Registered: May 2003
Distribution: Ubuntu 6.10 SE, Mac OS 10.4.8
Posts: 370
Rep:
|
A precompiled version won't work if he doesn't have GTK+ 2
Just download and install it, you can get it at http://www.gtk.org
|
|
|
09-28-2003, 08:54 AM
|
#7
|
Member
Registered: Feb 2003
Distribution: Slackware 9.1 (exclusively) ;)
Posts: 344
Original Poster
Rep:
|
Quote:
Originally posted by Locura
A precompiled version won't work if he doesn't have GTK+ 2
Just download and install it, you can get it at http://www.gtk.org
|
I just tryed that, it then looked for 'gtk+-2.0.pc' so i added it to the search path, now it can't find something called 'pangoxft.pc' in an attempt to add that to the search path as we'll, i discovered it doesn't exist...
|
|
|
09-28-2003, 04:55 PM
|
#8
|
Member
Registered: Dec 2002
Location: California
Distribution: Slackware & LFS
Posts: 799
Rep:
|
I think that's in Slack 9, too ;-)
Enjoy!
--- Cerbere
|
|
|
09-28-2003, 05:22 PM
|
#9
|
Member
Registered: Feb 2003
Distribution: Slackware 9.1 (exclusively) ;)
Posts: 344
Original Poster
Rep:
|
Quote:
Originally posted by Cerbere
I think that's in Slack 9, too ;-)
Enjoy!
--- Cerbere
|
The reason i can't upgrade is because i'm dial-up, the reason i can't buy the disk's is because i don't have any fund's.
Everything is installed as per Hangdog's post. I took a crash course in making package's just to install them with 'installpkg', i'm proud of myself, but now it need's a library:
Code:
gkrellm: error while loading shared libraries: libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory
Let me recap, I get the package's from the site in post #5 'gkrellm 2.1.19', I make everything included a package with 'makepkg', I install with 'installpkg'...
|
|
|
09-28-2003, 07:24 PM
|
#10
|
LQ Veteran
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
|
Quote:
Let me recap, I get the package's from the site in post #5 'gkrellm 2.1.19', I make everything included a package with 'makepkg', I install with 'installpkg'...
|
You shouldn't have to do the makepkg step if you got it from linuxpacakges.net. Installpkg should be the only thing you need to do.
The fundamental problem is that Slack 8.1 doesn't come with GTK2, which gkrellm2 needs, so no matter how you install gkrellm2, unless you also install GTK2, it isn't going to work.
So your option are
1) Download and install GTK 2 or
2) download and install GKrellM 1.2 which should be compatible with Slack 8.1
|
|
|
09-28-2003, 08:27 PM
|
#11
|
Member
Registered: Jul 2003
Distribution: FreeBSD 8.2 RELEASE
Posts: 607
Rep:
|
Quote:
Originally posted by Tarts
The reason i can't upgrade is because i'm dial-up, the reason i can't buy the disk's is because i don't have any fund's.
|
There are tons of places you can buy burnt CDs for $5 or so, highly recommended.
|
|
|
09-29-2003, 07:40 AM
|
#12
|
Member
Registered: Feb 2003
Distribution: Slackware 9.1 (exclusively) ;)
Posts: 344
Original Poster
Rep:
|
Quote:
Originally posted by Hangdog42
You shouldn't have to do the makepkg step if you got it from linuxpacakges.net. Installpkg should be the only thing you need to do.
The fundamental problem is that Slack 8.1 doesn't come with GTK2, which gkrellm2 needs, so no matter how you install gkrellm2, unless you also install GTK2, it isn't going to work.
So your option are
1) Download and install GTK 2 or
2) download and install GKrellM 1.2 which should be compatible with Slack 8.1
|
That did it Hangdog, GKrellM 1.2 was perfect! My thank's go out to everyone who posted to to this thread:
Hangdog
Kovacs
Cerbere
Locura
I woke up at 4:00am this morning, and found had to reinstall Slack 8.1, I had lost 'find', program's that run from 'installpkg', i lost 'pkgtool' etc..
in my playing i had lost these, and slack allowed me to.
All is we'll not, GKrellM installed, and it's all due to the help i received here. Thank's!
|
|
|
All times are GMT -5. The time now is 09:59 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|