From: <Mar...@sw...> - 2012-10-08 16:38:41
|
@ all when i try to build cpm on my build env. i get the following error -> + CC=/opt/openpkg/bin/cc + CFLAGS='-O2 -pipe' + CPPFLAGS=-I/opt/openpkg/include + LDFLAGS=-L/opt/openpkg/lib + ./configure --prefix=/opt/openpkg --with-ncurses --with-cdk-dir=/opt/openpkg --with-crack-lib=/opt/openpkg/include --with-dotconf=/opt/openpkg --with-gpgme --with-xml2 --with-zlib --with-cracklib-dict=/opt/openpkg/lib/cracklib --without-crack-lib --disable-shared checking for gcc... /opt/openpkg/bin/cc -> snip checking for initCDKScreen in -lcdk... yes configure: skipping cracklib check checking for dotconf_create in -ldotconf... yes checking for gpgme_get_engine_info in -lgpgme... no configure: error: can not find the gpgme library. -> the gpgme and assuan lib is there (ls -l /opt/openpkg/lib/libgpgme.* => /opt/openpkg/lib/libgpgme.a => /opt/openpkg/lib/libgpgme.la ls -l /opt/openpkg/lib/libassuan.* => /opt/openpkg/lib/libassuan.a => /opt/openpkg/lib/libassuan.la) -> any idea what could be wrong here - can somebody provide me hints for to build cpm (incl. dependencies) successfully under solaris (sparc) configure:3949: checking for gpgme_get_engine_info in -lgpgme configure:3984: /opt/openpkg/bin/cc -o conftest -O2 -pipe -Iyes/include -DNO_CRACKLIB -I/opt/openpkg/include -Iyes/include -Iyes/include -I/opt/openpkg/inclu de -Iyes/include -I/opt/openpkg/include -Iyes/include -Iyes/include -L/opt/openpkg/lib -Lyes/lib -L/opt/openpkg/lib -Lyes/lib -Lyes/lib conftest.c -lgpgme - ldotconf -lcdk -lncurses -lm >&5 /opt/openpkg/lib/libgpgme.a(engine.o): In function `gpg_error_from_errno': /opt/openpkg/include/gpg-error.h:664: undefined reference to `gpg_err_code_from_errno' /opt/openpkg/include/gpg-error.h:664: undefined reference to `gpg_err_code_from_errno' /opt/openpkg/include/gpg-error.h:664: undefined reference to `gpg_err_code_from_errno' /opt/openpkg/include/gpg-error.h:664: undefined reference to `gpg_err_code_from_errno' /opt/openpkg/include/gpg-error.h:664: undefined reference to `gpg_err_code_from_errno' /opt/openpkg/lib/libgpgme.a(engine.o):/opt/openpkg/include/gpg-error.h:664: more undefined references to `gpg_err_code_from_errno' follow /opt/openpkg/lib/libgpgme.a(engine-gpg.o): In function `gpg_error_from_syserror': /opt/openpkg/include/gpg-error.h:670: undefined reference to `gpg_err_code_from_syserror' /opt/openpkg/lib/libgpgme.a(engine-gpg.o): In function `gpg_error_from_errno': /opt/openpkg/include/gpg-error.h:664: undefined reference to `gpg_err_code_from_errno' /opt/openpkg/include/gpg-error.h:664: undefined reference to `gpg_err_code_from_errno' /opt/openpkg/include/gpg-error.h:664: undefined reference to `gpg_err_code_from_errno' /opt/openpkg/include/gpg-error.h:664: undefined reference to `gpg_err_code_from_errno' /opt/openpkg/include/gpg-error.h:664: undefined reference to `gpg_err_code_from_errno' /opt/openpkg/lib/libgpgme.a(engine-gpg.o):/opt/openpkg/include/gpg-error.h:664: more undefined references to `gpg_err_code_from_errno' follow /opt/openpkg/lib/libgpgme.a(engine-gpg.o): In function `gpg_error_from_syserror': /opt/openpkg/include/gpg-error.h:670: undefined reference to `gpg_err_code_from_syserror' /opt/openpkg/include/gpg-error.h:670: undefined reference to `gpg_err_code_from_syserror' /opt/openpkg/lib/libgpgme.a(engine-gpg.o): In function `gpg_error_from_errno': /opt/openpkg/include/gpg-error.h:664: undefined reference to `gpg_err_code_from_errno' /opt/openpkg/include/gpg-error.h:664: undefined reference to `gpg_err_code_from_errno' /opt/openpkg/include/gpg-error.h:664: undefined reference to `gpg_err_code_from_errno' /opt/openpkg/include/gpg-error.h:664: undefined reference to `gpg_err_code_from_errno' /opt/openpkg/include/gpg-error.h:664: undefined reference to `gpg_err_code_from_errno' /opt/openpkg/lib/libgpgme.a(engine-gpg.o):/opt/openpkg/include/gpg-error.h:664: more undefined references to `gpg_err_code_from_errno' follow /opt/openpkg/lib/libgpgme.a(engine-assuan.o): In function `llass_status_handler': /opt/openpkg/RPM/TMP/gpgme-1.3.1/src/engine-assuan.c:453: undefined reference to `assuan_read_line' /opt/openpkg/RPM/TMP/gpgme-1.3.1/src/engine-assuan.c:467: undefined reference to `gpg_strerror' /opt/openpkg/RPM/TMP/gpgme-1.3.1/src/engine-assuan.c:614: undefined reference to `assuan_pending_line' /opt/openpkg/RPM/TMP/gpgme-1.3.1/src/engine-assuan.c:583: undefined reference to `gpg_strerror' /opt/openpkg/RPM/TMP/gpgme-1.3.1/src/engine-assuan.c:572: undefined reference to `assuan_send_data' /opt/openpkg/RPM/TMP/gpgme-1.3.1/src/engine-assuan.c:498: undefined reference to `gpg_strerror' /opt/openpkg/RPM/TMP/gpgme-1.3.1/src/engine-assuan.c:537: undefined reference to `gpg_strerror' /opt/openpkg/RPM/TMP/gpgme-1.3.1/src/engine-assuan.c:511: undefined reference to `gpg_strerror' /opt/openpkg/RPM/TMP/gpgme-1.3.1/src/engine-assuan.c:567: undefined reference to `assuan_send_data' /opt/openpkg/lib/libgpgme.a(engine-assuan.o): In function `llass_cancel': /opt/openpkg/RPM/TMP/gpgme-1.3.1/src/engine-assuan.c:175: undefined reference to `assuan_release' /opt/openpkg/lib/libgpgme.a(engine-assuan.o): In function `llass_set_locale': /opt/openpkg/RPM/TMP/gpgme-1.3.1/src/engine-assuan.c:400: undefined reference to `assuan_transact' /opt/openpkg/lib/libgpgme.a(engine-assuan.o): In function `gpg_error_from_errno': /opt/openpkg/include/gpg-error.h:664: undefined reference to `gpg_err_code_from_errno' /opt/openpkg/lib/libgpgme.a(engine-assuan.o): In function `start': /opt/openpkg/RPM/TMP/gpgme-1.3.1/src/engine-assuan.c:651: undefined reference to `assuan_get_active_fds' /opt/openpkg/RPM/TMP/gpgme-1.3.1/src/engine-assuan.c:683: undefined reference to `assuan_write_line' /opt/openpkg/lib/libgpgme.a(engine-assuan.o): In function `gpg_error_from_syserror': /opt/openpkg/include/gpg-error.h:670: undefined reference to `gpg_err_code_from_syserror' /opt/openpkg/lib/libgpgme.a(engine-assuan.o): In function `llass_new': /opt/openpkg/RPM/TMP/gpgme-1.3.1/src/engine-assuan.c:242: undefined reference to `assuan_new_ext' /opt/openpkg/RPM/TMP/gpgme-1.3.1/src/engine-assuan.c:247: undefined reference to `assuan_ctx_set_system_hooks' /opt/openpkg/RPM/TMP/gpgme-1.3.1/src/engine-assuan.c:249: undefined reference to `assuan_socket_connect' /opt/openpkg/RPM/TMP/gpgme-1.3.1/src/engine-assuan.c:270: undefined reference to `assuan_transact' /opt/openpkg/lib/libgpgme.a(engine-assuan.o): In function `gpg_error_from_errno': /opt/openpkg/include/gpg-error.h:664: undefined reference to `gpg_err_code_from_errno' /opt/openpkg/lib/libgpgme.a(engine-assuan.o): In function `gpg_error_from_syserror': /opt/openpkg/include/gpg-error.h:670: undefined reference to `gpg_err_code_from_syserror' /opt/openpkg/lib/libgpgme.a(engine-assuan.o): In function `llass_new': /opt/openpkg/RPM/TMP/gpgme-1.3.1/src/engine-assuan.c:297: undefined reference to `assuan_transact' /opt/openpkg/RPM/TMP/gpgme-1.3.1/src/engine-assuan.c:316: undefined reference to `assuan_transact' /opt/openpkg/lib/libgpgme.a(engine-assuan.o): In function `gpg_error_from_syserror': /opt/openpkg/include/gpg-error.h:670: undefined reference to `gpg_err_code_from_syserror' /opt/openpkg/include/gpg-error.h:670: undefined reference to `gpg_err_code_from_syserror' /opt/openpkg/lib/libgpgme.a(posix-io.o): In function `_gpgme_io_socket': /opt/openpkg/RPM/TMP/gpgme-1.3.1/src/posix-io.c:733: undefined reference to `socket' /opt/openpkg/lib/libgpgme.a(debug.o): In function `_gpgme_debug': /opt/openpkg/RPM/TMP/gpgme-1.3.1/src/debug.c:254: undefined reference to `gpg_err_set_errno' /opt/openpkg/lib/libgpgme.a(gpgme.o): In function `gpg_error_from_errno': /opt/openpkg/include/gpg-error.h:664: undefined reference to `gpg_err_code_from_errno' /opt/openpkg/include/gpg-error.h:664: undefined reference to `gpg_err_code_from_errno' /opt/openpkg/include/gpg-error.h:664: undefined reference to `gpg_err_code_from_errno' /opt/openpkg/include/gpg-error.h:664: undefined reference to `gpg_err_code_from_errno' /opt/openpkg/include/gpg-error.h:664: undefined reference to `gpg_err_code_from_errno' /opt/openpkg/lib/libgpgme.a(gpgme.o):/opt/openpkg/include/gpg-error.h:664: more undefined references to `gpg_err_code_from_errno' follow /opt/openpkg/lib/libgpgme.a(error.o): In function `gpgme_strerror': /opt/openpkg/RPM/TMP/gpgme-1.3.1/src/error.c:32: undefined reference to `gpg_strerror' /opt/openpkg/lib/libgpgme.a(error.o): In function `gpgme_strerror_r': /opt/openpkg/RPM/TMP/gpgme-1.3.1/src/error.c:46: undefined reference to `gpg_strerror_r' /opt/openpkg/lib/libgpgme.a(error.o): In function `gpgme_strsource': /opt/openpkg/RPM/TMP/gpgme-1.3.1/src/error.c:55: undefined reference to `gpg_strsource' /opt/openpkg/lib/libgpgme.a(error.o): In function `gpgme_err_code_from_errno': /opt/openpkg/RPM/TMP/gpgme-1.3.1/src/error.c:65: undefined reference to `gpg_err_code_from_errno' /opt/openpkg/lib/libgpgme.a(error.o): In function `gpgme_err_code_to_errno': /opt/openpkg/RPM/TMP/gpgme-1.3.1/src/error.c:74: undefined reference to `gpg_err_code_to_errno' /opt/openpkg/lib/libgpgme.a(error.o): In function `gpgme_err_code_from_syserror': /opt/openpkg/RPM/TMP/gpgme-1.3.1/src/error.c:84: undefined reference to `gpg_err_code_from_syserror' /opt/openpkg/lib/libgpgme.a(error.o): In function `gpgme_err_set_errno': /opt/openpkg/RPM/TMP/gpgme-1.3.1/src/error.c:93: undefined reference to `gpg_err_set_errno' /opt/openpkg/lib/libgpgme.a(error.o): In function `gpg_err_make_from_errno': /opt/openpkg/include/gpg-error.h:657: undefined reference to `gpg_err_code_from_errno' /opt/openpkg/lib/libgpgme.a(error.o): In function `gpgme_error_from_errno': /opt/openpkg/RPM/TMP/gpgme-1.3.1/src/error.c:110: undefined reference to `gpg_err_code_from_errno' /opt/openpkg/lib/libgpgme.a(ath.o): In function `_gpgme_ath_accept': /opt/openpkg/RPM/TMP/gpgme-1.3.1/src/ath.c:179: undefined reference to `accept' /opt/openpkg/lib/libgpgme.a(ath.o): In function `_gpgme_ath_connect': /opt/openpkg/RPM/TMP/gpgme-1.3.1/src/ath.c:190: undefined reference to `connect' /opt/openpkg/lib/libgpgme.a(ath.o): In function `_gpgme_ath_sendmsg': /opt/openpkg/RPM/TMP/gpgme-1.3.1/src/ath.c:201: undefined reference to `sendmsg' /opt/openpkg/lib/libgpgme.a(ath.o): In function `_gpgme_ath_recvmsg': /opt/openpkg/RPM/TMP/gpgme-1.3.1/src/ath.c:212: undefined reference to `recvmsg' /opt/openpkg/lib/libgpgme.a(conversion.o): In function `gpg_error_from_syserror': /opt/openpkg/include/gpg-error.h:670: undefined reference to `gpg_err_code_from_syserror' /opt/openpkg/include/gpg-error.h:670: undefined reference to `gpg_err_code_from_syserror' /opt/openpkg/include/gpg-error.h:670: undefined reference to `gpg_err_code_from_syserror' /opt/openpkg/lib/libgpgme.a(get-env.o): In function `gpg_error_from_errno': /opt/openpkg/include/gpg-error.h:664: undefined reference to `gpg_err_code_from_errno' /opt/openpkg/lib/libgpgme.a(data.o): In function `gpg_error_from_syserror': /opt/openpkg/include/gpg-error.h:670: undefined reference to `gpg_err_code_from_syserror' /opt/openpkg/lib/libgpgme.a(data.o): In function `gpgme_data_read': /opt/openpkg/RPM/TMP/gpgme-1.3.1/src/data.c:89: undefined reference to `gpg_err_set_errno' /opt/openpkg/lib/libgpgme.a(data.o): In function `gpgme_data_write': /opt/openpkg/RPM/TMP/gpgme-1.3.1/src/data.c:117: undefined reference to `gpg_err_set_errno' /opt/openpkg/lib/libgpgme.a(data.o): In function `gpgme_data_seek': /opt/openpkg/RPM/TMP/gpgme-1.3.1/src/data.c:144: undefined reference to `gpg_err_set_errno' /opt/openpkg/lib/libgpgme.a(data.o): In function `gpg_error_from_syserror': /opt/openpkg/include/gpg-error.h:670: undefined reference to `gpg_err_code_from_syserror' /opt/openpkg/include/gpg-error.h:670: undefined reference to `gpg_err_code_from_syserror' /opt/openpkg/include/gpg-error.h:670: undefined reference to `gpg_err_code_from_syserror' /opt/openpkg/include/gpg-error.h:670: undefined reference to `gpg_err_code_from_syserror' /opt/openpkg/include/gpg-error.h:670: undefined reference to `gpg_err_code_from_syserror' /opt/openpkg/lib/libgpgme.a(data.o):/opt/openpkg/include/gpg-error.h:670: more undefined references to `gpg_err_code_from_syserror' follow /opt/openpkg/lib/libgpgme.a(signers.o): In function `gpg_error_from_errno': /opt/openpkg/include/gpg-error.h:664: undefined reference to `gpg_err_code_from_errno' /opt/openpkg/include/gpg-error.h:664: undefined reference to `gpg_err_code_from_errno' /opt/openpkg/include/gpg-error.h:664: undefined reference to `gpg_err_code_from_errno' /opt/openpkg/include/gpg-error.h:664: undefined reference to `gpg_err_code_from_errno' /opt/openpkg/lib/libgpgme.a(sig-notation.o): In function `gpg_error_from_errno': /opt/openpkg/include/gpg-error.h:664: undefined reference to `gpg_err_code_from_errno' /opt/openpkg/lib/libgpgme.a(sig-notation.o):/opt/openpkg/include/gpg-error.h:664: more undefined references to `gpg_err_code_from_errno' follow /opt/openpkg/lib/libgpgme.a(assuan-support.o): In function `my_socketpair': /opt/openpkg/RPM/TMP/gpgme-1.3.1/src/assuan-support.c:220: undefined reference to `__assuan_socketpair' /opt/openpkg/lib/libgpgme.a(assuan-support.o): In function `my_spawn': /opt/openpkg/RPM/TMP/gpgme-1.3.1/src/assuan-support.c:131: undefined reference to `gpg_err_set_errno' /opt/openpkg/lib/libgpgme.a(assuan-support.o): In function `my_usleep': /opt/openpkg/RPM/TMP/gpgme-1.3.1/src/assuan-support.c:41: undefined reference to `__assuan_usleep' collect2: ld returned 1 exit status configure:3990: $? = 1 configure: failed program was: --> snip ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_c_compiler_gnu=yes ac_cv_env_CC_set=set ac_cv_env_CC_value=/opt/openpkg/bin/cc ac_cv_env_CFLAGS_set=set ac_cv_env_CFLAGS_value='-O2 -pipe' ac_cv_env_CPPFLAGS_set=set ac_cv_env_CPPFLAGS_value=-I/opt/openpkg/include ac_cv_env_CPP_set= ac_cv_env_CPP_value= ac_cv_env_LDFLAGS_set=set ac_cv_env_LDFLAGS_value=-L/opt/openpkg/lib ac_cv_env_build_alias_set= ac_cv_env_build_alias_value= ac_cv_env_host_alias_set= ac_cv_env_host_alias_value= ac_cv_env_target_alias_set= ac_cv_env_target_alias_value= ac_cv_lib_cdk_initCDKScreen=yes ac_cv_lib_dotconf_dotconf_create=yes ac_cv_lib_gpgme_gpgme_get_engine_info=no ac_cv_lib_m_main=yes ac_cv_lib_ncurses_initscr=yes ac_cv_objext=o ac_cv_path_EGREP='/opt/openpkg/bin/grep -E' ac_cv_path_GREP=/opt/openpkg/bin/grep ac_cv_path_install='/opt/openpkg/bin/ginstall -c' ac_cv_prog_CPP='/opt/openpkg/bin/cc -E' ac_cv_prog_ac_ct_CC=/opt/openpkg/bin/cc ac_cv_prog_cc_c89= ac_cv_prog_cc_g=yes ac_cv_prog_gcc_traditional=no ac_cv_prog_make_make_set=yes ## ----------------- ## ## Output variables. ## ## ----------------- ## CC='/opt/openpkg/bin/cc' CDK_DEBIAN_DEP='' CDK_VERSION_DEF='' CFLAGS='-O2 -pipe -Iyes/include -DNO_CRACKLIB -I/opt/openpkg/include -Iyes/include -Iyes/include' CPP='/opt/openpkg/bin/cc -E' CPPFLAGS='-I/opt/openpkg/include -Iyes/include -I/opt/openpkg/include -Iyes/include -Iyes/include' DEFS='' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='/opt/openpkg/bin/grep -E' EXEEXT='' GPGME_CONFIG='' GREP='/opt/openpkg/bin/grep' INSTALL_DATA='${INSTALL} -m 644' INSTALL_PROGRAM='${INSTALL}' INSTALL_SCRIPT='${INSTALL}' LDFLAGS='-L/opt/openpkg/lib -Lyes/lib -L/opt/openpkg/lib -Lyes/lib -Lyes/lib' LIBGPGME_CFLAGS='' LIBGPGME_LIBS='' LIBOBJS='' LIBS='-ldotconf -lcdk -lncurses -lm ' LIBXML_CFLAGS='' LIBXML_LIBS='' LIBXML_XMLLINT='' LN_S='ln -s' LTLIBOBJS='' OBJEXT='o' PACKAGE_BUGREPORT='ha...@mm...' PACKAGE_NAME='cpm' PACKAGE_STRING='cpm 0.23beta' PACKAGE_TARNAME='cpm' PACKAGE_VERSION='0.23beta' PATH_SEPARATOR=':' SET_MAKE='' SHELL='/bin/bash' WRAPPER_NECESSARY='' XML_CONFIG='' ac_ct_CC='/opt/openpkg/bin/cc' bindir='${exec_prefix}/bin' build_alias='' datadir='${datarootdir}' datarootdir='${prefix}/share' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' dvidir='${docdir}' exec_prefix='NONE' host_alias='' htmldir='${docdir}' includedir='${prefix}/include' infodir='${datarootdir}/info' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' localedir='${datarootdir}/locale' localstatedir='${prefix}/var' mandir='${datarootdir}/man' oldincludedir='/usr/include' pdfdir='${docdir}' prefix='/opt/openpkg' program_transform_name='s,x,x,' psdir='${docdir}' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' sysconfdir='${prefix}/etc' target_alias='' ## ----------- ## ## confdefs.h. ## ## ----------- ## #define PACKAGE_NAME "cpm" #define PACKAGE_TARNAME "cpm" #define PACKAGE_VERSION "0.23beta" #define PACKAGE_STRING "cpm 0.23beta" #define PACKAGE_BUGREPORT "ha...@mm...<mailto:ha...@mm...>" #define HAVE_LIBM 1 #define HAVE_LIBNCURSES 1 #define HAVE_LIBCDK 1 #define HAVE_LIBDOTCONF 1 configure: exit 1 |