I just built FriCAS from the most recent svn trunk on a fresh and up
to date OpenSuSE 13.1 x86_64 Linux system. Using SBCL from the
repository worked fine. But in fact I did have a couple of unusual
problems.

1) Default locale on this system is en_US.UTF-8.  This caused a
problem with building the hypertex files for hyperdoc because of
legacy shell code that assumes the old default sort order.  I needed
the following small patch:

wspage@linux-24ag:~/fricas> svn diff
Index: src/doc/Makefile.in
===================================================================
--- src/doc/Makefile.in    (revision 1692)
+++ src/doc/Makefile.in    (working copy)
@@ -206,7 +206,7 @@
 examples.list: $(wildcard ${ALGEBRASOURCES}/*.spad.pamphlet)
     (for a in ${EXAMPLES}; do echo $$a; done; \
      sed -n 's/^)abb[a-z]* [a-z][a-z]*  *\([A-Z0-9][A-Z0-9]*\) *\([^
]*\)/\1 \2/p' ${ALGEBRASOURCES}/*.spad.pamphlet\
-    ) | sort -k1,1 | ${AWK} '{if(a==$$1){print};a=$$a}' | sort -k2 > $@
+    ) | LC_ALL=C sort -k1,1 | ${AWK} '{if(a==$$1){print};a=$$a}' |
LC_ALL=C sort -k2 > $@

 xmpexp.ht: examples.list
     echo '% !! DO NOT MODIFY BY HAND !! It is generated.' > $@

============

2) The other problem occurred after I successfully compiled and
installed FriCAS.  When I tried to start FriCAS I got the message:

wspage@linux-24ag:~/fricas>  fricas
The directory for FriCAS,
/usr/local/lib/fricas/target/x86_64-suse-linux, does not exist.
Goodbye.

====

I checked and in fact install had put the AXIOM directory in
/usr/local/lib64 but the Makefile still assumes that it will always be
at in lib. So I manually edited the file at

/usr/local/bin/fricas

as follows:

exec_prefix="${FRICAS_PREFIX:-/usr/local}"
AXIOM="${exec_prefix}/lib64/fricas/target/x86_64-suse-linux"
export AXIOM

====

I guess this needs a more general solution.

Voila. FriCAS on OpenSuSE.

Bill Page.


On 19 March 2014 13:03, Martin Baker <[email protected]> wrote:
> On 19/03/14 16:33, Bill Page wrote:
>>
>> I use SBCL on OpenSuSE 13.1 and I have no problems.  If you have
>> questions just ask.
>
> I must admit that it was a few releases ago when I tried it last and that
> experience put me off trying again.
>
> At that time SBCL was not in the repositories or the build service. When I
> saw your email, I checked, and its in the default repository now so Ill give
> it a go when I get some time.
>
> Thanks for letting me know.
>
> Martin
>

-- 
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].
Visit this group at http://groups.google.com/group/fricas-devel.
For more options, visit https://groups.google.com/d/optout.
Index: src/algebra/array2.spad.pamphlet
===================================================================
--- src/algebra/array2.spad.pamphlet	(revision 1692)
+++ src/algebra/array2.spad.pamphlet	(working copy)
@@ -185,7 +185,7 @@
       ++ of equal size row wise.
       ++ Error: if number of rows of a is not divisible by n.
     vertSplit : (%, LPI) -> List %
-      ++ \spad{vertSplit(a, [n1, ..., ni]} splits a into
+      ++ \spad{vertSplit(a, [n1, ..., ni])} splits a into
       ++ arrays having n1, ..., ni rows.
       ++ Error: if number of rows of a is different than
       ++ n1+ ... + ni.
Index: src/doc/Makefile.in
===================================================================
--- src/doc/Makefile.in	(revision 1692)
+++ src/doc/Makefile.in	(working copy)
@@ -206,7 +206,7 @@
 examples.list: $(wildcard ${ALGEBRASOURCES}/*.spad.pamphlet)
 	(for a in ${EXAMPLES}; do echo $$a; done; \
 	 sed -n 's/^)abb[a-z]* [a-z][a-z]*  *\([A-Z0-9][A-Z0-9]*\) *\([^ ]*\)/\1 \2/p' ${ALGEBRASOURCES}/*.spad.pamphlet\
-	) | sort -k1,1 | ${AWK} '{if(a==$$1){print};a=$$a}' | sort -k2 > $@
+	) | LC_ALL=C sort -k1,1 | ${AWK} '{if(a==$$1){print};a=$$a}' | LC_ALL=C sort -k2 > $@
 
 xmpexp.ht: examples.list
 	echo '% !! DO NOT MODIFY BY HAND !! It is generated.' > $@

Reply via email to