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? |
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. |
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 |
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 |
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 ;) ) |
All times are GMT -5. The time now is 02:06 PM. |