Strange error running zinf under linux
Pim Schellart <[email protected]> 12 Apr 2003 15:01:23 +0200
| Newsgroups | gmane.comp.audio.zinf.user |
|---|---|
| Message-ID | <1050152484.15567.5.camel@linux> |
Hi,
Once again thanks for all your help so far.
I made some minor progess in installing gtk to use zinf (I installed
glib version 1.2.10 and added /usr/local/bin to my PATH and it didn't
error me on glib anymore) But now it gives me an error about not having
X libraries so here is the output of ./configure and config.log from the
gtk installation
OUTPUT CONFIGURE
_______________________________________________________________________________
loading cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... missing
checking for working automake... found
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... ranlib
checking for gcc... 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... yes
checking whether gcc accepts -g... yes
checking for ld used by GCC... /usr/i486-suse-linux/bin/ld
checking if the linker (/usr/i486-suse-linux/bin/ld) is GNU ld... yes
checking for BSD-compatible nm... /usr/bin/nm -B
checking command to parse /usr/bin/nm -B output... yes
checking for _ prefix in compiled symbols... no
checking whether ln -s works... yes
checking for object suffix... o
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... yes
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
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) yes
checking for mawk... no
checking for gawk... gawk
checking for perl5... no
checking for perl... perl
checking for indent... no
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 gettext 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 gettext... yes
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.0... yes
checking for X... no
______________________________________________________________________________
OUTPUT CONFIG.LOG
______________________________________________________________________________
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
configure:655: checking for a BSD compatible install
configure:708: checking whether build environment is sane
configure:765: checking whether make sets ${MAKE}
configure:804: checking for working aclocal
configure:817: checking for working autoconf
configure:830: checking for working automake
configure:843: checking for working autoheader
configure:856: checking for working makeinfo
configure:928: checking host system type
configure:949: checking build system type
configure:969: checking for ranlib
configure:999: checking for gcc
configure:1112: checking whether the C compiler (gcc ) works
configure:1128: gcc -o conftest conftest.c 1>&5
configure:1154: checking whether the C compiler (gcc ) is a
cross-compiler
configure:1159: checking whether we are using GNU C
configure:1168: gcc -E conftest.c
configure:1187: checking whether gcc accepts -g
configure:1230: checking for ld used by GCC
configure:1323: checking if the linker (/usr/i486-suse-linux/bin/ld) is
GNU ld
GNU ld version 2.11.92.0.10 20011021 (SuSE)
configure:1339: checking for BSD-compatible nm
configure:1375: checking command to parse /usr/bin/nm -B output
configure:1438: gcc -c -g -O2 conftest.c 1>&5
configure:1441: /usr/bin/nm -B conftest.o | sed -n -e 's/^.*
[ABCDGISTUW] \([_A-Za-z][_A-Za-z0-9]*\)$/\1 \1/p' > conftest.nm
configure:1499: gcc -o conftest -g -O2 conftest.c conftestm.o 1>&5
configure:1535: checking for _ prefix in compiled symbols
configure:1544: gcc -c -g -O2 conftest.c 1>&5
configure:1547: /usr/bin/nm -B conftest.o | sed -n -e 's/^.*
[ABCDGISTUW] \([_A-Za-z][_A-Za-z0-9]*\)$/\1 \1/p' > conftest.nm
configure:1578: checking whether ln -s works
ltconfig:552: checking for object suffix
ltconfig:553: gcc -c -g -O2 conftest.c 1>&5
ltconfig:674: checking if gcc PIC flag -fPIC works
ltconfig:675: gcc -c -g -O2 -fPIC -DPIC conftest.c 1>&5
ltconfig:709: checking if gcc supports -c -o file.o
ltconfig:710: gcc -c -g -O2 -c -o conftest2.o conftest.c 1>&5
ltconfig:737: checking if gcc supports -c -o file.lo
ltconfig:738: gcc -c -g -O2 -c -o conftest.lo conftest.c 1>&5
ltconfig:789: checking if gcc supports -fno-rtti -fno-exceptions
ltconfig:790: gcc -c -g -O2 -fno-rtti -fno-exceptions -c conftest.c
conftest.c 1>&5
ltconfig:833: checking if gcc static flag -static works
ltconfig:834: gcc -o conftest -g -O2 -static conftest.c 1>&5
GNU ld version 2.11.92.0.10 20011021 (SuSE)
ltconfig:1425: checking if global_symbol_pipe works
ltconfig:1426: gcc -c -g -O2 conftest.c 1>&5
ltconfig:1429: eval "/usr/bin/nm -B conftest.o | sed -n -e 's/^.*
[ABCDGISTUW] \([_A-Za-z][_A-Za-z0-9]*\)$/\1 \1/p' > conftest.nm"
ltconfig:1487: gcc -o conftest -g -O2 -fno-builtin -fno-rtti
-fno-exceptions conftest.c conftestm.o 1>&5
configure:1843: checking whether to enable maintainer-specific portions
of Makefiles
configure:1873: checking host system type
configure:1973: checking whether build environment is sane
configure:2015: checking for gcc
configure:2128: checking whether the C compiler (gcc -g -O2 ) works
configure:2144: gcc -o conftest -g -O2 conftest.c 1>&5
configure:2170: checking whether the C compiler (gcc -g -O2 ) is a
cross-compiler
configure:2175: checking whether we are using GNU C
configure:2203: checking whether gcc accepts -g
configure:2235: checking for POSIXized ISC
configure:2259: checking for gcc option to accept ANSI C
configure:2312: gcc -c -g -O2 conftest.c 1>&5
configure:2347: checking for a BSD compatible install
configure:2400: checking whether make sets ${MAKE}
configure:2454: checking for mawk
configure:2454: checking for gawk
configure:2488: checking for perl5
configure:2488: checking for perl
configure:2522: checking for indent
configure:2560: checking how to run the C preprocessor
configure:2581: gcc -E conftest.c >/dev/null 2>conftest.out
configure:2640: checking for ANSI C header files
configure:2653: gcc -E conftest.c >/dev/null 2>conftest.out
configure:2720: gcc -o conftest -g -O2 -Wall conftest.c 1>&5
configure:2744: checking for working const
configure:2798: gcc -c -g -O2 -Wall conftest.c 1>&5
configure: In function `main':
configure:2772: warning: unused variable `s'
configure:2792: warning: unused variable `foo'
configure:2760: warning: unused variable `zero'
configure:2754: warning: unused variable `x'
configure:2771: warning: `t' might be used uninitialized in this
function
configure:2789: warning: `b' might be used uninitialized in this
function
configure:2819: checking for inline
configure:2833: gcc -c -g -O2 -Wall conftest.c 1>&5
configure: In function `main':
configure:2829: warning: control reaches end of non-void function
configure: At top level:
configure:2829: warning: return-type defaults to `int'
configure:2859: checking for off_t
configure:2892: checking for size_t
configure:2927: checking for working alloca.h
configure:2939: gcc -o conftest -g -O2 -Wall conftest.c 1>&5
configure: In function `main':
configure:2935: warning: unused variable `p'
configure:2960: checking for alloca
configure:2993: gcc -o conftest -g -O2 -Wall conftest.c 1>&5
configure: In function `main':
configure:2989: warning: unused variable `p'
configure:3162: checking for unistd.h
configure:3172: gcc -E conftest.c >/dev/null 2>conftest.out
configure:3201: checking for getpagesize
configure:3229: gcc -o conftest -g -O2 -Wall conftest.c 1>&5
configure:3254: checking for working mmap
configure:3402: gcc -o conftest -g -O2 -Wall conftest.c 1>&5
configure: In function `main':
configure:3343: warning: implicit declaration of function `getpagesize'
configure:3352: warning: implicit declaration of function `rand'
configure:3353: warning: implicit declaration of function `umask'
configure:3357: warning: implicit declaration of function `write'
configure:3359: warning: implicit declaration of function `close'
configure:3390: warning: implicit declaration of function `read'
configure:3396: warning: implicit declaration of function `unlink'
configure:3430: checking for argz.h
configure:3440: gcc -E conftest.c >/dev/null 2>conftest.out
configure:3430: checking for limits.h
configure:3440: gcc -E conftest.c >/dev/null 2>conftest.out
configure:3430: checking for locale.h
configure:3440: gcc -E conftest.c >/dev/null 2>conftest.out
configure:3430: checking for nl_types.h
configure:3440: gcc -E conftest.c >/dev/null 2>conftest.out
configure:3430: checking for malloc.h
configure:3440: gcc -E conftest.c >/dev/null 2>conftest.out
configure:3430: checking for string.h
configure:3440: gcc -E conftest.c >/dev/null 2>conftest.out
configure:3430: checking for unistd.h
configure:3430: checking for sys/param.h
configure:3440: gcc -E conftest.c >/dev/null 2>conftest.out
configure:3470: checking for getcwd
configure:3498: gcc -o conftest -g -O2 -Wall conftest.c 1>&5
configure:3470: checking for munmap
configure:3498: gcc -o conftest -g -O2 -Wall conftest.c 1>&5
configure:3470: checking for putenv
configure:3498: gcc -o conftest -g -O2 -Wall conftest.c 1>&5
configure:3470: checking for setenv
configure:3498: gcc -o conftest -g -O2 -Wall conftest.c 1>&5
configure:3470: checking for setlocale
configure:3498: gcc -o conftest -g -O2 -Wall conftest.c 1>&5
configure:3470: checking for strchr
configure:3498: gcc -o conftest -g -O2 -Wall conftest.c 1>&5
configure:3470: checking for strcasecmp
configure:3498: gcc -o conftest -g -O2 -Wall conftest.c 1>&5
configure:3470: checking for strdup
configure:3498: gcc -o conftest -g -O2 -Wall conftest.c 1>&5
configure:3470: checking for __argz_count
configure:3498: gcc -o conftest -g -O2 -Wall conftest.c 1>&5
configure:3470: checking for __argz_stringify
configure:3498: gcc -o conftest -g -O2 -Wall conftest.c 1>&5
configure:3470: checking for __argz_next
configure:3498: gcc -o conftest -g -O2 -Wall conftest.c 1>&5
configure:3527: checking for stpcpy
configure:3555: gcc -o conftest -g -O2 -Wall conftest.c 1>&5
configure:3589: checking for LC_MESSAGES
configure:3601: gcc -o conftest -g -O2 -Wall conftest.c 1>&5
configure:3622: checking whether NLS is requested
configure:3654: checking for libintl.h
configure:3664: gcc -E conftest.c >/dev/null 2>conftest.out
configure:3681: checking for gettext in libc
configure:3693: gcc -o conftest -g -O2 -Wall conftest.c 1>&5
configure:3807: checking for msgfmt
configure:4002: checking whether catgets can be used
configure:4351: checking for gettext
configure:4379: gcc -o conftest -g -O2 -Wall conftest.c 1>&5
configure:4452: checking for extra flags to get ANSI library prototypes
configure:4465: gcc -o conftest -g -O2 -Wall conftest.c -lm 1>&5
configure:4506: checking for extra flags for POSIX compliance
configure:4515: gcc -c -g -O2 -Wall conftest.c 1>&5
configure: In function `main':
configure:4511: warning: unused variable `dir'
configure:4608: checking for glib-config
configure:4643: checking for GLIB - version >= 1.2.0
configure:4742: gcc -o conftest -g -O2 -Wall
-I/usr/local/include/glib-1.2 -I/usr/local/lib/glib/include
-D_REENTRANT conftest.c -L/usr/local/lib -rdynamic -lgmodule -lgthread
-lglib -lpthread -ldl 1>&5
configure:4882: checking for X
configure:4949: gcc -E conftest.c >/dev/null 2>conftest.out
configure:4945: X11/Intrinsic.h: No such file or directory
configure: failed program was:
#line 4944 "configure"
#include "confdefs.h"
#include <X11/Intrinsic.h>
configure:5025: gcc -o conftest -g -O2 -Wall conftest.c -lXt 1>&5
configure: In function `main':
configure:5021: warning: implicit declaration of function `XtMalloc'
/usr/i486-suse-linux/bin/ld: cannot find -lXt
collect2: ld returned 1 exit status
configure: failed program was:
#line 5018 "configure"
#include "confdefs.h"
int main() {
XtMalloc()
; return 0; }
____________________________________________________________________________
Yet again thanks in advance for any help.
Greetings Pim!
-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger
for complex code. Debugging C/C++ programs can leave you feeling lost and
disoriented. TotalView can help you find your way. Available on major UNIX
and Linux platforms. Try it free. www.etnus.com