Subject: strange problems when building Maxima with Ecl
From: Oliver Kullmann
Date: Tue, 26 Aug 2008 21:42:38 +0100
The problem is the wrapper script which is needed to execute ecl:
I can't use clisp because it doesn't not provide a working *local*
installation on 64bit platforms; exactly for that reason I'm searching
for an alternative Lisp.
So I need a local installation of ecl, and the only possibility which I see
to work around the broken *local* ecl-installation seems to wrap it like:
#!/bin/bash
export LD_LIBRARY_PATH=/Path/Ecl/lib; /Path/Ecl/bin/ecl "$@"
(so "ecl" is this script).
This seems to work, but Maxima does something in the installation, so that we
get the test failure
Making check in lisp-utils
make[2]: Entering directory `/home/csoliver/SAT-Algorithmen/OKplatform/ExternalSources/builds/Maxima/ecl/maxima-5.16.3/lisp-utils'
make[2]: Nothing to be done for `check'.
make[2]: Leaving directory `/home/csoliver/SAT-Algorithmen/OKplatform/ExternalSources/builds/Maxima/ecl/maxima-5.16.3/lisp-utils'
Making check in tests
make[2]: Entering directory `/home/csoliver/SAT-Algorithmen/OKplatform/ExternalSources/builds/Maxima/ecl/maxima-5.16.3/tests'
echo "Running test suite with ecl..."; \
/bin/sh ../maxima-local --lisp=ecl --batch-string="run_testsuite();" < /dev/null
Running test suite with ecl...
/home/csoliver/SAT-Algorithmen/OKplatform/ExternalSources/builds/Maxima/ecl/maxima-5.16.3/src/binary-ecl/maxima: error while loading shared libraries: libecl.so: cannot open shared object file: No such file or directory
Does Maxima need more than just the ecl-executable? Seems to be the case (it somehow seems
to side-step my wrapper script).
The error below was due to incorrect passing of arguments in the ecl-wrapper-script (which
is now corrected, so I think the wrapper-script can't be improved).
I also updated ECL, but nothing changed.
Yet there is also no other reply on the ecl-mailing list to my request than your reply.
Lisp is a nightmare.
SBCL can't be used, since it needs another Lisp!
So I will try GCL and CMUCL.
Oliver
On Mon, Aug 25, 2008 at 11:05:50PM -0600, Robert Dodier wrote:
> On 8/25/08, Oliver Kullmann <O.Kullmann at swansea.ac.uk> wrote:
>
> > ecl -eval "(require 'asdf)" -eval "(asdf:make-build \"maxima\" :type :program)" -eval "(ext:quit)" && \
>
> I can't tell why make fails; ./configure --enable-ecl followed by make
> works for me.
>
> The only I idea I have is to try running the above command line by itself.
> Maybe it causes an error message which sheds some light on the problem.
>
> By the way, there have been several recent bug fixes for ECL.
> Maybe you should update from CVS and rebuild ECL.
>
> best
>
> Robert Dodier
--
Dr. Oliver Kullmann
Computer Science Department
Swansea University
Faraday Building, Singleton Park
Swansea SA2 8PP, UK
http://cs.swan.ac.uk/~csoliver/