LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 07-21-2003, 09:21 AM   #1
tjm
Member
 
Registered: Oct 2002
Posts: 55

Rep: Reputation: 15
Multiple ./configure problems


Hi all,

Still struggling in my quest to be a "happy slacker"

Two questions:

I am trying to compile gaim 0.66, under my Slackware 9 system.
I run ./configure, and get the following error:

checking for GTK+ - version >= 2.0.0... no
*** Could not run GTK+ test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means GTK+ is incorrectly installed.
configure: error:
*** GTK+ 2.0 is required to build Gaim; please make sure you have the GTK+
*** development headers installed. The latest version of GTK+ is
*** always available at http://www.gtk.org/.

However, pkg-config --list-all | grep gtk gives amongest others the following:
gtk+-2.0 GTK+ - GIMP Tool Kit (x11 target)
gtk+-x11-2.0 GTK+ - GIMP Tool Kit (x11 target)

So, why can ./configure not see my gtk+-2.0 package? I have already tried doing an aclocal, autoconf, but to no avail.

My second problem

When trying to compile a version of Anjuta (from CVS) that I had working on my RH9 system, I get an error :
Missing intltoolize... where on earth do I get that package? I have tried CVS from gnome.org, and getting intltool, but that won't compile either *curses*...

Any help is much appreciated...

Cheers
 
Old 07-21-2003, 09:28 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
install gtk+-devel-2.0 or whatever your version is going to be called. it'll compile fine then.
 
Old 07-21-2003, 09:43 AM   #3
tjm
Member
 
Registered: Oct 2002
Posts: 55

Original Poster
Rep: Reputation: 15
Thank you...

Next silly question.

Where do I find gtk-devel packages? In fact, where do I find any *-devel packages for Slackware 9.

I can't find them on the CD, or the FTP, nor through linuxpackages.net, nor through swaret...

 
Old 07-21-2003, 03:30 PM   #4
Tuttle
Senior Member
 
Registered: Jul 2003
Location: Wellington, NZ
Distribution: mainly slackware
Posts: 1,291

Rep: Reputation: 52
Try installing these first:

ftp://ftp.slackware.com/pub/slackwar...0-noarch-5.tgz

ftp://ftp.slackware.com/pub/slackwar....20-i386-5.tgz

they cured the same problem for me when ./configuring gtk-gnutella.
I still haven't needed the gtk devel package.

edit: the above packages are for slack 9.0!!!

Last edited by Tuttle; 07-21-2003 at 03:32 PM.
 
Old 07-21-2003, 03:41 PM   #5
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
dammit why do people keep having to use slackware....no idea what the slack versino would be...

you really shouldn't need the kernel packages at all though.
 
Old 07-21-2003, 04:07 PM   #6
Tuttle
Senior Member
 
Registered: Jul 2003
Location: Wellington, NZ
Distribution: mainly slackware
Posts: 1,291

Rep: Reputation: 52
Sorry i diddn't know that. I got the sources 'cos i also wanted to re-compile my kernel. Works for me! *flaps arms helplessly*
 
Old 07-21-2003, 04:45 PM   #7
tjm
Member
 
Registered: Oct 2002
Posts: 55

Original Poster
Rep: Reputation: 15
Tuttle :

Unless I am mistaken, that does not really solve my problem...

I am running a custom 2.4.21 kernel on Slack9. I already have the kernel-headers and source packages installed (thanks to swaret).

I am fairly certain I have the gtk-devel package installed, due to me being fairly certain it comes with Slack9, and that I have rpm2tgz'd a gtk-devel package from rpmseek.com (for ximian, version 2.2.2).

So, I guess my question is really a two-parter :

First, why on earth isn't gaim picking up the fact that I do have gtk-devel installed... ?

And second, if I don't have that package (or any other) installed, where can I find them. It sems to me that Slackware is devoid of the kind of ressources as RH or Mandrake... even Suse...

Utilities like swaret and slackpkg which are *supposed* to be the apt-get of Slackware do not find *anything* useful... all they ever do is look through the slackware-current directory on a slackware mirror. If I want something that is not currently available off of ftp.slackware.com, how am I supposed to find it?

Cheers,

-tjm (trying to be a happy slacker)
 
Old 07-21-2003, 06:34 PM   #8
lyle_s
Member
 
Registered: Jul 2003
Distribution: Slackware
Posts: 392

Rep: Reputation: 55
I empathize with you; I once spent a long time trying to compile ddd and dia and finally figured out I had to supply some arguments to ./configure. Now I'm kicking myself that I didn't keep them around somewhere; I think they may have been related to your problem.

I downloaded gaim (although I don't do any chatting) and it ./configure'd fine on Slackware 9.0. The output of ls /var/log/packages/*gtk* on my machine is:

/var/log/packages/gtk+-1.2.10-i386-3
/var/log/packages/gtk+2-2.2.1-i386-1

I don't think there any gtk-devel packages in Slackware (or any *devel* packages at all--I could be wrong). I looked inside gtk+2-2.2.1-i386-1.tgz and the headers are in there, so there's no need for a separate development package.

I don't think it's a good idea to install packages from other distros. rpm2tgz I guess has its uses but must be used with extreme care only as a last resort. Other distros keep things in a different places.

Try following the advice that ./configure is giving you: look in config.log to find out what's happening.

You may wind up export'ing CPPFLAGS and LDFLAGS before your ./configure && make. See the very bottom of ./configure --help for more info.

Lyle
 
  


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
How to use multiple paths in configure env variables radam Linux - Software 5 04-07-2016 12:22 PM
How do I configure multiple wireless cards? mlsbraves Slackware 16 01-18-2005 08:27 AM
How to configure multiple websites on one PC? <Ol>Origy Linux - Networking 8 08-16-2004 07:16 AM
Multiple ethX how to configure? ..:eMa:.. Debian 1 04-07-2004 11:25 AM
How to configure Linux to support multiple LUNs? troyzeng Linux - Hardware 1 09-03-2003 11:58 PM

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

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