[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

can't ./configure kallery....



Hi,
I'd like to try out kallery, but I can't compile it,the ./configure
skript stops with the following error:

checking for libz... configure: error: not found. Check your
installation.......

I attach the config.log.
I tried apt-get install libz and zlib but don't find no package(libz doesn't exist
and zlib has no installation candidate),
so what's missing on my system?

I run testing/unstable on an Apple Power Book G4 kernel 2.4.20-ben10.

As I don't know if this is ppc specific I crosspost, sorry for that.

cheers 
benno


This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

configure:623: checking host system type
configure:644: checking target system type
configure:662: checking build system type
configure:721: checking for a BSD compatible install
configure:778: checking for -p flag to install
configure:801: checking whether build environment is sane
configure:839: checking whether make sets ${MAKE}
configure:885: checking for working aclocal
configure:898: checking for working autoconf
configure:911: checking for working automake
configure:924: checking for working autoheader
configure:937: checking for working makeinfo
configure:1043: checking for gcc
configure:1156: checking whether the C compiler (gcc   ) works
configure:1172: gcc -o conftest     conftest.c  1>&5
configure:1198: checking whether the C compiler (gcc   ) is a cross-compiler
configure:1203: checking whether we are using GNU C
configure:1231: checking whether gcc accepts -g
configure:1296: checking for c++
configure:1328: checking whether the C++ compiler (c++   ) works
configure:1349: rm -rf SunWS_cache; c++ -o conftest     conftest.C  1>&5
configure:1375: checking whether the C++ compiler (c++   ) is a cross-compiler
configure:1380: checking whether we are using GNU C++
configure:1408: checking whether c++ accepts -g
configure:1590: checking whether c++ supports -fno-exceptions
configure:1619: checking whether c++ supports -fno-check-new
configure:1648: checking whether c++ supports -fexceptions
configure:1732: checking how to run the C++ preprocessor
configure:1814: checking whether c++ supports -frepo
configure:2008: checking for ld used by GCC
configure:2076: checking if the linker (/usr/bin/ld) is GNU ld
configure:2093: checking for /usr/bin/ld option to reload object files
configure:2105: checking for BSD-compatible nm
configure:2143: checking whether ln -s works
configure:2164: checking how to recognise dependant libraries
configure:2485: checking for ranlib
configure:2552: checking for strip
configure:2724: checking for Cygwin environment
configure:2757: checking for mingw32 environment
ltconfig:678:checking for gcc option to produce PIC
ltconfig:687:checking that gcc PIC flag  -fPIC -DPIC works.
ltconfig:749: checking if gcc static flag -static works
ltconfig:780: finding the maximum length of command line arguments
ltconfig:@lineno@: result: 73729
ltconfig:883: checking if gcc supports -fno-rtti -fno-exceptions
ltconfig:884: gcc -c -O2   -fno-rtti -fno-exceptions -c conftest.c  conftest.c 1>&5
ltconfig:1423: checking if global_symbol_pipe works
ltconfig:1424: gcc -c -O2    conftest.c 1>&5
ltconfig:1427: eval "/usr/bin/nm -B conftest.o | sed -n -e 's/^.*[ 	]\([ABCDGISTW]\)[ 	][ 	]*\(\)\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2\3 \3/p' > conftest.nm"
ltconfig:1479: gcc -o conftest -O2   -fno-builtin -fno-rtti -fno-exceptions   conftest.c conftstm.o 1>&5
ltconfig:1863: checking for dlfcn.h
ltconfig:1902: checking whether a program can dlopen itself
ltconfig:1976: checking whether a statically linked program can dlopen itself
c++ -E conftest.cc
ltconfig:678:checking for c++ option to produce PIC
ltconfig:687:checking that c++ PIC flag -fPIC -DPIC works.
ltconfig:697: c++ -c -O2 -fno-exceptions -fno-check-new -fPIC -DPIC -DPIC  conftest.cc 1>&5
ltconfig:749: checking if c++ static flag -static works
ltconfig:758: c++ -o conftest -O2 -fno-exceptions -fno-check-new   -static conftest.cc  1>&5
ltconfig:780: finding the maximum length of command line arguments
ltconfig:@lineno@: result: 73729
ltconfig:883: checking if c++ supports -fno-rtti -fno-exceptions
ltconfig:884: c++ -c -O2 -fno-exceptions -fno-check-new -fno-rtti -fno-exceptions -c conftest.cc  conftest.cc 1>&5
ltconfig:1423: checking if global_symbol_pipe works
ltconfig:1424: c++ -c -O2 -fno-exceptions -fno-check-new  conftest.cc 1>&5
ltconfig:1427: eval "/usr/bin/nm -B conftest.o | sed -n -e 's/^.*[ 	]\([ABCDGISTW]\)[ 	][ 	]*\(\)\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2\3 \3/p' > conftest.nm"
ltconfig:1479: c++ -o conftest -O2 -fno-exceptions -fno-check-new -fno-builtin -fno-rtti -fno-exceptions   conftest.cc conftstm.o 1>&5
ltconfig:1863: checking for dlfcn.h
ltconfig:1902: checking whether a program can dlopen itself
ltconfig:1976: checking whether a statically linked program can dlopen itself
configure:2904: checking for object suffix
configure:2910: gcc -c -O2    conftest.c 1>&5
configure:2930: checking for executable suffix
configure:2940: gcc -o conftest -O2     conftest.c  1>&5
configure:3072: checking for msgfmt
configure:3106: checking for gmsgfmt
configure:3151: checking for xgettext
configure:3196: checking how to run the C preprocessor
configure:3217: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:3284: checking for main in -lutil
configure:3299: gcc -o conftest -O2     conftest.c -lutil   1>&5
configure:3320: checking for main in -lcompat
configure:3335: gcc -o conftest -O2     conftest.c -lcompat   1>&5
/usr/bin/ld: cannot find -lcompat
collect2: ld returned 1 exit status
configure: failed program was:
#line 3328 "configure"
#include "confdefs.h"

