Installing the readline egg with chicken-install fails: --output-- checking dependencies for `readline' ... installing readline: ... changing current directory to /tmp/chicken-install-3dc.tmp/readline /usr/bin/csi -bnq -e "(require-library setup-api)" -e "(import setup-api)" -e "(extension-name-and-version '(\"readline\" \"\"))" -e "(sudo-install #t)" /tmp/chicken-install-3dc.tmp/readline/readline.setup /usr/bin/csc -feature compiling-extension -s -o rlu-test rl-usable-test.scm -lreadline -lhistory -ltermcap /usr/lib/gcc/x86_64-pc-linux-gnu/4.3.2/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -ltermcap collect2: ld returned 1 exit status --end output--
libtermcap is not present on my system, but libcurses is. readline.setup is supposed to detect this with the 'check-rllibs' macro. This macro attempts compiling with various flag combinations using 'condition-case' to detect failures. Compiling by hand using 'csc' does indeed fail when '-ltermcap' is specified. As a workaround, I commented out "(check-rllibs (-lreadline -lhistory -ltermcap))" and the egg was installed successfully. -------------------------------------------------- This is a bug report generated by chicken-bug(1). Date: Sun Aug 9 22:01:57 2009 User information: "<not available>" Host information: machine type: x86-64 software type: unix software version: linux build platform: gnu CHICKEN version is: Version 4.0.0 - SVN rev. 13887 linux-unix-gnu-x86-64 [ 64bit manyargs ptables applyhook ] compiled 2009-08-09 on nico (Linux) Home directory: /usr/share/chicken Include path: ("/usr/share/chicken") Features: applyhook chicken data-structures extras files gnu hygienic-macros irregex linux little-endian manyargs ports posix ptables regex srfi-0 srfi-10 srfi-12 srfi-13 srfi-14 srfi-17 srfi-2 srfi-23 srfi-28 srfi-30 srfi-39 srfi-55 srfi-6 srfi-61 srfi-62 srfi-69 srfi-8 srfi-9 srfi-98 syntax-rules tcp unix utils x86-64 chicken-config.h: #define HAVE_DIRENT_H 1 #define HAVE_DLFCN_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_LIMITS_H 1 #define HAVE_LONG_LONG 1 #define HAVE_MEMMOVE 1 #define HAVE_MEMORY_H 1 #define HAVE_STDINT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STRERROR 1 #define HAVE_STRINGS_H 1 #define HAVE_STRING_H 1 #define HAVE_STRTOLL 1 #define HAVE_STRTOQ 1 #define HAVE_SYS_STAT_H 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_UNISTD_H 1 #define HAVE_UNSIGNED_LONG_LONG 1 #define STDC_HEADERS 1 #define HAVE_ALLOCA 1 #define HAVE_ALLOCA_H 1 #define HAVE_GRP_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GCVT 1 #define HAVE_SYSEXITS_H 1 #define HAVE_MEMMOVE 1 #define C_STACK_GROWS_DOWNWARD 1 #define C_HACKED_APPLY /* generated */ #define C_BUILD_TAG "compiled 2009-08-09 on nico (Linux)" #define C_CHICKEN_PROGRAM "chicken" #define C_SVN_REVISION 13887 #ifndef C_INSTALL_CC # define C_INSTALL_CC "gcc" #endif #ifndef C_INSTALL_CXX # define C_INSTALL_CXX "g++" #endif #ifndef C_INSTALL_CFLAGS # define C_INSTALL_CFLAGS "-fno-strict-aliasing -DHAVE_CHICKEN_CONFIG_H -march=athlon64 -O2 -pipe" #endif #ifndef C_INSTALL_LDFLAGS # define C_INSTALL_LDFLAGS " " #endif #ifndef C_INSTALL_SHARE_HOME # define C_INSTALL_SHARE_HOME "/usr/share/chicken" #endif #ifndef C_INSTALL_BIN_HOME # define C_INSTALL_BIN_HOME "/usr/bin" #endif #ifndef C_INSTALL_EGG_HOME # define C_INSTALL_EGG_HOME "/usr/lib64/chicken/4" #endif #ifndef C_INSTALL_LIB_HOME # define C_INSTALL_LIB_HOME "/usr/lib64" #endif #ifndef C_INSTALL_STATIC_LIB_HOME # define C_INSTALL_STATIC_LIB_HOME "/usr/lib64" #endif #ifndef C_INSTALL_INCLUDE_HOME # define C_INSTALL_INCLUDE_HOME "/usr/include" #endif #ifndef C_INSTALL_MORE_LIBS # define C_INSTALL_MORE_LIBS "-lm -ldl" #endif #ifndef C_INSTALL_MORE_STATIC_LIBS # define C_INSTALL_MORE_STATIC_LIBS "-lm -ldl" #endif #ifndef C_DEFAULT_TARGET_STACK_SIZE # define C_DEFAULT_TARGET_STACK_SIZE (256*1024) #endif #ifndef C_DEFAULT_TARGET_HEAP_SIZE # define C_DEFAULT_TARGET_HEAP_SIZE 0 #endif #ifndef C_STACK_GROWS_DOWNWARD # define C_STACK_GROWS_DOWNWARD 1 #endif #ifndef C_TARGET_MORE_LIBS # define C_TARGET_MORE_LIBS "-lm -ldl" #endif #ifndef C_TARGET_MORE_STATIC_LIBS # define C_TARGET_MORE_STATIC_LIBS "-lm -ldl" #endif #ifndef C_TARGET_CC # define C_TARGET_CC "gcc" #endif #ifndef C_TARGET_CXX # define C_TARGET_CXX "g++" #endif #ifndef C_TARGET_CFLAGS # define C_TARGET_CFLAGS "-fno-strict-aliasing -DHAVE_CHICKEN_CONFIG_H -march=athlon64 -O2 -pipe" #endif #ifndef C_TARGET_LDFLAGS # define C_TARGET_LDFLAGS " " #endif #ifndef C_CROSS_CHICKEN # define C_CROSS_CHICKEN 0 #endif #ifndef C_TARGET_BIN_HOME # define C_TARGET_BIN_HOME "/usr/bin" #endif #ifndef C_TARGET_LIB_HOME # define C_TARGET_LIB_HOME "/usr/lib" #endif #ifndef C_TARGET_RUN_LIB_HOME # define C_TARGET_RUN_LIB_HOME "/usr/lib" #endif #ifndef C_TARGET_SHARE_HOME # define C_TARGET_SHARE_HOME "/usr/share" #endif #ifndef C_TARGET_INCLUDE_HOME # define C_TARGET_INCLUDE_HOME "/usr/include" #endif #ifndef C_TARGET_STATIC_LIB_HOME # define C_TARGET_STATIC_LIB_HOME "/usr/lib" #endif #ifndef C_CHICKEN_PROGRAM # define C_CHICKEN_PROGRAM "chicken" #endif #ifndef C_CSC_PROGRAM # define C_CSC_PROGRAM "csc" #endif #ifndef C_CSI_PROGRAM # define C_CSI_PROGRAM "csi" #endif #ifndef C_CHICKEN_BUG_PROGRAM # define C_CHICKEN_BUG_PROGRAM "chicken-bug" #endif #ifndef C_WINDOWS_SHELL # define C_WINDOWS_SHELL 0 #endif #ifndef C_BINARY_VERSION # define C_BINARY_VERSION 4 #endif CC seems to be gcc, trying to obtain version... Using built-in specs. Target: x86_64-pc-linux-gnu Configured with: /var/tmp/portage/sys-devel/gcc-4.3.2-r3/work/gcc-4.3.2/configure --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/4.3.2 --includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.2/include --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.3.2 --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.3.2/man --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.3.2/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.2/include/g ++-v4 --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --disable-altivec --disable-fixed-point --enable-nls --without-included-gettext --with-system-zlib --disable-checking --disable-werror --enable-secureplt --enable-multilib --enable-libmudflap --disable-libssp --enable-libgomp --disable-libgcj --enable-languages=c,c++,treelang,fortran --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --with-bugurl=http://bugs.gentoo.org/ --with-pkgversion='Gentoo 4.3.2-r3 p1.6, pie-10.1.5' Thread model: posix gcc version 4.3.2 (Gentoo 4.3.2-r3 p1.6, pie-10.1.5) _______________________________________________ Chicken-users mailing list Chicken-users@nongnu.org http://lists.nongnu.org/mailman/listinfo/chicken-users