|
From: Angel P. <ang...@ya...> - 2011-06-26 19:03:46
|
Hi,
I have tried to build latest clisp on the latest cygwin
./configure --ignore-absence-of-libsigsegv succeed, but
make failed
the end of make messages are:
...
test -r libgnu.a || ln -s gllib/libgnu.a libgnu.a
test -d boot || (mkdir boot && cd boot && for f in lisp.a libnoreadline.a libgnu.a lisp.def modules.h modules.o lisp.exe
ispinit.mem; do ln -s ../$f .; done && (grep -v '^FILES=' ../makevars; fl=''; for f in lisp.a libnoreadline.a libgnu.a li
p.def; do fl=$fl' '`basename $f`; done; echo 'FILES='"'"$fl"'") > makevars) || (rm -rf boot ; exit 1)
mkdir -p i18n
m=`cd ../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/sh $m/configure --with-clisp="C:/packages/clisp/src/clisp -K boot -E UTF-8 -Emisc 1:1 -Epathname 1:1 -
orc" --cache-file=${cache} --srcdir=$m '--disable-option-checking' '--cache-file=config.cache';\
else \
/bin/sh $m/configure --srcdir=$m '--disable-option-checking' '--cache-file=config.cache'; \
fi ) ;\
fi; \
test -f $m/Makefile -a $m/Makefile -nt i18n/Makefile && sed "s,srcdir = .,srcdir = $m," "$m/Makefile" > i18n/Makef
le ; \
CLISP="C:/packages/clisp/src/clisp -K boot -E UTF-8 -Emisc 1:1 -Epathname 1:1 -norc" ; \
cd i18n ; /usr/bin/make clisp-module CC="gcc" CPPFLAGS="-I/cygdrive/c/packages/clisp/src/gllib -I/cygdrive/c/packa
es/clisp/src" CFLAGS="-g -O2 -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wmissing-declarations -Wno-si
n-compare -Wno-format-nonliteral -O2 -fexpensive-optimizations -falign-functions=4 -DENABLE_UNICODE -DDYNAMIC_MODULES -I.
-DDLL_EXPORT -DPIC" CLFLAGS=" -Wl,--export-all-symbols" LIBS="-lintl -lreadline -lncurses -liconv libgnu.a " RANLIB="ran
ib" CLISP="$CLISP -q" SHREXT=.dll
configure: loading cache config.cache
configure: ** I18N (Common)
checking how to remove colons from paths... echo $x
checking for CLISP version... 2.49+ (2010-07-17) (built 3518098306) (memory 3518098696)
checking for CLISP libdir... /cygdrive/c/packages/clisp/src/
checking for CLISP linking set... missing lisp.a lispinit.mem modules.h modules.o makevars
sed: can't read missing: No such file or directory
sed: can't read lisp.a: No such file or directory
sed: can't read lispinit.mem: No such file or directory
sed: can't read modules.h: No such file or directory
sed: can't read modules.o: No such file or directory
sed: can't read makevars/makevars: No such file or directory
/cygdrive/c/packages/clisp/modules/i18n/configure: line 2315: test: too many arguments
checking for CLISP... no
configure: error: CLISP not found
make[1]: Entering directory `/cygdrive/c/packages/clisp/src/i18n'
make[1]: *** No rule to make target `clisp-module'. Stop.
make[1]: Leaving directory `/cygdrive/c/packages/clisp/src/i18n'
make: *** [i18n] Error 2
make: *** No targets specified and no makefile found. Stop.
make: *** No targets specified and no makefile found. Stop.
make: *** No targets specified and no makefile found. Stop.
make: *** No targets specified and no makefile found. Stop.
make: *** No targets specified and no makefile found. Stop.
after looking at config.log in i18n
it looks that --with-clisp= .... parameter causes problems. I have tried with "/cygwin/c/packages/clisp -K..." and it completes without error.
Here is the original i18n/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
$ /cygdrive/c/packages/clisp/modules/i18n/configure --with-clisp=C:/packages/clisp/src/clisp -K boot -E UTF-8 -Emisc 1:1 -Epathname 1:1 -norc --cache-file=../config.cache --srcdir=/cygdrive/c/packages/clisp/modules/i18n --disable-option-checking --cache-file=config.cache
## --------- ##
## Platform. ##
## --------- ##
hostname = zdravec
uname -m = i686
uname -r = 1.7.9(0.237/5/3)
uname -s = CYGWIN_NT-5.1
uname -v = 2011-03-29 10:10
/usr/bin/uname -p = unknown
/bin/uname -X = unknown
/bin/arch = i686
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
## ----------- ##
## Core tests. ##
## ----------- ##
configure:2064: loading cache config.cache
configure:2194: ** I18N (Common)
configure:2196: checking how to remove colons from paths
configure:2207: result: echo $x
configure:2266: checking for CLISP version
configure:2276: result: 2.49+ (2010-07-17) (built 3518098306) (memory 3518098696)
configure:2278: checking for CLISP libdir
configure:2293: result: /cygdrive/c/packages/clisp/src/
configure:2295: checking for CLISP linking set
configure:2310: result: missing lisp.a lispinit.mem modules.h modules.o makevars
configure:2318: checking for CLISP
configure:2325: result: no
configure:2328: error: CLISP not found
Regards, AngelP |
|
From: Sam S. <sd...@gn...> - 2011-07-06 16:27:24
|
> * Angel Popov <nat...@ln...> [2011-06-26 12:03:38 -0700]: > > I have tried to build latest clisp on the latest cygwin > ./configure --ignore-absence-of-libsigsegv succeed, but it would be nice to see the final messages. also, I suggest that you build in a separate directory. it makes it easier to debug, cleanup, have several different builds at the same time &c. just do ./configure .... build-dir are you building in "c:/packages/clisp"? > make failed > the end of make messages are: > ... > test -r libgnu.a || ln -s gllib/libgnu.a libgnu.a > test -d boot || (mkdir boot && cd boot && for f in lisp.a > libnoreadline.a libgnu.a lisp.def modules.h modules.o lisp.exe > ispinit.mem; do ln -s ../$f .; done && (grep -v '^FILES=' ../makevars; > fl=''; for f in lisp.a libnoreadline.a libgnu.a li > p.def; do fl=$fl' '`basename $f`; done; echo 'FILES='"'"$fl"'") > > makevars) || (rm -rf boot ; exit 1) cool. so, what does ls -la c:/packages/clisp/src/boot say? > configure: ** I18N (Common) > checking how to remove colons from paths... echo $x > checking for CLISP version... 2.49+ (2010-07-17) (built 3518098306) (memory 3518098696) > checking for CLISP libdir... /cygdrive/c/packages/clisp/src/ > checking for CLISP linking set... missing lisp.a lispinit.mem modules.h modules.o makevars > sed: can't read missing: No such file or directory > sed: can't read lisp.a: No such file or directory > sed: can't read lispinit.mem: No such file or directory > sed: can't read modules.h: No such file or directory > sed: can't read modules.o: No such file or directory > sed: can't read makevars/makevars: No such file or directory what does ls -la c:/packages/clisp/src/linkkit > it looks that --with-clisp= .... parameter causes problems. I have tried > with "/cygwin/c/packages/clisp -K..." and it completes without error. you mean this cannot be executed by cygwin?! C:/packages/clisp/src/clisp -K boot -E UTF-8 -Emisc 1:1 -Epathname 1:1 -norc -- Sam Steingold (http://sds.podval.org/) on CentOS release 5.6 (Final) X 11.0.60900031 http://honestreporting.com http://iris.org.il http://openvotingconsortium.org http://thereligionofpeace.com http://truepeace.org http://jihadwatch.org (when (or despair hope) (cerror "Accept life as is." "Bad attitude.")) |
|
From: Angel P. <ang...@ya...> - 2011-07-08 15:05:18
|
Hi, I have tried with the latest sources. './configure build' ends with: configure: updating cache config.cache configure: creating ./config.status config.status: creating po/Makefile.in config.status: creating gllib/Makefile config.status: creating makemake config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands config.status: executing po-directories commands config.status: creating po/POTFILES config.status: creating po/Makefile Configure findings: FFI: yes (user requested: default) readline: yes (user requested: default) libsigsegv: yes ./makemake --with-dynamic-ffi --srcdir=../src > Makefile cp -p ../src/cfgunix.lisp config.lisp chmod +w config.lisp echo '(setq *clhs-root-default* "http://www.ai.mit.edu/projects/iiip/doc/CommonLISP/HyperSpec/")' >> config.lisp echo '(setq *device-prefix* "cygdrive")' >> config.lisp To continue building CLISP, the following commands are recommended (cf. unix/INSTALL step 4 ff): cd build vi config.lisp # The default stack size on your platform is insufficient # and must be increased to at least 16384. You must do either # 'ulimit -s 16384' (for Bourne shell derivatives, e.g., bash and zsh) # or 'limit stacksize 16384' (for C shell derivarives, e.g., tcsh) make make check make ends with gcc -I/cygdrive/c/packages/clisp/build/gllib -g -O2 -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wmissing-declarations -Wno-sign-compare -Wno-format-nonl iteral -O2 -fexpensive-optimizations -falign-functions=4 -DENABLE_UNICODE -DDYNAMIC_FFI -DDYNAMIC_MODULES -I. -DCOMPILE_STANDALONE -O0 txt.c -o txt ./txt > clisp.c rm -f txt.c rm -f txt gcc -I/cygdrive/c/packages/clisp/build/gllib -g -O2 -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wmissing-declarations -Wno-sign-compare -Wno-format-nonl iteral -O2 -fexpensive-optimizations -falign-functions=4 -DENABLE_UNICODE -DDYNAMIC_FFI -DDYNAMIC_MODULES -I. -DENABLE_RELOCATABLE clisp.c -lintl -lreadline -lncurses -lav call -lcallback -lsigsegv libgnu.a -o clisp.exe mkdir -p i18n m=`cd ../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/sh $m/configure --with-clisp="C:/packages/clisp/build/clisp -K boot -E UTF-8 -Emisc 1:1 -Epathname 1:1 -norc" --cache-file=${cache} --srcdir=$m '--disab le-option-checking' '--cache-file=config.cache';\ else \ /bin/sh $m/configure --srcdir=$m '--disable-option-checking' '--cache-file=config.cache'; \ fi ) ;\ fi; \ test -f $m/Makefile -a $m/Makefile -nt i18n/Makefile && sed "s,srcdir = .,srcdir = $m," "$m/Makefile" > i18n/Makefile ; \ CLISP="C:/packages/clisp/build/clisp -K boot -E UTF-8 -Emisc 1:1 -Epathname 1:1 -norc" ; \ cd i18n ; make clisp-module CC="gcc" CPPFLAGS="-I/cygdrive/c/packages/clisp/build/gllib -I/cygdrive/c/packages/clisp/build" CFLAGS="-g -O2 -W -Wswitch -Wcomment -Wp ointer-arith -Wimplicit -Wreturn-type -Wmissing-declarations -Wno-sign-compare -Wno-format-nonliteral -O2 -fexpensive-optimizations -falign-functions=4 -DENABLE_UNICODE -DD YNAMIC_FFI -DDYNAMIC_MODULES -I. -DDLL_EXPORT -DPIC" CLFLAGS=" -Wl,--export-all-symbols" LIBS="-lintl -lreadline -lncurses -lavcall -lcallback -lsigsegv libgnu.a " RANLIB ="ranlib" CLISP="$CLISP -q" SHREXT=.dll configure: creating cache config.cache configure: ** I18N (Common) checking how to remove colons from paths... echo $x checking for CLISP version... 2.49+ (2010-07-17) (built 3519124703) (memory 3519124897) checking for CLISP libdir... /cygdrive/c/packages/clisp/build/ checking for CLISP linking set... missing lisp.a lispinit.mem modules.h modules.o makevars sed: can't read missing: No such file or directory sed: can't read lisp.a: No such file or directory sed: can't read lispinit.mem: No such file or directory sed: can't read modules.h: No such file or directory sed: can't read modules.o: No such file or directory sed: can't read makevars/makevars: No such file or directory checking for CLISP... no configure: error: CLISP not found make[1]: Entering directory `/cygdrive/c/packages/clisp/build/i18n' make[1]: *** No rule to make target `clisp-module'. Stop. make[1]: Leaving directory `/cygdrive/c/packages/clisp/build/i18n' make: *** [i18n] Error 2 $ ls -la c:/packages/clisp/build/boot total 9 drwxr-xr-x 1 angel None 0 Jul 8 17:41 . drwxr-xr-x 1 angel None 0 Jul 8 17:41 .. lrwxrwxrwx 1 angel None 11 Jul 8 17:41 libgnu.a -> ../libgnu.a lrwxrwxrwx 1 angel None 18 Jul 8 17:41 libnoreadline.a -> ../libnoreadline.a lrwxrwxrwx 1 angel None 9 Jul 8 17:41 lisp.a -> ../lisp.a lrwxrwxrwx 1 angel None 11 Jul 8 17:41 lisp.def -> ../lisp.def lrwxrwxrwx 1 angel None 11 Jul 8 17:41 lisp.exe -> ../lisp.exe lrwxrwxrwx 1 angel None 15 Jul 8 17:41 lispinit.mem -> ../lispinit.mem -rw-r--r-- 1 angel None 531 Jul 8 17:41 makevars lrwxrwxrwx 1 angel None 12 Jul 8 17:41 modules.h -> ../modules.h lrwxrwxrwx 1 angel None 12 Jul 8 17:41 modules.o -> ../modules.o $ ls -la c:/packages/clisp/build/linkkit total 3 drwxr-xr-x 1 angel None 0 Jul 8 17:41 . drwxr-xr-x 1 angel None 0 Jul 8 17:41 .. lrwxrwxrwx 1 angel None 10 Jul 8 17:41 clisp.h -> ../clisp.h lrwxrwxrwx 1 angel None 15 Jul 8 17:41 modprep.lisp -> ../modprep.lisp lrwxrwxrwx 1 angel None 12 Jul 8 17:41 modules.c -> ../modules.c >> with "/cygwin/c/packages/clisp -K..." and it completes without error. >you mean this cannot be executed by cygwin?! >C:/packages/clisp/src/clisp -K boot -E UTF-8 -Emisc 1:1 -Epathname 1:1 -norc I mean that $ /cygdrive/c/packages/clisp/modules/i18n/configure --with-clisp=C:/packages/clisp/build/clisp -K boot -E UTF-8 -Emisc 1:1 -Epathname 1:1 -norc --cache-file=../config.cache --srcdir=/cygdrive/c/packages/clisp/modules/i18n --disable-option-checking --cache-file=config.cache configure: error: unrecognized option: `-K' Try `/cygdrive/c/packages/clisp/modules/i18n/configure --help' for more information. but $ /cygdrive/c/packages/clisp/modules/i18n/configure --with-clisp="C:/packages/clisp/build/clisp -K boot -E UTF-8 -Emisc 1:1 -Epathname 1:1 -norc" --cache-file=../config.cache --srcdir=/cygdrive/c/packages/clisp/modules/i18n --disable-option-checking --cache-file=config.cache goes little further - configure: loading cache config.cache configure: ** I18N (Common) checking how to remove colons from paths... echo $x checking for CLISP version... 2.49+ (2010-07-17) (built 3519124703) (memory 3519124897) checking for CLISP libdir... /cygdrive/c/packages/clisp/build/ checking for CLISP linking set... missing lisp.a lispinit.mem modules.h modules.o makevars sed: can't read missing: No such file or directory sed: can't read lisp.a: No such file or directory sed: can't read lispinit.mem: No such file or directory sed: can't read modules.h: No such file or directory sed: can't read modules.o: No such file or directory sed: can't read makevars/makevars: No such file or directory checking for CLISP... no configure: error: CLISP not found Hope it helps. If you prefer, I could wait build with mingw - the other thread - to succeed and after that to continue? Regards, AngelP ________________________________ From: Sam Steingold <sd...@gn...> To: cli...@li...; Angel Popov <ang...@ya...> Sent: Wednesday, July 6, 2011 6:21 PM Subject: Re: Build on cygwin/windows has failed > * Angel Popov <nat...@ln...> [2011-06-26 12:03:38 -0700]: > > I have tried to build latest clisp on the latest cygwin > ./configure --ignore-absence-of-libsigsegv succeed, but it would be nice to see the final messages. also, I suggest that you build in a separate directory. it makes it easier to debug, cleanup, have several different builds at the same time &c. just do ./configure .... build-dir are you building in "c:/packages/clisp"? > make failed > the end of make messages are: > ... > test -r libgnu.a || ln -s gllib/libgnu.a libgnu.a > test -d boot || (mkdir boot && cd boot && for f in lisp.a > libnoreadline.a libgnu.a lisp.def modules.h modules.o lisp.exe > ispinit.mem; do ln -s ../$f .; done && (grep -v '^FILES=' ../makevars; > fl=''; for f in lisp.a libnoreadline.a libgnu.a li > p.def; do fl=$fl' '`basename $f`; done; echo 'FILES='"'"$fl"'") > > makevars) || (rm -rf boot ; exit 1) cool. so, what does ls -la c:/packages/clisp/src/boot say? > configure: ** I18N (Common) > checking how to remove colons from paths... echo $x > checking for CLISP version... 2.49+ (2010-07-17) (built 3518098306) (memory 3518098696) > checking for CLISP libdir... /cygdrive/c/packages/clisp/src/ > checking for CLISP linking set... missing lisp.a lispinit.mem modules.h modules.o makevars > sed: can't read missing: No such file or directory > sed: can't read lisp.a: No such file or directory > sed: can't read lispinit.mem: No such file or directory > sed: can't read modules.h: No such file or directory > sed: can't read modules.o: No such file or directory > sed: can't read makevars/makevars: No such file or directory what does ls -la c:/packages/clisp/src/linkkit > it looks that --with-clisp= .... parameter causes problems. I have tried > with "/cygwin/c/packages/clisp -K..." and it completes without error. you mean this cannot be executed by cygwin?! C:/packages/clisp/src/clisp -K boot -E UTF-8 -Emisc 1:1 -Epathname 1:1 -norc -- Sam Steingold (http://sds.podval.org/) on CentOS release 5.6 (Final) X 11.0.60900031 http://honestreporting.com http://iris.org.il http://openvotingconsortium.org http://thereligionofpeace.com http://truepeace.org http://jihadwatch.org (when (or despair hope) (cerror "Accept life as is." "Bad attitude.")) |
|
From: Angel P. <ang...@ya...> - 2011-07-08 15:11:25
|
Sorry, the last configure was executed in wrong directory, the real output is angel@bozhur /cygdrive/c/packages/clisp/build $ /cygdrive/c/packages/clisp/modules/i18n/configure --with-clisp="C:/packages/clisp/build/clisp -K boot -E UTF-8 -Emisc 1:1 -Epathname 1:1 -norc" --cache-file=../config.c ache --srcdir=/cygdrive/c/packages/clisp/modules/i18n --disable-option-checking --cache-file=config.cache configure: loading cache config.cache configure: ** I18N (Common) checking how to remove colons from paths... (cached) cygpath --unix $x checking for CLISP version... 2.49+ (2010-07-17) (built 3519124703) (memory 3519124897) checking for CLISP libdir... /cygdrive/c/packages/clisp/build/ checking for CLISP linking set... . checking for CLISP... yes checking for gcc... (cached) gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.exe checking for suffix of executables... .exe checking whether we are cross compiling... no checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking how to run the C preprocessor... (cached) gcc -E checking how to make hard links... (cached) ln checking whether ln -s works... (cached) yes checking build system type... (cached) i686-pc-cygwin checking host system type... (cached) i686-pc-cygwin checking for grep that handles long lines and -e... (cached) /usr/bin/grep checking for egrep... (cached) /usr/bin/grep -E checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for minix/config.h... (cached) no checking whether it is safe to define __EXTENSIONS__... (cached) yes configure: ** I18N (locale) checking for localeconv... yes checking for struct lconv.int_p_cs_precedes... yes checking for struct lconv.int_n_cs_precedes... yes checking for struct lconv.int_p_sep_by_space... yes checking for struct lconv.int_n_sep_by_space... yes checking for struct lconv.int_p_sign_posn... yes checking for struct lconv.int_n_sign_posn... yes configure: ** I18N (Output) configure: updating cache config.cache configure: creating ./config.status config.status: creating Makefile config.status: creating link.sh config.status: creating config.h configure: ** I18N (Done) ________________________________ From: Angel Popov <ang...@ya...> To: "cli...@li..." <cli...@li...> Sent: Friday, July 8, 2011 6:05 PM Subject: Re: Build on cygwin/windows has failed Hi, I have tried with the latest sources. './configure build' ends with: configure: updating cache config.cache configure: creating ./config.status config.status: creating po/Makefile.in config.status: creating gllib/Makefile config.status: creating makemake config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands config.status: executing po-directories commands config.status: creating po/POTFILES config.status: creating po/Makefile Configure findings: FFI: yes (user requested: default) readline: yes (user requested: default) libsigsegv: yes ./makemake --with-dynamic-ffi --srcdir=../src > Makefile cp -p ../src/cfgunix.lisp config.lisp chmod +w config.lisp echo '(setq *clhs-root-default* "http://www.ai.mit.edu/projects/iiip/doc/CommonLISP/HyperSpec/")' >> config.lisp echo '(setq *device-prefix* "cygdrive")' >> config.lisp To continue building CLISP, the following commands are recommended (cf. unix/INSTALL step 4 ff): cd build vi config.lisp # The default stack size on your platform is insufficient # and must be increased to at least 16384. You must do either # 'ulimit -s 16384' (for Bourne shell derivatives, e.g., bash and zsh) # or 'limit stacksize 16384' (for C shell derivarives, e.g., tcsh) make make check make ends with gcc -I/cygdrive/c/packages/clisp/build/gllib -g -O2 -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wmissing-declarations -Wno-sign-compare -Wno-format-nonl iteral -O2 -fexpensive-optimizations -falign-functions=4 -DENABLE_UNICODE -DDYNAMIC_FFI -DDYNAMIC_MODULES -I. -DCOMPILE_STANDALONE -O0 txt.c -o txt ./txt > clisp.c rm -f txt.c rm -f txt gcc -I/cygdrive/c/packages/clisp/build/gllib -g -O2 -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wmissing-declarations -Wno-sign-compare -Wno-format-nonl iteral -O2 -fexpensive-optimizations -falign-functions=4 -DENABLE_UNICODE -DDYNAMIC_FFI -DDYNAMIC_MODULES -I. -DENABLE_RELOCATABLE clisp.c -lintl -lreadline -lncurses -lav call -lcallback -lsigsegv libgnu.a -o clisp.exe mkdir -p i18n m=`cd ../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/sh $m/configure --with-clisp="C:/packages/clisp/build/clisp -K boot -E UTF-8 -Emisc 1:1 -Epathname 1:1 -norc" --cache-file=${cache} --srcdir=$m '--disab le-option-checking' '--cache-file=config.cache';\ else \ /bin/sh $m/configure --srcdir=$m '--disable-option-checking' '--cache-file=config.cache'; \ fi ) ;\ fi; \ test -f $m/Makefile -a $m/Makefile -nt i18n/Makefile && sed "s,srcdir = .,srcdir = $m," "$m/Makefile" > i18n/Makefile ; \ CLISP="C:/packages/clisp/build/clisp -K boot -E UTF-8 -Emisc 1:1 -Epathname 1:1 -norc" ; \ cd i18n ; make clisp-module CC="gcc" CPPFLAGS="-I/cygdrive/c/packages/clisp/build/gllib -I/cygdrive/c/packages/clisp/build" CFLAGS="-g -O2 -W -Wswitch -Wcomment -Wp ointer-arith -Wimplicit -Wreturn-type -Wmissing-declarations -Wno-sign-compare -Wno-format-nonliteral -O2 -fexpensive-optimizations -falign-functions=4 -DENABLE_UNICODE -DD YNAMIC_FFI -DDYNAMIC_MODULES -I. -DDLL_EXPORT -DPIC" CLFLAGS=" -Wl,--export-all-symbols" LIBS="-lintl -lreadline -lncurses -lavcall -lcallback -lsigsegv libgnu.a " RANLIB ="ranlib" CLISP="$CLISP -q" SHREXT=.dll configure: creating cache config.cache configure: ** I18N (Common) checking how to remove colons from paths... echo $x checking for CLISP version... 2.49+ (2010-07-17) (built 3519124703) (memory 3519124897) checking for CLISP libdir... /cygdrive/c/packages/clisp/build/ checking for CLISP linking set... missing lisp.a lispinit.mem modules.h modules.o makevars sed: can't read missing: No such file or directory sed: can't read lisp.a: No such file or directory sed: can't read lispinit.mem: No such file or directory sed: can't read modules.h: No such file or directory sed: can't read modules.o: No such file or directory sed: can't read makevars/makevars: No such file or directory checking for CLISP... no configure: error: CLISP not found make[1]: Entering directory `/cygdrive/c/packages/clisp/build/i18n' make[1]: *** No rule to make target `clisp-module'. Stop. make[1]: Leaving directory `/cygdrive/c/packages/clisp/build/i18n' make: *** [i18n] Error 2 $ ls -la c:/packages/clisp/build/boot total 9 drwxr-xr-x 1 angel None 0 Jul 8 17:41 . drwxr-xr-x 1 angel None 0 Jul 8 17:41 .. lrwxrwxrwx 1 angel None 11 Jul 8 17:41 libgnu.a -> ../libgnu.a lrwxrwxrwx 1 angel None 18 Jul 8 17:41 libnoreadline.a -> ../libnoreadline.a lrwxrwxrwx 1 angel None 9 Jul 8 17:41 lisp.a -> ../lisp.a lrwxrwxrwx 1 angel None 11 Jul 8 17:41 lisp.def -> ../lisp.def lrwxrwxrwx 1 angel None 11 Jul 8 17:41 lisp.exe -> ../lisp.exe lrwxrwxrwx 1 angel None 15 Jul 8 17:41 lispinit.mem -> ../lispinit.mem -rw-r--r-- 1 angel None 531 Jul 8 17:41 makevars lrwxrwxrwx 1 angel None 12 Jul 8 17:41 modules.h -> ../modules.h lrwxrwxrwx 1 angel None 12 Jul 8 17:41 modules.o -> ../modules.o $ ls -la c:/packages/clisp/build/linkkit total 3 drwxr-xr-x 1 angel None 0 Jul 8 17:41 . drwxr-xr-x 1 angel None 0 Jul 8 17:41 .. lrwxrwxrwx 1 angel None 10 Jul 8 17:41 clisp.h -> ../clisp.h lrwxrwxrwx 1 angel None 15 Jul 8 17:41 modprep.lisp -> ../modprep.lisp lrwxrwxrwx 1 angel None 12 Jul 8 17:41 modules.c -> ../modules.c >> with "/cygwin/c/packages/clisp -K..." and it completes without error. >you mean this cannot be executed by cygwin?! >C:/packages/clisp/src/clisp -K boot -E UTF-8 -Emisc 1:1 -Epathname 1:1 -norc I mean that $ /cygdrive/c/packages/clisp/modules/i18n/configure --with-clisp=C:/packages/clisp/build/clisp -K boot -E UTF-8 -Emisc 1:1 -Epathname 1:1 -norc --cache-file=../config.cache --srcdir=/cygdrive/c/packages/clisp/modules/i18n --disable-option-checking --cache-file=config.cache configure: error: unrecognized option: `-K' Try `/cygdrive/c/packages/clisp/modules/i18n/configure --help' for more information. but $ /cygdrive/c/packages/clisp/modules/i18n/configure --with-clisp="C:/packages/clisp/build/clisp -K boot -E UTF-8 -Emisc 1:1 -Epathname 1:1 -norc" --cache-file=../config.cache --srcdir=/cygdrive/c/packages/clisp/modules/i18n --disable-option-checking --cache-file=config.cache goes little further - configure: loading cache config.cache configure: ** I18N (Common) checking how to remove colons from paths... echo $x checking for CLISP version... 2.49+ (2010-07-17) (built 3519124703) (memory 3519124897) checking for CLISP libdir... /cygdrive/c/packages/clisp/build/ checking for CLISP linking set... missing lisp.a lispinit.mem modules.h modules.o makevars sed: can't read missing: No such file or directory sed: can't read lisp.a: No such file or directory sed: can't read lispinit.mem: No such file or directory sed: can't read modules.h: No such file or directory sed: can't read modules.o: No such file or directory sed: can't read makevars/makevars: No such file or directory checking for CLISP... no configure: error: CLISP not found Hope it helps. If you prefer, I could wait build with mingw - the other thread - to succeed and after that to continue? Regards, AngelP ________________________________ From: Sam Steingold <sd...@gn...> To: cli...@li...; Angel Popov <ang...@ya...> Sent: Wednesday, July 6, 2011 6:21 PM Subject: Re: Build on cygwin/windows has failed > * Angel Popov <nat...@ln...> [2011-06-26 12:03:38 -0700]: > > I have tried to build latest clisp on the latest cygwin > ./configure --ignore-absence-of-libsigsegv succeed, but it would be nice to see the final messages. also, I suggest that you build in a separate directory. it makes it easier to debug, cleanup, have several different builds at the same time &c. just do ./configure .... build-dir are you building in "c:/packages/clisp"? > make failed > the end of make messages are: > ... > test -r libgnu.a || ln -s gllib/libgnu.a libgnu.a > test -d boot || (mkdir boot && cd boot && for f in lisp.a > libnoreadline.a libgnu.a lisp.def modules.h modules.o lisp.exe > ispinit.mem; do ln -s ../$f .; done && (grep -v '^FILES=' ../makevars; > fl=''; for f in lisp.a libnoreadline.a libgnu.a li > p.def; do fl=$fl' '`basename $f`; done; echo 'FILES='"'"$fl"'") > > makevars) || (rm -rf boot ; exit 1) cool. so, what does ls -la c:/packages/clisp/src/boot say? > configure: ** I18N (Common) > checking how to remove colons from paths... echo $x > checking for CLISP version... 2.49+ (2010-07-17) (built 3518098306) (memory 3518098696) > checking for CLISP libdir... /cygdrive/c/packages/clisp/src/ > checking for CLISP linking set... missing lisp.a lispinit.mem modules.h modules.o makevars > sed: can't read missing: No such file or directory > sed: can't read lisp.a: No such file or directory > sed: can't read lispinit.mem: No such file or directory > sed: can't read modules.h: No such file or directory > sed: can't read modules.o: No such file or directory > sed: can't read makevars/makevars: No such file or directory what does ls -la c:/packages/clisp/src/linkkit > it looks that --with-clisp= .... parameter causes problems. I have tried > with "/cygwin/c/packages/clisp -K..." and it completes without error. you mean this cannot be executed by cygwin?! C:/packages/clisp/src/clisp -K boot -E UTF-8 -Emisc 1:1 -Epathname 1:1 -norc -- Sam Steingold (http://sds.podval.org/) on CentOS release 5.6 (Final) X 11.0.60900031 http://honestreporting.com http://iris.org.il http://openvotingconsortium.org http://thereligionofpeace.com http://truepeace.org http://jihadwatch.org (when (or despair hope) (cerror "Accept life as is." "Bad attitude.")) ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ clisp-devel mailing list cli...@li... https://lists.sourceforge.net/lists/listinfo/clisp-devel |
|
From: Sam S. <sd...@gn...> - 2011-07-08 16:10:57
|
> * Angel Popov <nat...@ln...> [2011-07-08 08:11:17 -0700]: > > Sorry, the last configure was executed in wrong directory, > > the real output is > > config.status: creating config.h > configure: ** I18N (Done) looks like success to me. problem solved? -- Sam Steingold (http://sds.podval.org/) on CentOS release 5.6 (Final) X 11.0.60900031 http://mideasttruth.com http://openvotingconsortium.org http://truepeace.org http://honestreporting.com http://thereligionofpeace.com usually: can't pay ==> don't buy. software: can't buy ==> don't pay |
|
From: Angel P. <ang...@ya...> - 2011-07-12 06:43:20
|
Hi,
Succeed to track the problem to sys::program-name
in current lisp (sys::program-name) returns "lisp.exe", but not full path.
Succeed to go further with this change -
diff -r 1f2d73266dc5 src/execname.c
--- a/src/execname.c Fri Jul 08 12:00:45 2011 -0400
+++ b/src/execname.c Tue Jul 12 09:30:26 2011 +0300
@@ -133,7 +133,7 @@
# endif
executable_name = (char*) malloc(MAXPATHLEN);
if (executable_name == NULL) { errno = ENOMEM; goto notfound; }
- if (realpath(program_name,executable_name) == NULL) {
+ if (realpath(program_name,executable_name) == NULL && errno!=ENOTDIR ) {
free(executable_name); goto notfound;
}
#if defined(UNIX_CYGWIN32)
but nowmake fails on
make[1]: Entering directory `/cygdrive/c/packages/clisp/build/syscalls'
gcc -I/cygdrive/c/packages/clisp/build/gllib -I/cygdrive/c/packages/clisp/build -g -O2 -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wmissing-declarations
-Wno-sign-compare -Wno-format-nonliteral -O2 -fexpensive-optimizations -falign-functions=4 -DENABLE_UNICODE -DDYNAMIC_FFI -DDYNAMIC_MODULES -I. -DDLL_EXPORT -DPIC -I/cygd
rive/c/packages/clisp/build/linkkit \
-c calls.m.c -o calls.o
/cygdrive/c/packages/clisp/modules/syscalls/calls.c:74: warning: `FMTID_SummaryInformation' initialized and declared `extern'
/cygdrive/c/packages/clisp/modules/syscalls/calls.c:76: warning: `FMTID_UserDefinedProperties' initialized and declared `extern'
/cygdrive/c/packages/clisp/modules/syscalls/calls.c: In function `C_subr_posix_system_info':
/cygdrive/c/packages/clisp/modules/syscalls/calls.c:3616: error: called object is not a function
make[1]: *** [calls.o] Error 1
make[1]: Leaving directory `/cygdrive/c/packages/clisp/build/syscalls'
make: *** [syscalls] Error 2
Regards, AngelP
________________________________
From: Sam Steingold <sd...@gn...>
To: cli...@li...; Angel Popov <ang...@ya...>
Sent: Friday, July 8, 2011 7:10 PM
Subject: Re: Build on cygwin/windows has failed
> * Angel Popov <nat...@ln...> [2011-07-08 08:11:17 -0700]:
>
> Sorry, the last configure was executed in wrong directory,
>
> the real output is
>
> config.status: creating config.h
> configure: ** I18N (Done)
looks like success to me.
problem solved?
--
Sam Steingold (http://sds.podval.org/) on CentOS release 5.6 (Final) X 11.0.60900031
http://mideasttruth.com http://openvotingconsortium.org http://truepeace.org
http://honestreporting.com http://thereligionofpeace.com
usually: can't pay ==> don't buy. software: can't buy ==> don't pay |
|
From: Sam S. <sd...@gn...> - 2011-07-13 15:04:11
|
> * Angel Popov <nat...@ln...> [2011-07-11 23:43:13 -0700]:
>
> Succeed to track the problem to sys::program-name
> in current lisp (sys::program-name) returns "lisp.exe", but not full path.
this is weird. I cannot reproduce this.
> Succeed to go further with this change -
>
> diff -r 1f2d73266dc5 src/execname.c
> --- a/src/execname.c Fri Jul 08 12:00:45 2011 -0400
> +++ b/src/execname.c Tue Jul 12 09:30:26 2011 +0300
> @@ -133,7 +133,7 @@
> # endif
> executable_name = (char*) malloc(MAXPATHLEN);
> if (executable_name == NULL) { errno = ENOMEM; goto notfound; }
> - if (realpath(program_name,executable_name) == NULL) {
> + if (realpath(program_name,executable_name) == NULL && errno!=ENOTDIR ) {
> free(executable_name); goto notfound;
> }
> #if defined(UNIX_CYGWIN32)
this is not good.
please fix realpath instead.
> /cygdrive/c/packages/clisp/modules/syscalls/calls.c: In function `C_subr_posix_system_info':
> /cygdrive/c/packages/clisp/modules/syscalls/calls.c:3616: error: called object is not a function
oops. my fault, fixed.
--
Sam Steingold (http://sds.podval.org/) on CentOS release 5.6 (Final) X 11.0.60900031
http://thereligionofpeace.com http://camera.org http://palestinefacts.org
http://www.PetitionOnline.com/tap12009/ http://jihadwatch.org
Whether pronounced "leenooks" or "line-uks", it's better than Windows.
|
|
From: Angel P. <ang...@ya...> - 2011-07-18 04:38:54
|
Hi,
With the latest sources it went quite further.
Now I am stuck at:
gcc -I/cygdrive/c/packages/clisp/build/gllib -g -O2 -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wmissing-declarations -Wno-sign-compare -Wno-format-nonl
iteral -O2 -fexpensive-optimizations -falign-functions=4 -DENABLE_UNICODE -DDYNAMIC_FFI -DDYNAMIC_MODULES -I. -DDLL_EXPORT -DPIC -I/cygdrive/c/packages/clisp/build/linkkit
-c modules.c
gcc -g -O2 -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wmissing-declarations -Wno-sign-compare -Wno-format-nonliteral -O2 -fexpensive-optimizations -fal
ign-functions=4 -DENABLE_UNICODE -DDYNAMIC_FFI -DDYNAMIC_MODULES -I. -DDLL_EXPORT -DPIC -Wl,--export-all-symbols modules.o readline.o -lreadline -lncurses regexi.o calls.o
bogomips.o -lcrypt -luser32 -lole32 -loleaut32 -luuid gettext.o lisp.a lisp.def -lintl -lreadline -lncurses -lavcall -lcallback -lsigsegv libgnu.a -o lisp.exe
libgnu.a(regex.o): In function `rpl_regerror':
/cygdrive/c/packages/clisp/build/gllib/../../src/gllib/regcomp.c:559: undefined reference to `_libintl_gettext'
libgnu.a(regex.o): In function `rpl_re_compile_pattern':
/cygdrive/c/packages/clisp/build/gllib/../../src/gllib/regcomp.c:238: undefined reference to `_libintl_gettext'
collect2: ld returned 1 exit status
./clisp-link: failed in /cygdrive/c/packages/clisp/build/base
make: *** [base] Error 1
Regards, AngelP
________________________________
From: Sam Steingold <sd...@gn...>
To: cli...@li...; Angel Popov <ang...@ya...>
Sent: Wednesday, July 13, 2011 6:03 PM
Subject: Re: Build on cygwin/windows has failed
> * Angel Popov <nat...@ln...> [2011-07-11 23:43:13 -0700]:
>
> Succeed to track the problem to sys::program-name
> in current lisp (sys::program-name) returns "lisp.exe", but not full path.
this is weird. I cannot reproduce this.
> Succeed to go further with this change -
>
> diff -r 1f2d73266dc5 src/execname.c
> --- a/src/execname.c Fri Jul 08 12:00:45 2011 -0400
> +++ b/src/execname.c Tue Jul 12 09:30:26 2011 +0300
> @@ -133,7 +133,7 @@
> # endif
> executable_name = (char*) malloc(MAXPATHLEN);
> if (executable_name == NULL) { errno = ENOMEM; goto notfound; }
> - if (realpath(program_name,executable_name) == NULL) {
> + if (realpath(program_name,executable_name) == NULL && errno!=ENOTDIR ) {
> free(executable_name); goto notfound;
> }
> #if defined(UNIX_CYGWIN32)
this is not good.
please fix realpath instead.
> /cygdrive/c/packages/clisp/modules/syscalls/calls.c: In function `C_subr_posix_system_info':
> /cygdrive/c/packages/clisp/modules/syscalls/calls.c:3616: error: called object is not a function
oops. my fault, fixed.
--
Sam Steingold (http://sds.podval.org/) on CentOS release 5.6 (Final) X 11.0.60900031
http://thereligionofpeace.com http://camera.org http://palestinefacts.org
http://www.PetitionOnline.com/tap12009/ http://jihadwatch.org
Whether pronounced "leenooks" or "line-uks", it's better than Windows. |
|
From: Sam S. <sd...@gn...> - 2011-07-18 13:15:47
|
> * Angel Popov <nat...@ln...> [2011-07-17 21:38:46 -0700]: > > gcc -g -O2 -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit > -Wreturn-type -Wmissing-declarations -Wno-sign-compare > -Wno-format-nonliteral -O2 -fexpensive-optimizations -fal > ign-functions=4 -DENABLE_UNICODE -DDYNAMIC_FFI -DDYNAMIC_MODULES > -I. -DDLL_EXPORT -DPIC -Wl,--export-all-symbols modules.o readline.o > -lreadline -lncurses regexi.o calls.o > bogomips.o -lcrypt -luser32 -lole32 -loleaut32 -luuid gettext.o lisp.a > lisp.def -lintl -lreadline -lncurses -lavcall -lcallback -lsigsegv > libgnu.a -o lisp.exe > libgnu.a(regex.o): In function `rpl_regerror': > /cygdrive/c/packages/clisp/build/gllib/../../src/gllib/regcomp.c:559: > undefined reference to `_libintl_gettext' > libgnu.a(regex.o): In function `rpl_re_compile_pattern': > /cygdrive/c/packages/clisp/build/gllib/../../src/gllib/regcomp.c:238: > undefined reference to `_libintl_gettext' > collect2: ld returned 1 exit status gettext is used in core also, so it is weird that you can create boot/lisp.exe but not base/lisp.exe please investigate why. e.g.: $ nm lisp.exe | grep gettext $ grep gettext config.h */config.h $ nm libgnu.a | grep gettext -- Sam Steingold (http://sds.podval.org/) on CentOS release 5.6 (Final) X 11.0.60900031 http://jihadwatch.org http://truepeace.org http://pmw.org.il http://iris.org.il http://thereligionofpeace.com http://camera.org Feynman: 'Philosophy of science is as useful to scientists as ornithology is to birds' |
|
From: Angel P. <ang...@ya...> - 2011-07-29 14:05:26
|
Hi, If regexp is removed from base modules, clisp compiles. With it,it failed. $ nm lisp.exe | grep gettext 005a4544 I __imp__libintl_dgettext 00406ce4 T _clgettext 004069a0 T _clgettextl 00406978 t _clisp_gettext 004d1b08 T _libintl_dgettext angel@bozhur /cygdrive/c/packages/clisp/build $ grep gettext config.h /*config.h config.h:/* Define if the GNU dcgettext() function is already present or preinstalled. config.h:/* Define if the GNU gettext() function is already present or preinstalled. */ grep: /*config.h: No such file or directory angel@bozhur /cygdrive/c/packages/clisp/build $ nm libgnu.a | grep gettext U _libintl_gettext Regards, AngelP ________________________________ From: Sam Steingold <sd...@gn...> To: cli...@li...; Angel Popov <ang...@ya...> Sent: Monday, July 18, 2011 4:15 PM Subject: Re: Build on cygwin/windows has failed > * Angel Popov <nat...@ln...> [2011-07-17 21:38:46 -0700]: > > gcc -g -O2 -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit > -Wreturn-type -Wmissing-declarations -Wno-sign-compare > -Wno-format-nonliteral -O2 -fexpensive-optimizations -fal > ign-functions=4 -DENABLE_UNICODE -DDYNAMIC_FFI -DDYNAMIC_MODULES > -I. -DDLL_EXPORT -DPIC -Wl,--export-all-symbols modules.o readline.o > -lreadline -lncurses regexi.o calls.o > bogomips.o -lcrypt -luser32 -lole32 -loleaut32 -luuid gettext.o lisp.a > lisp.def -lintl -lreadline -lncurses -lavcall -lcallback -lsigsegv > libgnu.a -o lisp.exe > libgnu.a(regex.o): In function `rpl_regerror': > /cygdrive/c/packages/clisp/build/gllib/../../src/gllib/regcomp.c:559: > undefined reference to `_libintl_gettext' > libgnu.a(regex.o): In function `rpl_re_compile_pattern': > /cygdrive/c/packages/clisp/build/gllib/../../src/gllib/regcomp.c:238: > undefined reference to `_libintl_gettext' > collect2: ld returned 1 exit status gettext is used in core also, so it is weird that you can create boot/lisp.exe but not base/lisp.exe please investigate why. e.g.: $ nm lisp.exe | grep gettext $ grep gettext config.h */config.h $ nm libgnu.a | grep gettext -- Sam Steingold (http://sds.podval.org/) on CentOS release 5.6 (Final) X 11.0.60900031 http://jihadwatch.org http://truepeace.org http://pmw.org.il http://iris.org.il http://thereligionofpeace.com http://camera.org Feynman: 'Philosophy of science is as useful to scientists as ornithology is to birds' |
|
From: Sam S. <sd...@gn...> - 2011-07-29 15:20:09
|
> * Angel Popov <nat...@ln...> [2011-07-29 07:05:13 -0700]: > > If regexp is removed from base modules, clisp compiles. With it,it failed. > > $ nm lisp.exe | grep gettext > 005a4544 I __imp__libintl_dgettext > 00406ce4 T _clgettext > 004069a0 T _clgettextl > 00406978 t _clisp_gettext > 004d1b08 T _libintl_dgettext > > angel@bozhur /cygdrive/c/packages/clisp/build > $ grep gettext config.h /*config.h > config.h:/* Define if the GNU dcgettext() function is already present or preinstalled. > config.h:/* Define if the GNU gettext() function is already present or preinstalled. */ > grep: /*config.h: No such file or directory that's because you transposed '*' and '/'. $ grep -i gettext config.h */config.h > angel@bozhur /cygdrive/c/packages/clisp/build > $ nm libgnu.a | grep gettext > U _libintl_gettext > > ________________________________ > From: Sam Steingold <sd...@gn...> > To: cli...@li...; Angel Popov <ang...@ya...> > Sent: Monday, July 18, 2011 4:15 PM > Subject: Re: Build on cygwin/windows has failed > >> * Angel Popov <nat...@ln...> [2011-07-17 21:38:46 -0700]: >> >> gcc -g -O2 -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit >> -Wreturn-type -Wmissing-declarations -Wno-sign-compare >> -Wno-format-nonliteral -O2 -fexpensive-optimizations -fal >> ign-functions=4 -DENABLE_UNICODE -DDYNAMIC_FFI -DDYNAMIC_MODULES >> -I. -DDLL_EXPORT -DPIC -Wl,--export-all-symbols modules.o readline.o >> -lreadline -lncurses regexi.o calls.o >> bogomips.o -lcrypt -luser32 -lole32 -loleaut32 -luuid gettext.o lisp.a >> lisp.def -lintl -lreadline -lncurses -lavcall -lcallback -lsigsegv >> libgnu.a -o lisp.exe >> libgnu.a(regex.o): In function `rpl_regerror': >> /cygdrive/c/packages/clisp/build/gllib/../../src/gllib/regcomp.c:559: >> undefined reference to `_libintl_gettext' >> libgnu.a(regex.o): In function `rpl_re_compile_pattern': >> /cygdrive/c/packages/clisp/build/gllib/../../src/gllib/regcomp.c:238: >> undefined reference to `_libintl_gettext' >> collect2: ld returned 1 exit status > > gettext is used in core also, so it is weird that you can create > boot/lisp.exe but not base/lisp.exe > please investigate why. > e.g.: > $ nm lisp.exe | grep gettext > $ grep gettext config.h */config.h > $ nm libgnu.a | grep gettext -- Sam Steingold (http://sds.podval.org/) on CentOS release 5.6 (Final) X 11.0.60900031 http://pmw.org.il http://mideasttruth.com http://openvotingconsortium.org http://truepeace.org http://jihadwatch.org http://memri.org ((lambda (x) (list x (list 'quote x))) '(lambda (x) (list x (list 'quote x)))) |
|
From: Angel P. <ang...@ya...> - 2011-07-29 15:25:50
|
Sorry $ grep -i gettext config.h */config.h config.h:/* Define if the GNU dcgettext() function is already present or preinstalled. config.h:#define HAVE_DCGETTEXT 1 config.h:/* Define if the GNU gettext() function is already present or preinstalled. */ config.h:#define HAVE_GETTEXT 1 ________________________________ From: Sam Steingold <sd...@gn...> To: cli...@li...; Angel Popov <ang...@ya...> Cc: Bruno Haible <br...@cl...> Sent: Friday, July 29, 2011 6:20 PM Subject: Re: gettext in regexp > * Angel Popov <nat...@ln...> [2011-07-29 07:05:13 -0700]: > > If regexp is removed from base modules, clisp compiles. With it,it failed. > > $ nm lisp.exe | grep gettext > 005a4544 I __imp__libintl_dgettext > 00406ce4 T _clgettext > 004069a0 T _clgettextl > 00406978 t _clisp_gettext > 004d1b08 T _libintl_dgettext > > angel@bozhur /cygdrive/c/packages/clisp/build > $ grep gettext config.h /*config.h > config.h:/* Define if the GNU dcgettext() function is already present or preinstalled. > config.h:/* Define if the GNU gettext() function is already present or preinstalled. */ > grep: /*config.h: No such file or directory that's because you transposed '*' and '/'. $ grep -i gettext config.h */config.h > angel@bozhur /cygdrive/c/packages/clisp/build > $ nm libgnu.a | grep gettext > U _libintl_gettext > > ________________________________ > From: Sam Steingold <sd...@gn...> > To: cli...@li...; Angel Popov <ang...@ya...> > Sent: Monday, July 18, 2011 4:15 PM > Subject: Re: Build on cygwin/windows has failed > >> * Angel Popov <nat...@ln...> [2011-07-17 21:38:46 -0700]: >> >> gcc -g -O2 -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit >> -Wreturn-type -Wmissing-declarations -Wno-sign-compare >> -Wno-format-nonliteral -O2 -fexpensive-optimizations -fal >> ign-functions=4 -DENABLE_UNICODE -DDYNAMIC_FFI -DDYNAMIC_MODULES >> -I. -DDLL_EXPORT -DPIC -Wl,--export-all-symbols modules.o readline.o >> -lreadline -lncurses regexi.o calls.o >> bogomips.o -lcrypt -luser32 -lole32 -loleaut32 -luuid gettext.o lisp.a >> lisp.def -lintl -lreadline -lncurses -lavcall -lcallback -lsigsegv >> libgnu.a -o lisp.exe >> libgnu.a(regex.o): In function `rpl_regerror': >> /cygdrive/c/packages/clisp/build/gllib/../../src/gllib/regcomp.c:559: >> undefined reference to `_libintl_gettext' >> libgnu.a(regex.o): In function `rpl_re_compile_pattern': >> /cygdrive/c/packages/clisp/build/gllib/../../src/gllib/regcomp.c:238: >> undefined reference to `_libintl_gettext' >> collect2: ld returned 1 exit status > > gettext is used in core also, so it is weird that you can create > boot/lisp.exe but not base/lisp.exe > please investigate why. > e.g.: > $ nm lisp.exe | grep gettext > $ grep gettext config.h */config.h > $ nm libgnu.a | grep gettext -- Sam Steingold (http://sds.podval.org/) on CentOS release 5.6 (Final) X 11.0.60900031 http://pmw.org.il http://mideasttruth.com http://openvotingconsortium.org http://truepeace.org http://jihadwatch.org http://memri.org ((lambda (x) (list x (list 'quote x))) '(lambda (x) (list x (list 'quote x)))) |