int main() {
main()
; return 0; }
configure:3357: checking for crypt in -lcrypt
configure:3376: gcc -o conftest -O2     conftest.c -lcrypt   1>&5
configure:3451: checking for socklen_t
configure:3481: c++ -c -O2 -fno-exceptions -fno-check-new  conftest.C 1>&5
configure:3548: checking for dnet_ntoa in -ldnet
configure:3567: gcc -o conftest -O2     conftest.c -ldnet   1>&5
/usr/bin/ld: cannot find -ldnet
collect2: ld returned 1 exit status
configure: failed program was:
#line 3556 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char dnet_ntoa();

int main() {
dnet_ntoa()
; return 0; }
configure:3589: checking for dnet_ntoa in -ldnet_stub
configure:3608: gcc -o conftest -O2     conftest.c -ldnet_stub   1>&5
/usr/bin/ld: cannot find -ldnet_stub
collect2: ld returned 1 exit status
configure: failed program was:
#line 3597 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char dnet_ntoa();

int main() {
dnet_ntoa()
; return 0; }
configure:3630: checking for inet_ntoa
configure:3658: gcc -o conftest -O2     conftest.c  1>&5
configure:3720: checking for connect
configure:3748: gcc -o conftest -O2     conftest.c  1>&5
configure:3811: checking for remove
configure:3839: gcc -o conftest -O2     conftest.c  1>&5
configure:3903: checking for shmat
configure:3931: gcc -o conftest -O2     conftest.c  1>&5
configure:3995: checking for res_init
configure:4023: gcc -o conftest -O2     conftest.c  1>&5
/tmp/ccWdnwcr.o(.text+0xc): In function `main':
: undefined reference to `res_init'
/tmp/ccWdnwcr.o(.text+0xc): In function `main':
: relocation truncated to fit: R_PPC_REL24 res_init
collect2: ld returned 1 exit status
configure: failed program was:
#line 4000 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char res_init(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char res_init();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_res_init) || defined (__stub___res_init)
choke me
#else
res_init();
#endif

; return 0; }
configure:4058: gcc -o conftest -O2     conftest.c   -lresolv 1>&5
configure:4083: checking for killpg in -lucb
configure:4102: gcc -o conftest -O2     conftest.c -lucb   1>&5
/usr/bin/ld: cannot find -lucb
collect2: ld returned 1 exit status
configure: failed program was:
#line 4091 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char killpg();

int main() {
killpg()
; return 0; }
configure:4171: checking size of int
configure:4190: gcc -o conftest -O2     conftest.c  1>&5
configure:4209: checking size of long
configure:4228: gcc -o conftest -O2     conftest.c  1>&5
configure:4247: checking size of char *
configure:4266: gcc -o conftest -O2     conftest.c  1>&5
configure:4285: checking size of char
configure:4304: gcc -o conftest -O2     conftest.c  1>&5
configure:4325: checking for dlopen in -ldl
configure:4369: checking for shl_unload in -ldld
configure:4388: gcc -o conftest -O2     conftest.c -ldld   1>&5
/usr/bin/ld: cannot find -ldld
collect2: ld returned 1 exit status
configure: failed program was:
#line 4377 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char shl_unload();

int main() {
shl_unload()
; return 0; }
configure:4417: checking for extra includes
configure:4448: checking for extra libs
configure:4482: checking for libz
configure:4508: gcc -o conftest -O2       conftest.c   -lz  -lresolv 1>&5
configure:4501:17: zlib.h: No such file or directory
configure: In function `main':
configure:4504: `ZLIB_VERSION' undeclared (first use in this function)
configure:4504: (Each undeclared identifier is reported only once
configure:4504: for each function it appears in.)
configure: failed program was:
#line 4499 "configure"
#include "confdefs.h"

#include<zlib.h>

int main() {
return (zlibVersion() == ZLIB_VERSION); 
; return 0; }

Reply to: