• Willkommen im Linux Club - dem deutschsprachigen Supportforum für GNU/Linux. Registriere dich kostenlos, um alle Inhalte zu sehen und Fragen zu stellen.

checking for libz... configure: error: not found

maroony

Newbie
Ich wolle gestern ein Programm auf mein Suse 10.0 x64 per configure - make - make install installieren. Bei ./configure kam dann folgende Fehlermeldung:

checking for libz... configure: error: not found.
Possibly configure picks up an outdated version
installed by XFree86. Remove it from your system.

Check your installation and look into config.log

Installiert hab ich folgendes:

zlib
zlib-32bit
zlib-devel
zlib-devel-32bit

Er findet aber trotzdem libz nicht.
Kann mir einer von euch helfen?
 
OP
M

maroony

Newbie
Hier die config.log:

configure:29505: checking for libz
configure:29540: gcc -o conftest -ansi -W -Wall -Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -O2 -Wformat-security -Wmissing-format-attribute -I/usr/X11R6/include -D_REENTRANT conftest.c -L/usr/X11R6/lib64 -lz >&5
In file included from /usr/include/zconf.h:289,
from /usr/include/zlib.h:34,
from conftest.c:41:
/usr/include/unistd.h:243: error: conflicting types for 'size_t'
/usr/lib64/gcc/x86_64-suse-linux/4.0.2/include/stddef.h:214: error: previous declaration of 'size_t' was here
configure:29546: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "sim"
| #define VERSION "0.9.4"
| #ifdef __cplusplus
| void exit (int);
| #endif
| #define KDELIBSUFF ""
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define HAVE_CRYPT 1
| #define socklen_t size_t
| #define ksize_t socklen_t
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_SYS_BITYPES_H 1
| #define SIZEOF_INT 0
| #define SIZEOF_SHORT 0
| #define SIZEOF_LONG 0
| #define SIZEOF_CHAR_P 0
| #define SIZEOF_SIZE_T 0
| #define SIZEOF_UNSIGNED_LONG 0
| #define HAVE_VSNPRINTF 1
| #define HAVE_SNPRINTF 1
| /* end confdefs.h. */
|
| #include<zlib.h>
|
| int
| main ()
| {
|
| char buf[42];
| gzFile f = (gzFile) 0;
| /* this would segfault.. but we only link, don't run */
| (void) gzgets(f, buf, sizeof(buf));
|
| return (zlibVersion() == ZLIB_VERSION);
|
| ;
| return 0;
| }
configure:29588: error: not found.
Possibly configure picks up an outdated version
installed by XFree86. Remove it from your system.

Check your installation and look into config.log


Da weiß ich aber nix mit anzufangen.
 
Oben