LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-01-2002, 08:04 AM   #1
khermans
Member
 
Registered: Sep 2001
Distribution: Ubuntu, Debian, Gentoo
Posts: 162

Rep: Reputation: 30
Problems installing glib and gtk+ 1.2.10...


I am having some problems installing glib and gtk 1.2.10. After what seemed to be a successful install of glib 1.2.10 on my newly installed SuSE 8.0 machine, I tried ./configure on GTK 1.2.10, but it gives me an error message about needing X libraries. What libraries does this refer to? Is there a file to download full of many X functions? If so what is the name? Check out my console output...

netsniper@sin:~/Documents/gtk+-1.2.10> ./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) no
checking for working aclocal... missing
checking for working autoconf... missing
checking for working automake... missing
checking for working autoheader... missing
checking for working makeinfo... missing
checking host system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for ranlib... (cached) ranlib
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 for ld used by GCC... (cached) /usr/i486-suse-linux/bin/ld
checking if the linker (/usr/i486-suse-linux/bin/ld) is GNU ld... (cached) yes
checking for BSD-compatible nm... (cached) /usr/bin/nm -B
checking whether ln -s works... (cached) yes
loading cache ./config.cache within ltconfig
checking for object suffix... o
checking for executable suffix... (cached) no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions ... yes
checking if gcc static flag -static works... -static
checking if the linker (/usr/i486-suse-linux/bin/ld) is GNU ld... yes
checking whether the linker (/usr/i486-suse-linux/bin/ld) supports shared libraries... yes
checking command to parse /usr/bin/nm -B output... ok
checking how to hardcode library paths into programs... immediate
checking for /usr/i486-suse-linux/bin/ld option to reload object files... -r
checking dynamic linker characteristics... Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for objdir... .libs
creating libtool
loading cache ./config.cache
checking whether to enable maintainer-specific portions of Makefiles... no
checking host system type... i686-pc-linux-gnu
checking whether build environment is sane... yes
checking for gcc... (cached) gcc
checking whether the C compiler (gcc -g -O2 ) works... yes
checking whether the C compiler (gcc -g -O2 ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for POSIXized ISC... no
checking for gcc option to accept ANSI C... none needed
checking for a BSD compatible install... /usr/bin/install -c
checking whether make sets ${MAKE}... (cached) no
checking for gawk... gawk
checking for perl5... no
checking for perl... perl
checking for indent... no
checking whether make is GNU Make... yes
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for working const... yes
checking for inline... inline
checking for off_t... yes
checking for size_t... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for unistd.h... yes
checking for getpagesize... yes
checking for working mmap... yes
checking for argz.h... yes
checking for limits.h... yes
checking for locale.h... yes
checking for nl_types.h... yes
checking for malloc.h... yes
checking for string.h... yes
checking for unistd.h... (cached) yes
checking for sys/param.h... yes
checking for getcwd... yes
checking for munmap... yes
checking for putenv... yes
checking for setenv... yes
checking for setlocale... yes
checking for strchr... yes
checking for strcasecmp... yes
checking for strdup... yes
checking for __argz_count... yes
checking for __argz_stringify... yes
checking for __argz_next... yes
checking for stpcpy... yes
checking for LC_MESSAGES... yes
checking whether NLS is requested... yes
checking for libintl.h... yes
checking for dgettext in libc... yes
checking for msgfmt... no
checking whether catgets can be used... no
found xgettext program is not GNU xgettext; ignore it
checking for extra flags to get ANSI library prototypes... none needed
checking for extra flags for POSIX compliance... none needed
checking for glib-config... /usr/local/bin/glib-config
checking for GLIB - version >= 1.2.8... yes
checking for X... no
configure: error:
*** X libraries or include files not found. Check 'config.log' for
*** more details.
netsniper@sin:~/Documents/gtk+-1.2.10>

I could post the config.log file, but I figured that wouldn't be necessary unless you needed to see it. Anyway, you guys are awesome and this forum is great. I have been on/off trying to switch over to Linux permanently but something is always holding me back. Maybe this time I will stay.

Netsniper

PS - Could someone please explain to me the purpose of a SOURCE RPM? Is it not a precompiled binary? And if so, shouldn't any SRC.RPM work on any RPM system since it is source code?
 
Old 10-01-2002, 08:48 AM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
It looks you don't have X headers installed. It's Xfree86-devel or a similar package (I'm not sure its name in SuSE). When it's installed run configure again.
NOTE: It may be thet you'll need more header packages (*devel*) to compile everything you wish.
SRC.RPM is a source code formed that when you compile it you get an RPM package you can install as usual.
 
Old 10-01-2002, 07:49 PM   #3
khermans
Member
 
Registered: Sep 2001
Distribution: Ubuntu, Debian, Gentoo
Posts: 162

Original Poster
Rep: Reputation: 30
I checked out XFree86.org and downloaded 4.2.0 source, but the INSTALL instructions seem rather difficult. Not just a ./configure, make, make install. I wanted to get the RPM built for RedHat and use them on my SuSE system (which should work, correct me if I'm wrong), but rpmfind.net is very SLOW... Any other ways to get prebuilt binaries for SuSE 8.0 or compatible with SuSE 8.0?

Netsniper
 
Old 10-02-2002, 05:01 AM   #4
GT I.N.C
Member
 
Registered: May 2002
Location: Australia, Sydney, St.Clair
Distribution: Rh 7.3
Posts: 836

Rep: Reputation: 30
The development packages for Xfree86 should be on your SuSe cd's, i have never used SuSe but is tehre a way to upgrade/install new packages, because they SHOULD be included with your distrobution..

correct me if i am wrong...

Garry
 
Old 10-02-2002, 10:47 AM   #5
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
XFree compilation is rather easy. If I remember correctly it's just
make World
(but I may be wrong, my last X compilation was 3 months ago )
 
  


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
Installing GTK and Glib? henry_huckem Fedora 12 01-23-2005 02:04 PM
Help installing Glib and Gtk RPM's henry_huckem Linux - Software 3 01-23-2005 02:22 AM
Installing and linking things like GTK or GLIB Micro420 Linux - Software 5 12-21-2004 05:42 PM
Installing gtk,glib, pango af_dave Linux - Software 5 07-28-2004 04:48 AM
Installing GTK+-2.0.6 & GLIB-2.0.6 Kryptow Linux - Newbie 5 09-06-2002 09:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:18 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration