> 
> I would like to ask for some help building FriCAS ob Ubuntu 18.04. I would 
> like to use GCL as the lisp interpreter, as it is already installed on the 
> system, and used by other programs (e.g., Maxima).
> When I try to build FriCAS, I do the following:
> 1. downloaded sources from the homepage, version 1.3.5.
> 2. ./configure --with-x --with-lisp=gcl
> 3. make
> 
> I get the error message:
> 
<snip>
>    Using local database 
> /home/arpi/packaging/fricas/fricas-1.3.5/pre-generated/target//algebra/compress.daase..
> Error: PARSE-ERROR 
> "\"/home/arpi/packaging/fricas/fricas-1.3.5/pre-generated/target//algebra/compress.daase\"
>  
> is not a valid pathname on host NIL"
> Fast links are on: do (si::use-fast-links nil) for debugging
> Signalled by LET.
> PARSE-ERROR 
> "\"/home/arpi/packaging/fricas/fricas-1.3.5/pre-generated/target//algebra/compress.daase\"
>  
> is not a valid pathname on host NIL"
>

AFAICS gcl is objecting to double slash in the path.  This can be
easily fixed:

+++ 1.3.5/src/etc/Makefile.in   2019-03-23 21:12:03.413667695 +0100
@@ -74,7 +74,7 @@
        echo ')lisp (do_command_list "'$@'")' >> gen-cpl.in
        (DD=$(fricas_targetdir); \
         if test -d ${PREGENERATED}/target/algebra ; then \
-            DD=${PREGENERATED}/target/ ; \
+            DD=${PREGENERATED}/target ; \
         fi ; \
        cat gen-cpl.in | \
         DAASE=$$DD AXIOM=$(AXIOM) \

Note: Makefile.in contains tabs, while in mail there are spaces, so
this will not apply cleanly.

However, on Debian testing I get later errors.  It seems that gcl
changed its handling of filenames like other lisps and workaround
that we had for earlier behaviour now causes harm:

--- 1.3.5/src/lisp/fricas-lisp.lisp     2019-02-01 19:19:45.906883830 +0100
+++ 1.3.5/src/lisp/fricas-lisp.lisp     2019-03-23 21:50:25.857084895 +0100
@@ -974,7 +974,7 @@
     (let ((ns (namestring name)))
          (if (and (consp (pathname-directory name))
                   (eq (car (pathname-directory name))
-                      #-:GCL :absolute #+:GCL :root))
+                       :absolute ))
              ns
              (concatenate 'string (get-current-directory)  "/" ns))))
 #+:cmu


However, while build goes further there are still errors.  It will
take me some time to check what changed as on my main machine I
have older gcl that works OK and have limited access to Debian
testing.

-- 
                              Waldek Hebisch

-- 
You received this message because you are subscribed to the Google Groups 
"FriCAS - computer algebra system" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/fricas-devel/E1h7ngo-0008C8-Fi%40hera.math.uni.wroc.pl.
For more options, visit https://groups.google.com/d/optout.

Reply via email to