hali,
ac_cv_exeext=${ac_cv_exeext=no} ac_cv_func_getutent=${ac_cv_func_getutent=yes} ac_cv_func_inet_aton=${ac_cv_func_inet_aton=yes} ac_cv_func_select=${ac_cv_func_select=yes} ac_cv_func_snprintf=${ac_cv_func_snprintf=yes} ac_cv_func_socket=${ac_cv_func_socket=yes} ac_cv_func_strerror=${ac_cv_func_strerror=yes} ac_cv_func_strncpy=${ac_cv_func_strncpy=yes} ac_cv_func_vsnprintf=${ac_cv_func_vsnprintf=yes} ac_cv_lib_crypto_des_ecb_encrypt=${ac_cv_lib_crypto_des_ecb_encrypt=no}
libssl09-dev hianyzik.
ac_cv_lib_nsl_gethostbyname=${ac_cv_lib_nsl_gethostbyname=yes} ac_cv_lib_python_Py_Finalize=${ac_cv_lib_python_Py_Finalize=no}
opsz, ez itt egy rossz teszt.
ac_cv_lib_socket_setsockopt=${ac_cv_lib_socket_setsockopt=no} ac_cv_lib_ssl_SSL_accept=${ac_cv_lib_ssl_SSL_accept=no} ac_cv_lib_xnet_inet_addr=${ac_cv_lib_xnet_inet_addr=no} ac_cv_path_LD=${ac_cv_path_LD=/usr/bin/ld} ac_cv_path_NM=${ac_cv_path_NM='/usr/bin/nm -B'} ac_cv_path_install=${ac_cv_path_install='/usr/bin/install -c'} ac_cv_path_path_python=${ac_cv_path_path_python=/usr/bin/python} ac_cv_prog_CC=${ac_cv_prog_CC=gcc} ac_cv_prog_CPP=${ac_cv_prog_CPP='gcc -E'} ac_cv_prog_LN_S=${ac_cv_prog_LN_S='ln -s'} ac_cv_prog_RANLIB=${ac_cv_prog_RANLIB=ranlib} ac_cv_prog_cc_cross=${ac_cv_prog_cc_cross=no} ac_cv_prog_cc_g=${ac_cv_prog_cc_g=yes} ac_cv_prog_cc_works=${ac_cv_prog_cc_works=yes} ac_cv_prog_gcc=${ac_cv_prog_gcc=yes} ac_cv_prog_gnu_ld=${ac_cv_prog_gnu_ld=yes} ac_cv_prog_make_make_set=${ac_cv_prog_make_make_set=yes} blb_cv_msg_proxy=${blb_cv_msg_proxy=yes}
configure:577: checking for a BSD compatible install configure:630: checking whether build environment is sane configure:687: checking whether make sets ${MAKE} configure:733: checking for working aclocal configure:746: checking for working autoconf configure:759: checking for working automake configure:772: checking for working autoheader configure:785: checking for working makeinfo configure:884: checking for gcc configure:997: checking whether the C compiler (gcc -g -L/usr/local/zorp/lib -L/usr/lib/python1.5 -lpython1.5 -lm) works configure:1013: gcc -o conftest -g -I/usr/local/zorp/include -I/usr/include/python1.5 -L/usr/local/zorp/lib -L/usr/lib/python1.5 -lpython1.5 -lm conftest.c 1>&5 configure:1039: checking whether the C compiler (gcc -g -L/usr/local/zorp/lib -L/usr/lib/python1.5 -lpython1.5 -lm) is a cross-compiler configure:1044: checking whether we are using GNU C configure:1072: checking whether gcc accepts -g configure:1104: checking how to run the C preprocessor configure:1186: checking for ranlib configure:1289: checking host system type configure:1310: checking build system type configure:1339: checking for ld used by GCC configure:1402: checking if the linker (/usr/bin/ld) is GNU ld configure:1418: checking for BSD-compatible nm configure:1455: checking whether ln -s works ltconfig:603: checking for object suffix ltconfig:604: gcc -c -g -I/usr/local/zorp/include -I/usr/include/python1.5 conftest.c 1>&5 ltconfig:776: checking if gcc PIC flag -fPIC works ltconfig:777: gcc -c -g -fPIC -DPIC -I/usr/local/zorp/include -I/usr/include/python1.5 conftest.c 1>&5 ltconfig:829: checking if gcc supports -c -o file.o ltconfig:830: gcc -c -g -o out/conftest2.o -I/usr/local/zorp/include -I/usr/include/python1.5 conftest.c 1>&5 ltconfig:862: checking if gcc supports -c -o file.lo ltconfig:863: gcc -c -g -c -o conftest.lo -I/usr/local/zorp/include -I/usr/include/python1.5 conftest.c 1>&5 ltconfig:914: checking if gcc supports -fno-rtti -fno-exceptions ltconfig:915: gcc -c -g -fno-rtti -fno-exceptions -c conftest.c -I/usr/local/zorp/include -I/usr/include/python1.5 conftest.c 1>&5 ltconfig:958: checking if gcc static flag -static works ltconfig:959: gcc -o conftest -g -I/usr/local/zorp/include -I/usr/include/python1.5 -L/usr/local/zorp/lib -L/usr/lib/python1.5 -lpython1.5 -lm -static conftest.c 1>&5 /usr/bin/ld: cannot find -lpython1.5 collect2: ld returned 1 exit status
megvan. a configure.in-ben van egy AC_ARG_WITH(python-libs) ... kezdetu sor. innen torold ki a sor vegerol az -lpython1.5 -lm sorokat, hogy igy nezzen ki: AC_ARG_WITH(python-libs, [--with-python-libs=[path] Python libraries are located at path], LDFLAGS="$LDFLAGS -L$with_python_libs", LDFLAGS="$LDFLAGS -L/usr/lib/python1.5") aztan keresd meg az AC_CHECK_LIB(python, Py_Finalize) sort, es csereld ki: AC_CHECK_LIB(python1.5, Py_Finalize) AC_CHECK_LIB(m, sin) ezek utan futass le egy autoconf-ot, majd ./configure es a tobbi mar ugyanugy (make, make install)
erdekes szamomra hogy ezek a hivasok a lib/stayr.c ben vannak ami a libzorp.so forditasakor lefordult es bekerul .libs konyvtarba és csak kesobb szal ell.
-- Bazsi PGP info: KeyID 9AF8D0A9 Fingerprint CD27 CFB0 802C 0944 9CFD 804E C82C 8EB1 url: http://www.balabit.hu/pgpkey.txt