LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 09-28-2003, 03:47 AM   #1
Tarts
Member
 
Registered: Feb 2003
Distribution: Slackware 9.1 (exclusively) ;)
Posts: 344

Rep: Reputation: 30
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.
 
Old 09-28-2003, 04:50 AM   #2
Tarts
Member
 
Registered: Feb 2003
Distribution: Slackware 9.1 (exclusively) ;)
Posts: 344

Original Poster
Rep: Reputation: 30
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.
 
Old 09-28-2003, 05:26 AM   #3
Cerbere
Member
 
Registered: Dec 2002
Location: California
Distribution: Slackware & LFS
Posts: 799

Rep: Reputation: 33
Slack 9 has gtk 2.2.1 included. Maybe it's time to upgrade.

Enjoy!
--- Cerbere
 
Old 09-28-2003, 06:45 AM   #4
Tarts
Member
 
Registered: Feb 2003
Distribution: Slackware 9.1 (exclusively) ;)
Posts: 344

Original Poster
Rep: Reputation: 30
Umm no that's not in the card's.
 
Old 09-28-2003, 08:19 AM   #5
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
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.
 
Old 09-28-2003, 08:22 AM   #6
Locura
Member
 
Registered: May 2003
Distribution: Ubuntu 6.10 SE, Mac OS 10.4.8
Posts: 370

Rep: Reputation: 30
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
 
Old 09-28-2003, 08:54 AM   #7
Tarts
Member
 
Registered: Feb 2003
Distribution: Slackware 9.1 (exclusively) ;)
Posts: 344

Original Poster
Rep: Reputation: 30
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...
 
Old 09-28-2003, 04:55 PM   #8
Cerbere
Member
 
Registered: Dec 2002
Location: California
Distribution: Slackware & LFS
Posts: 799

Rep: Reputation: 33
I think that's in Slack 9, too ;-)

Enjoy!
--- Cerbere
 
Old 09-28-2003, 05:22 PM   #9
Tarts
Member
 
Registered: Feb 2003
Distribution: Slackware 9.1 (exclusively) ;)
Posts: 344

Original Poster
Rep: Reputation: 30
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'...
 
Old 09-28-2003, 07:24 PM   #10
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
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
 
Old 09-28-2003, 08:27 PM   #11
Kovacs
Member
 
Registered: Jul 2003
Distribution: FreeBSD 8.2 RELEASE
Posts: 607

Rep: Reputation: 32
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.
 
Old 09-29-2003, 07:40 AM   #12
Tarts
Member
 
Registered: Feb 2003
Distribution: Slackware 9.1 (exclusively) ;)
Posts: 344

Original Poster
Rep: Reputation: 30
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!
 
  


Reply



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
compiling apt from source - where's the source? stynhx9000 Ubuntu 2 12-01-2005 07:32 AM
Compiling from source phil0024 Linux - Newbie 5 02-10-2005 08:27 AM
Compiling Source ripmaster Linux - Newbie 5 08-19-2004 01:02 AM
compiling software from source...how do i delete the folder w/ source? webazoid Linux - Software 2 07-01-2004 09:09 PM
When compiling from source... subaruwrx Linux - Newbie 11 06-23-2004 09:21 AM

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

All times are GMT -5. The time now is 04:21 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