>> make[2]: Leaving directory `/home/fauser/fricas-1.0.7/src/paste'
>> cd aldor && make
>> make[2]: Entering directory `/home/fauser/fricas-1.0.7/src/aldor'
>> Makefile:262: domains.mk: No such file or directory
>> echo "domains := \\" > domains.mk
>> grep '^)abbrev' /home/fauser/fricas-1.0.7/src/algebra/*.spad | gawk
>> '{print $3,"\\"}' >> domains.mk
>> echo >> domains.mk

> Ralf, I think that Aldor interface should be disabled by default,
> and only build when explicitely requested.

I don't think so. ;-)

That problem is related to
http://groups.google.com/group/fricas-devel/browse_thread/thread/19bb2ca0977f2f53/3825f3cacb4766c4#3825f3cacb4766c4

The reason is that compiling the source distribution, no .spad files 
will be generated. (I have now not actually checked this, but most 
probably you will not find .spad files in your build directory 
/home/fauser/fricas-1.0.7/src/algebra/, right?)

I've constructed the interface with having an SVN checkout in mind... 
This will be fixed hopefully within a week. I'm currently testing.

You should got to

/home/fauser/fricas-1.0.7/src/algebra/Makefile.in

and replace the target for domains.mk by the following:

domains.mk:
        echo "domains := \\" > $@
        echo ')lisp (dolist (c (|allConstructors|)) (format t "~A \\~%" 
(|constructor?| c))) (quit)'|($(INTERPSYS))|grep -v '.*-'|grep -v 
NIL|grep '\\' |sort >> $@
        echo >> $@

Patch is attached. In fact, with this patch libaxiom.al includes 3 more 
files, because there is a bug in the grep expression. (I should just 
have searched for '^)abb' (no explicit r).

Then re-configure and start make again.

./configure --with-lisp=sbcl
make

Still problems?

BTW, why don't you use a scratch directory for your build? You could 
keep your source directory uncluttered with all those generated files.

mkdir $HOME/fricas-build
cd $HOME/fricas-build
$HOME/fricas-1.0.7/configure --with-lisp=sbcl 
--prefix=$HOME/fricas-install-dir
make
make install

In fact, libaxiom.al could be also distributed since it is machine 
independent. That together with a 2-minute-build will be actually enough 
to get the aldor-interface working. Unfortunately, libaxiom.al cannot 
yet distributed together with FriCAS, since we still have no right to 
include the few .as files from aldor.org under the Axiom (mBSD) license. 
:-( Life would be so much easier...

Ralf

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"FriCAS - computer algebra system" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/fricas-devel?hl=en
-~----------~----~----~----~------~----~------~--~---

diff --git a/src/aldor/Makefile.in b/src/aldor/Makefile.in
index a618768..b732eba 100644
--- a/src/aldor/Makefile.in
+++ b/src/aldor/Makefile.in
@@ -55,10 +55,7 @@ clean:
 spaddir=$(abs_top_builddir)/src/algebra
 domains.mk:
 	echo "domains := \\" > $@
-	echo ')lisp (dolist (c (|allConstructors|)) (format t "~A \\~%" (|constructor?| c))) (quit)'|($(INTERPSYS))|grep -v '.*-'|grep -v NIL|grep '\\' |sort > >> $@
-
-	grep '^)abbrev' $(spaddir)/*.spad | $(AWK) '{print $$3,"\\"}' >> $@
-
+	echo ')lisp (dolist (c (|allConstructors|)) (format t "~A \\~%" (|constructor?| c))) (quit)'|($(INTERPSYS))|grep -v '.*-'|grep -v NIL|grep '\\' |sort >> $@
 	echo >> $@
 
 include domains.mk

Reply via email to