Dirk Bernhardt writes: > Pascal Bourguignon <[EMAIL PROTECTED]> writes: > > > clisp-2.29 is available with fink, but I've not been able to compile > > it so far. > > It worked here right out of the box, from fink "stable".
Obviously, there are unlisted prerequisites! On MacOSX 10.2, the developer tools are delivered with two versions of gcc: 2.95.2 and 3.1. clisp cannot be compiled with gcc 3.1. So, it should be documented that to compile clisp on MacOSX you need to activate gcc 2.95.2, which is done with: gcc_select 2 I effectively checked that fink can compile clisp-2.29-2 with gcc 2.95.2 on Darwin 6.6 (MacOSX 10.2). For the CVS HEAD of right now, I still get errors even with gcc 2.95.2. I could not test gcc 3.3 which comes along the upgrade (Dec2002gccUpdater.pkg) for 10.2, or along with 10.3 (mainly because the installation of that updater does not proceed correctly out of the box; Apple Computer Inc. seems to have forgotten to update gcc_select). With the CVS HEAD it seems that clisp/configure does not take into account the CC environment variable: It's still using 'gcc', while in by script, I explicitely set export CC='cc -no-cpp-precomp'. Obviously, since it's still using the cpp-precomp, it fails. [EMAIL PROTECTED] clisp]$ ../clisp-pjb-compile ../src/lndir: destination already exists: /local/src/clisp/src/bindings /local/src/clisp/src /local/src/clisp ./config.status --file=makemake config.status: creating makemake ./makemake --prefix=/usr/local --with-export-syscalls --with-module=queens --with-module=regexp --with-module=wildcard > Makefile.tmp mv Makefile Makefile~ mv Makefile.tmp Makefile make: `config.lisp' is up to date. gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -fomit-frame-pointer -Wno-sign-compare -O2 -DUNICODE -DNO_GETTEXT -DNO_SIGSEGV -c eval.c lispbibl.d:7385: illegal external declaration, missing `;' after `__SP' eval.d:1788: illegal expression, found `#' bytecode.d:4: illegal expression, found `&&' bytecode.d:5: illegal expression, found `&&' bytecode.d:6: illegal expression, found `&&' ... eval.d:1802: `aux' undeclared (first use in this function) eval.d:1802: `ende' undeclared (first use in this function) eval.d:1868: `badrest' undeclared (first use in this function) eval.d:1890: `allow' undeclared (first use in this function) eval.d:1782: warning: `item' might be used uninitialized in this function make: *** [eval.o] Error 1 ======================================================================== #!/bin/bash if [ -r src/list.d ] ; then CLISP_SRC=`pwd` else echo "Please change dir to clisp source dir first." exit 1 fi CLISP_INS=/usr/local CLISP_MOD="queens regexp wildcard" CLISP_OPT="--prefix=${CLISP_INS} --with-export-syscalls --with-dynamic-ffi" export CONFIG_SHELL=/bin/bash if [ $(uname) = Darwin ] ; then ulimit -S -s 8192 export CC='cc -no-cpp-precomp' CLISP_OPT=$(echo "$CLISP_OPT"|sed -e 's/--with-dynamic-ffi//') elif [ $(uname) = NEXTSTEP ] ; then export CFLAGS=-DNO_ASM fi # -------------------------------------------- cd ${CLISP_SRC} $CONFIG_SHELL ./configure \ $CLISP_OPT \ `cd modules ; for m in ${CLISP_MOD} ; do echo --with-module=$m ; done` # -------------------------------------------- pushd src ./makemake \ $CLISP_OPT \ `cd ../modules ; for m in ${CLISP_MOD} ; do echo --with-module=$m ; done` \ > Makefile if [ $(uname) = Darwin ] ; then cp Makefile Makefile~ sed -e '/CFLAGS *=/s/\<-O2\>//' < Makefile~ > Makefile fi make config.lisp cp ../../clisp-pjb-config.lisp config.lisp make # -------------------------------------------- # Finally, check and install umask 022 make check && make test && make testsuite && make install ======================================================================== -- __Pascal_Bourguignon__ http://www.informatimago.com/ ---------------------------------------------------------------------- Do not adjust your mind, there is a fault in reality. ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0 _______________________________________________ Fink-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-devel