From: SourceForge.net <no...@so...> - 2010-09-26 22:45:26
|
Bugs item #3076160, was opened at 2010-09-27 00:33 Message generated for change (Comment added) made by setrlive You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=101355&aid=3076160&group_id=1355 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: i18n Group: build problems Status: Open Resolution: None Priority: 5 Private: No Submitted By: zumbi (setrlive) Assigned to: Bruno Haible (haible) Summary: Compiling CLISP 2.49 on ARM EABI Initial Comment: Hello, I tried to compile twice CLISP 2.49 on ARM EABI (Debian armel), it fails with following error: test -d boot || (mkdir boot && cd boot && for f in lisp.a libnoreadline.a libgnu_cl.a modules.h modules.o lisp.run lispinit.mem; do ln -s ../$f .; done && (grep -v '^FILES=' ../makevars; fl=''; for f in lisp.a libnoreadline.a libgnu_cl.a ; do fl=$fl' '`basename $f`; done; echo 'FILES='"'"$fl"'") > makevars) || (rm -rf boot ; exit 1) ./txt2c -I'/home/zumbi/clisp-2.49/' < /home/zumbi/clisp-2.49/src/_clisp.c > txt.c arm-linux-gnueabi-gcc -I/home/zumbi/clisp-2.49/debian/build/gllib -g -O2 -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wmissing-declarations -Wno-sign-compare -Wno-format-nonliteral -O2 -falign-functions=4 -DENABLE_UNICODE -DDYNAMIC_MODULES -I. -DCOMPILE_STANDALONE -O0 txt.c -o txt ./txt > clisp.c rm -f txt.c rm -f txt arm-linux-gnueabi-gcc -I/home/zumbi/clisp-2.49/debian/build/gllib -g -O2 -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wmissing-declarations -Wno-sign-compare -Wno-format-nonliteral -O2 -falign-functions=4 -DENABLE_UNICODE -DDYNAMIC_MODULES -I. -DENABLE_RELOCATABLE clisp.c /usr/lib/libreadline.so -lncurses -ldl /usr/lib/libavcall.so /usr/lib/libcallback.so -L/usr/lib -lsigsegv libgnu_cl.a -o clisp mkdir -p i18n m=`cd /home/zumbi/clisp-2.49/modules/i18n; pwd`; \ if test -f $m/configure -a $m/configure -nt i18n/config.status ; then ( cd i18n ; rm -rf gllib;\ cache=`echo i18n/ | sed -e 's,[^/][^/]*//*,../,g'`config.cache; \ if test -f ${cache} ; then \ . ${cache}; \ if test "${ac_cv_env_CC_set}" = set; then CC="${ac_cv_env_CC_value}"; export CC; fi; \ if test "${ac_cv_env_CFLAGS_set}" = set; then CFLAGS="${ac_cv_env_CFLAGS_value}"; export CFLAGS; fi; \ if test "${ac_cv_env_LDFLAGS_set}" = set; then LDFLAGS="${ac_cv_env_LDFLAGS_value}"; export LDFLAGS; fi; \ if test "${ac_cv_env_CLFLAGS_set}" = set; then CLFLAGS="${ac_cv_env_CLFLAGS_value}"; export CLFLAGS; fi; \ if test "${ac_cv_env_LIBS_set}" = set; then LIBS="${ac_cv_env_LIBS_value}"; export LIBS; fi; \ if test "${ac_cv_env_CPPFLAGS_set}" = set; then CPPFLAGS="${ac_cv_env_CPPFLAGS_value}"; export CPPFLAGS; fi; \ if test "${ac_cv_env_CPP_set}" = set; then CPP="${ac_cv_env_CPP_value}"; export CPP; fi; \ if test "${ac_cv_env_CXX_set}" = set; then CXX="${ac_cv_env_CXX_value}"; export CXX; fi; \ if test "${ac_cv_env_CXXFLAGS_set}" = set; then CXXFLAGS="${ac_cv_env_CXXFLAGS_value}"; export CXXFLAGS; fi; \ if test "${ac_cv_env_X_LIBS_set}" = set; then X_LIBS="${ac_cv_env_X_LIBS_value}"; export X_LIBS; fi; \ /bin/bash $m/configure --with-clisp="/home/zumbi/clisp-2.49/debian/build/clisp -K boot -E UTF-8 -Epathname 1:1 -Emisc 1:1 -norc" --cache-file=${cache} --srcdir=$m --disable-option-checking --with-readline --with-gettext;\ else \ /bin/bash $m/configure --srcdir=$m --disable-option-checking --with-readline --with-gettext; \ fi ) ;\ fi; \ test -f $m/Makefile -a $m/Makefile -nt i18n/Makefile && sed "s,srcdir = .,srcdir = $m," "$m/Makefile" > i18n/Makefile ; \ CLISP="/home/zumbi/clisp-2.49/debian/build/clisp -K boot -E UTF-8 -Epathname 1:1 -Emisc 1:1 -norc" ; \ cd i18n ; /usr/bin/make clisp-module CC="arm-linux-gnueabi-gcc" CPPFLAGS="-I/home/zumbi/clisp-2.49/debian/build/gllib -I/home/zumbi/clisp-2.49/debian/build" CFLAGS="-g -O2 -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wmissing-declarations -Wno-sign-compare -Wno-format-nonliteral -O2 -falign-functions=4 -DENABLE_UNICODE -DDYNAMIC_MODULES -I. -fPIC" CLFLAGS=" -Wl,--export-dynamic" LIBS="/usr/lib/libreadline.so -lncurses -ldl /usr/lib/libavcall.so /usr/lib/libcallback.so -L/usr/lib -lsigsegv libgnu_cl.a" RANLIB="ranlib" CLISP="$CLISP -q" SHREXT=.so configure: loading cache ../config.cache configure: error: `build_alias' was set to `arm-linux-gnueabi' in the previous run configure: error: in `/home/zumbi/clisp-2.49/debian/build/i18n': configure: error: changes in the environment can compromise the build configure: error: run `make distclean' and/or `rm ../config.cache' and start over make[2]: Entering directory `/home/zumbi/clisp-2.49/debian/build/i18n' make[2]: *** No rule to make target `clisp-module'. Stop. make[2]: Leaving directory `/home/zumbi/clisp-2.49/debian/build/i18n' make[1]: *** [i18n] Error 2 make[1]: Leaving directory `/home/zumbi/clisp-2.49/debian/build' make: *** [build-stamp] Error 2 dpkg-buildpackage: error: debian/rules build gave error exit status 2 Attached config.log and ../config.guess I am going to try to erase config.cache and rebuild ---------------------------------------------------------------------- >Comment By: zumbi (setrlive) Date: 2010-09-27 00:45 Message: config.log for later: It was created by i18n configure 1.0, which was generated by GNU Autoconf 2.65. Invocation command line was $ /home/zumbi/clisp-2.49/modules/i18n/configure --srcdir=/home/zumbi/clisp-2.49/modules/i18n --disable-option-checking --with-readline --with-gettext ## --------- ## ## Platform. ## ## --------- ## hostname = abel uname -m = armv5tel uname -r = 2.6.32 uname -s = Linux uname -v = #2 Wed Sep 22 17:47:11 UTC 2010 /usr/bin/uname -p = unknown /bin/uname -X = unknown /bin/arch = unknown /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown /usr/bin/hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /usr/local/bin PATH: /usr/bin PATH: /bin PATH: /usr/games ## ----------- ## ## Core tests. ## ## ----------- ## configure:2209: ** I18N (Common) configure:2211: checking how to remove colons from paths configure:2222: result: echo $x configure:2240: checking for clisp configure:2273: result: no configure:2333: checking for CLISP configure:2340: result: no configure:2343: error: CLISP not found ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_env_CC_set=set ac_cv_env_CC_value=arm-linux-gnueabi-gcc ac_cv_env_CFLAGS_set=set ac_cv_env_CFLAGS_value='-g -O2 -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wmissing-declarations -Wno-sign-compare -Wno-format-nonliteral -O2 -fali gn-functions=4 -DENABLE_UNICODE -DDYNAMIC_MODULES -I.' ac_cv_env_CPPFLAGS_set=set ac_cv_env_CPPFLAGS_value=-I/home/zumbi/clisp-2.49/debian/build/gllib ac_cv_env_CPP_set= ac_cv_env_CPP_value= ac_cv_env_LDFLAGS_set=set ac_cv_env_LDFLAGS_value= ac_cv_env_LIBS_set= ac_cv_env_LIBS_value= 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= cl_cv_clisp= cl_cv_decolonize='echo $x' cl_cv_have_clisp=no ## ----------------- ## ## Output variables. ## ## ----------------- ## CC='arm-linux-gnueabi-gcc' CFLAGS='-g -O2 -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wmissing-declarations -Wno-sign-compare -Wno-format-nonliteral -O2 -falign-functions=4 - DENABLE_UNICODE -DDYNAMIC_MODULES -I.' CLISP='' CLISP_CFLAGS='' CLISP_CPPFLAGS='' CLISP_DECOLONIZE='echo $x' CLISP_FILES='' CLISP_LIBDIR='' CLISP_LIBS='' CLISP_LINKKIT='' CPP='' CPPFLAGS='-I/home/zumbi/clisp-2.49/debian/build/gllib' [...] ---------------------------------------------------------------------- Comment By: zumbi (setrlive) Date: 2010-09-27 00:39 Message: Removing the ../config.cache file produces this new error: make[2]: Leaving directory `/home/zumbi/clisp-2.49/debian/build/gllib' test -r libgnu_cl.a || ln -s gllib/libgnu.a libgnu_cl.a test -d boot || (mkdir boot && cd boot && for f in lisp.a libnoreadline.a libgnu_cl.a modules.h modules.o lisp.run lispinit.mem; do ln -s ../$f .; done && (grep -v '^FILES=' ../makevars; fl=''; for f in lisp.a libnoreadline.a libgnu_cl.a ; do fl=$fl' '`basename $f`; done; echo 'FILES='"'"$fl"'") > makevars) || (rm -rf boot ; exit 1) mkdir -p i18n m=`cd /home/zumbi/clisp-2.49/modules/i18n; pwd`; \ if test -f $m/configure -a $m/configure -nt i18n/config.status ; then ( cd i18n ; rm -rf gllib;\ cache=`echo i18n/ | sed -e 's,[^/][^/]*//*,../,g'`config.cache; \ if test -f ${cache} ; then \ . ${cache}; \ if test "${ac_cv_env_CC_set}" = set; then CC="${ac_cv_env_CC_value}"; export CC; fi; \ if test "${ac_cv_env_CFLAGS_set}" = set; then CFLAGS="${ac_cv_env_CFLAGS_value}"; export CFLAGS; fi; \ if test "${ac_cv_env_LDFLAGS_set}" = set; then LDFLAGS="${ac_cv_env_LDFLAGS_value}"; export LDFLAGS; fi; \ if test "${ac_cv_env_CLFLAGS_set}" = set; then CLFLAGS="${ac_cv_env_CLFLAGS_value}"; export CLFLAGS; fi; \ if test "${ac_cv_env_LIBS_set}" = set; then LIBS="${ac_cv_env_LIBS_value}"; export LIBS; fi; \ if test "${ac_cv_env_CPPFLAGS_set}" = set; then CPPFLAGS="${ac_cv_env_CPPFLAGS_value}"; export CPPFLAGS; fi; \ if test "${ac_cv_env_CPP_set}" = set; then CPP="${ac_cv_env_CPP_value}"; export CPP; fi; \ if test "${ac_cv_env_CXX_set}" = set; then CXX="${ac_cv_env_CXX_value}"; export CXX; fi; \ if test "${ac_cv_env_CXXFLAGS_set}" = set; then CXXFLAGS="${ac_cv_env_CXXFLAGS_value}"; export CXXFLAGS; fi; \ if test "${ac_cv_env_X_LIBS_set}" = set; then X_LIBS="${ac_cv_env_X_LIBS_value}"; export X_LIBS; fi; \ /bin/bash $m/configure --with-clisp="/home/zumbi/clisp-2.49/debian/build/clisp -K boot -E UTF-8 -Epathname 1:1 -Emisc 1:1 -norc" --cache-file=${cache} --srcdir=$m --disable-option-checking --with-readline --with-gettext;\ else \ /bin/bash $m/configure --srcdir=$m --disable-option-checking --with-readline --with-gettext; \ fi ) ;\ fi; \ test -f $m/Makefile -a $m/Makefile -nt i18n/Makefile && sed "s,srcdir = .,srcdir = $m," "$m/Makefile" > i18n/Makefile ; \ CLISP="/home/zumbi/clisp-2.49/debian/build/clisp -K boot -E UTF-8 -Epathname 1:1 -Emisc 1:1 -norc" ; \ cd i18n ; /usr/bin/make clisp-module CC="arm-linux-gnueabi-gcc" CPPFLAGS="-I/home/zumbi/clisp-2.49/debian/build/gllib -I/home/zumbi/clisp-2.49/debian/build" CFLAGS="-g -O2 -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wmissing-declarations -Wno-sign-compare -Wno-format-nonliteral -O2 -falign-functions=4 -DENABLE_UNICODE -DDYNAMIC_MODULES -I. -fPIC" CLFLAGS=" -Wl,--export-dynamic" LIBS="/usr/lib/libreadline.so -lncurses -ldl /usr/lib/libavcall.so /usr/lib/libcallback.so -L/usr/lib -lsigsegv libgnu_cl.a" RANLIB="ranlib" CLISP="$CLISP -q" SHREXT=.so configure: ** I18N (Common) checking how to remove colons from paths... echo $x checking for clisp... no checking for CLISP... no configure: error: CLISP not found make[2]: Entering directory `/home/zumbi/clisp-2.49/debian/build/i18n' make[2]: *** No rule to make target `clisp-module'. Stop. make[2]: Leaving directory `/home/zumbi/clisp-2.49/debian/build/i18n' make[1]: *** [i18n] Error 2 make[1]: Leaving directory `/home/zumbi/clisp-2.49/debian/build' make: *** [build-stamp] Error 2 dpkg-buildpackage: error: debian/rules build gave error exit status 2 ---------------------------------------------------------------------- Comment By: zumbi (setrlive) Date: 2010-09-27 00:37 Message: I could not attach config.log, so I paste here: $ cat config.log This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by i18n configure 1.0, which was generated by GNU Autoconf 2.65. Invocation command line was $ /home/zumbi/clisp-2.49/modules/i18n/configure --with-clisp=/home/zumbi/clisp-2.49/debian/build/clisp -K boot -E UTF-8 -Epathname 1:1 -Emisc 1:1 -norc --cache-file=../config.cache --srcdir=/home/zumbi/clisp-2.49/modules/i18n --disable-option-checking --with-readline --with-gettext ## --------- ## ## Platform. ## ## --------- ## hostname = abel uname -m = armv5tel uname -r = 2.6.32 uname -s = Linux uname -v = #2 Wed Sep 22 17:47:11 UTC 2010 /usr/bin/uname -p = unknown /bin/uname -X = unknown /bin/arch = unknown /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown /usr/bin/hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /usr/local/bin PATH: /usr/bin PATH: /bin PATH: /usr/games ## ----------- ## ## Core tests. ## ## ----------- ## configure:2077: loading cache ../config.cache configure:2102: error: `build_alias' was set to `arm-linux-gnueabi' in the previous run configure:2143: error: in `/home/zumbi/clisp-2.49/debian/build/i18n': configure:2145: error: changes in the environment can compromise the build configure:2147: error: run `make distclean' and/or `rm ../config.cache' and start over ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_build=arm-unknown-linux-gnueabi ac_cv_c_bigendian=no ac_cv_c_char_unsigned=yes ac_cv_c_compiler_gnu=yes ac_cv_c_inline=inline [...] Let me know if you need more info. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=101355&aid=3076160&group_id=1355 |