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-19-2003, 10:02 AM   #1
LinFreak!
Member
 
Registered: Jul 2003
Location: England
Distribution: slack9.1
Posts: 209

Rep: Reputation: 30
compiling gtk


hi all,
I am having problems installing gtk-gnutella from source, here are the messages from ./configure:

bash-2.05b$ ./configure
loading cache ./config.cache
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking whether to enable maintainer-specific portions of Makefiles... no
checking for strerror in -lcposix... (cached) no
checking for gcc... (cached) gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking how to run the C preprocessor... (cached) gcc -E
checking for gcc option to accept ANSI C... (cached) none needed
checking for ANSI C header files... (cached) yes
checking for bison... (cached) bison -y
checking for inline... (cached) inline
checking for working const... (cached) yes
checking host system type...
checking for ranlib... (cached) ranlib
checking for off_t... (cached) yes
checking for size_t... (cached) yes
checking for working alloca.h... (cached) yes
checking for alloca... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... (cached) yes
checking for working mmap... (cached) yes
checking whether we are using the GNU C Library 2.1 or newer... (cached) yes
checking for argz.h... (cached) yes
checking for limits.h... (cached) yes
checking for locale.h... (cached) yes
checking for nl_types.h... (cached) yes
checking for malloc.h... (cached) yes
checking for stddef.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/param.h... (cached) yes
checking for feof_unlocked... (cached) yes
checking for fgets_unlocked... (cached) yes
checking for getcwd... (cached) yes
checking for getegid... (cached) yes
checking for geteuid... (cached) yes
checking for getgid... (cached) yes
checking for getuid... (cached) yes
checking for mempcpy... (cached) yes
checking for munmap... (cached) yes
checking for putenv... (cached) yes
checking for setenv... (cached) yes
checking for setlocale... (cached) yes
checking for stpcpy... (cached) yes
checking for strchr... (cached) yes
checking for strcasecmp... (cached) yes
checking for strdup... (cached) yes
checking for strtoul... (cached) yes
checking for tsearch... (cached) yes
checking for __argz_count... (cached) yes
checking for __argz_stringify... (cached) yes
checking for __argz_next... (cached) yes
checking for iconv... (cached) yes
checking for iconv declaration... (cached)
extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
checking for nl_langinfo and CODESET... (cached) yes
checking for LC_MESSAGES... (cached) yes
checking whether NLS is requested... yes
checking whether included gettext is requested... no
checking for libintl.h... (cached) yes
checking for GNU gettext in libc... (cached) yes
checking for dcgettext... (cached) yes
checking for msgfmt... (cached) /usr/bin/msgfmt
checking for gmsgfmt... (cached) /usr/bin/msgfmt
checking for xgettext... (cached) /usr/bin/xgettext
checking for bison... (cached) bison
checking version of bison... 1.35, ok
checking for catalogs to be installed... es nl
checking for gtk-config... (cached) /usr/X11R6/bin/gtk-config
checking for GTK - version >= 1.2.0... ./configure: line 1: /usr/X11R6/bin/gtk-config: No such file or directory
./configure: line 1: /usr/X11R6/bin/gtk-config: No such file or directory
./configure: line 1: /usr/X11R6/bin/gtk-config: No such file or directory
./configure: line 1: /usr/X11R6/bin/gtk-config: No such file or directory
./configure: line 1: /usr/X11R6/bin/gtk-config: No such file or directory
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 was incorrectly installed
*** or that you have moved GTK since it was installed. In the latter case, you
*** may want to edit the gtk-config script: /usr/X11R6/bin/gtk-config
configure: error: Cannot find GTK: Is gtk-config in path?
bash-2.05b$

It appears gtk is not installed correctly, or is it that I should try to find a custom made tgz file? Any input would be greatly appreciated
 
Old 07-19-2003, 12:36 PM   #2
LinFreak!
Member
 
Registered: Jul 2003
Location: England
Distribution: slack9.1
Posts: 209

Original Poster
Rep: Reputation: 30
Sorry, ignore this thread, I just read up on it.
 
Old 07-19-2003, 01:31 PM   #3
fig
LQ Newbie
 
Registered: Apr 2003
Location: Dublin, Ireland
Distribution: Redhat 9.0
Posts: 19

Rep: Reputation: 0
so what was your solution?

I'm having a similar problem compiling gtkhtml libraries, and its coming back with similar not finding gtk-config. I was hoping your thread might give me some clues.

Thanks,
 
Old 07-19-2003, 01:58 PM   #4
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
he installed the gtk-devel rpm i expect
 
Old 07-19-2003, 04:04 PM   #5
LinFreak!
Member
 
Registered: Jul 2003
Location: England
Distribution: slack9.1
Posts: 209

Original Poster
Rep: Reputation: 30
I haven't installed the gtk-devel yet as i found a .tgz file for gtk-gnutella 0.92 at sourceforge. I did however find out that a .tar.gz is the same as a .tgz file. As soon as I need the gtk sources I will be installing them though I did have an suspicions that that was the reason for not being able to compile properly, but I would like to stick with slacks pkgtool as much as possible.
Just out of interest, is it more reliable to use pkgtool or to configure - make - make install OR is there no difference which method is used?
 
Old 07-19-2003, 07:20 PM   #6
Locura
Member
 
Registered: May 2003
Distribution: Ubuntu 6.10 SE, Mac OS 10.4.8
Posts: 370

Rep: Reputation: 30
Using pkgtool installs precompiled software for Slackware. It will also place a record of the package in pkgtool for easy removal later.

With the configure, make, make install method, you are compiling the software yourself. Most software will come with an option in the makefile for you to remove the software, by typing make uninstall.

In the end it all depends on how good the package was put together, or how well the makefile created by the configure script is written. Personally, I prefer having source.
 
Old 07-19-2003, 07:48 PM   #7
LinFreak!
Member
 
Registered: Jul 2003
Location: England
Distribution: slack9.1
Posts: 209

Original Poster
Rep: Reputation: 30
Thanks Locura, you've confirmed a few things for me there
 
  


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 gtk? @ngelot Linux - Software 1 11-14-2005 10:20 AM
after compiling GTK deepsix Linux - Software 2 04-02-2005 07:12 PM
compiling gaim/ gtk error (two versions of gtk) webazoid Linux - Software 0 07-06-2004 06:05 PM
Compiling GTK+ 2.2.1 Ju Deddo Koinu Linux - Software 4 04-29-2003 12:41 AM
Compiling GTK+ 2.0.9 Dexter750 Linux - Software 10 04-28-2003 08:28 PM

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

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