[Ecls-list] cannot build fricas using ecl

Dima Pasechnik dimpase+ecl at gmail.com
Sun Jan 22 17:19:22 UTC 2012


On 23 January 2012 00:15, Waldek Hebisch <hebisch at math.uni.wroc.pl> wrote:
> Dima Pasechnik wrote:
>>
>> Is it a known problem?
>> Both fricas from their svn and fricas-1.0.9 (a Sage's optional
>> package) can't be built using ecl-11.1.1.
>> One gets lisp errors, as follows:
>>
>> [....]
>> ;;; Loading "/tmp/fricas/src/lisp/fricas-lisp.lisp"
>> #P"/tmp/fricas/src/lisp/fricas-lisp.lisp"
>> >
>> #<"FRICAS-LISP" package>
>> FRICAS-LISP>
>> ;;;
>> ;;; Compiling fricas-package.lisp.
>> ;;; OPTIMIZE levels: Safety=1, Space=0, Speed=3, Debug=0
>> ;;;
>> ;;; End of Pass 1.
>> ;;; Internal error:
>> ;;;   ** Unable to find include directory
>> NIL
>> [...]
>>
>
> I regularly build FriCAS using ecl and I never saw error like
> this.  Juanjo knows better, but AFAICS ecl is unable to find
> files needed for compilation.  First guess is that you moved
> ecl installation, but did not adjust ecl variables which
> point apropiate directories (sorry, I do not remember details,
> but they should be in manual and/or mailing list archive).
>
> I wonder if you can compile _any_ Lisp file: the 'fricas-package.lisp'
> is the very first file which gets compiled (before that FriCAS
> loads a few files, but those are interpreted).

certainly, ecl I used is functional, e.g. it is able to build Maxima,
as a part of Sage installation.

But I guess it has nothing to do with Sage; to test this, I just
grabbed the current CVS version of ECL, built it, and installed in
/usr/local.

Still, this ecl cannot build fricas.
Here is what I do.
(the error is a bit different, probably because I don't start with a
pristine dir, but just run 'make distclean")

$ uname -a
Linux arando 3.1.0-1-amd64 #1 SMP Tue Jan 10 05:01:58 UTC 2012 x86_64 GNU/Linux

$ ./configure --with-lisp=ecl
[...]
checking Lisp implementation... ECL (Embeddable Common-Lisp) 11.1.1
(git:10dea13a5122cb1f07bce98f674b4b6574dbd922)
[...]

$make
[...]
make[2]: Entering directory `/tmp/fricas/src/boot'
Building stage 0
[ -d stage0 ] || ../../config/mkinstalldirs stage0
rm -rf prev-stage
rm -f stage0/ptyout.o stage0/btincl2.o stage0/btscan2.o
stage0/typrops.o stage0/btpile2.o stage0/typars.o stage0/tytree1.o
rm -f stage0/ptyout.clisp stage0/btincl2.clisp stage0/btscan2.clisp
stage0/typrops.clisp stage0/btpile2.clisp stage0/typars.clisp
stage0/tytree1.clisp
make  OBJECTS="stage0/ptyout.o stage0/btincl2.o stage0/btscan2.o
stage0/typrops.o stage0/btpile2.o stage0/typars.o stage0/tytree1.o"
stage0/bootsys
make[3]: Entering directory `/tmp/fricas/src/boot'
/tmp/fricas/src/scripts/build_helper --compile_lisp
--output=stage0/ptyout.o
--use=/tmp/fricas/build/x86_64-unknown-linux/bin/lisp
compiled/ptyout.clisp
/tmp/fricas/src/scripts/build_helper: 11:
/tmp/fricas/src/scripts/build_helper:
/tmp/fricas/build/x86_64-unknown-linux/bin/lisp: not found
make[3]: *** [stage0/ptyout.o] Error 127

Dmitrii




More information about the ecl-devel mailing list