build problem

3 views
Skip to first unread message

Ralf Hemmecke

unread,
Sep 29, 2009, 4:47:15 PM9/29/09
to fricas-devel
Hello,

I am trying to compile a r672 of fricas.
Unfortunately, I am unable to compile on the sage.math server.

Setup is ECL (Embeddable Common-Lisp) 9.4.1 as comes with the Sage that
is installed on that machine.

Could someone have a look at the log "make | tee make.log" which can be
found at
http://sage.math.washington.edu/home/hemmecke/pub

I have no idea why that would fail.

Ralf

Bill Page

unread,
Sep 29, 2009, 5:30:14 PM9/29/09
to fricas...@googlegroups.com
Ralf,

It looks like maybe you were doing a parallel build because of the
order of the output near the end of the log. I have sometimes had
problems. Maybe you could try it without this option?

Regards,
Bill Page.

Ralf Hemmecke

unread,
Sep 29, 2009, 5:50:29 PM9/29/09
to fricas...@googlegroups.com
> It looks like maybe you were doing a parallel build because of the
> order of the output near the end of the log. I have sometimes had
> problems. Maybe you could try it without this option?

Well, I started with 'make -j9' and then (after it failed) wanted to
check without the -j option. So I really typed "make | tee make.log".

And now checkt again with 'make -j1'. ==> Failed in exactly the same way.

But anyway, 'make -j9' should also work. Hasn't Waldek enabled a
parallel build?

I really don't understand that. Maybe I should try with sbcl.

By the way, compiling the same code with ECL (Embeddable Common-Lisp)
9.8.4 on my laptop works fine (linear build on a 32bit machine).

Ralf

Bill Page

unread,
Sep 29, 2009, 6:35:16 PM9/29/09
to fricas...@googlegroups.com
Ralf,

Do you recall the following email concerning the ecl upgrage?

sage -i -s http://sage.math.washington.edu/home/ghitza/ecl-9.8.4.spkg

Regards,
Bill Page.

---------- Forwarded message ----------
From: Bill Page <bill...@newsynthesis.org>
Date: Thu, Sep 3, 2009 at 6:01 PM
Subject: Re: [sage-devel] Re: [fricas-devel] Re: Aldor interface
To: sage-...@googlegroups.com
Cc: fricas...@googlegroups.com


Ralf,

On Thu, Sep 3, 2009 at 5:32 PM, Ralf Hemmecke wrote:
>
> On 09/03/2009 02:48 PM, Bill Page wrote:
>> I am sorry, I don't the logs to send but if you have any problems with
>> the instructions below, then I can reproduce and send them later.
>>
>> Assuming that you already have Aldor and Sage installed, the commends:
>>
>> $ cd ~/sage-4.1.1
>> $ wget http://www.mediafire.com/file/im5zd201mh0/fricas-1.0.7.p0.spkg
>> $ ./sage -f fricas-1.0.7.spkg
>>
>> Produces the error: " undefined reference to `log' ". (about 15 minutes)
>
> Your wget does not quite work that way, but I got the file anyway from
> there to my ~/scratch directory.
>

Ok, sorry. I guess it is on some kind of "sharing" site that forces
you to read annoying advertisements or something. I don't know why the
developer did not put it directly on the sage site.

> Then I issued "sage -f fricas-1.0.7.spkg" inside ~/scratch. sage is in
> my PATH.
>
> That seems to extract and then starts doing something, but without
> success. I have sage 4.1. Do I really need 4.1.1?
>

I don't think so. I think 4.1 should be ok. But for sure you do need a
version of Sage where ECL is the default lisp.

> Is it relevant whether or not I run on a 32bit system?
>

No, I don't think so.

> I don't have ecl on my system. Shouldn't the fricas spkg just use the
> lisp provided by sage?

Yes. Your log shows that it found "ECL (Embeddable Common-Lisp) 9.4.1".

> Or do I have to install ECL?
>

No, it is not necessary to install ECL separately to install FriCAS in Sage.

But as Nils pointed out, ECL 9.4.1 is now also a little old. I think
Waldek mentioned earlier that he had a problem building FriCAS with
9.4.1 or similar version. I had forgotten that for other reasons I
had already upgraded the ECL version in version 4.1.1 of Sage that I
have installed on my system. You should definitely ECL also upgrade
via

sage -i -s http://sage.math.washington.edu/home/ghitza/ecl-9.8.4.spkg

> ...

Regards,
Bill Page.

Waldek Hebisch

unread,
Sep 29, 2009, 6:47:11 PM9/29/09
to fricas...@googlegroups.com

It looks like a bug in ECL shipped with Sage. Do you know how
this ECL was configured?

For me plain ECL 9.4.1 worked, but Unicode enabled one did not
work.

--
Waldek Hebisch
heb...@math.uni.wroc.pl

Ralf Hemmecke

unread,
Sep 29, 2009, 6:53:59 PM9/29/09
to fricas...@googlegroups.com
On 09/30/2009 12:35 AM, Bill Page wrote:
> Ralf,
>
> Do you recall the following email concerning the ecl upgrage?
>
> sage -i -s http://sage.math.washington.edu/home/ghitza/ecl-9.8.4.spkg
>
> Regards,
> Bill Page.

I do, but I cannot upgrade ecl on that machine. I wanted to try with the
standard installation.

The only thing I could do would be to make ecl-9.8.4 automatically
install, when I install fricas.

Oh, I guess that calls for trouble since sage does not really have
dependency tracking.

Ralf

Ralf Hemmecke

unread,
Sep 29, 2009, 6:57:29 PM9/29/09
to fricas...@googlegroups.com, sage-devel
Since I cannot answer Waldek's question... this mail goes to sage-devel.
Maybe William knows?

And here is the relevant thread.
http://groups.google.com/group/fricas-devel/browse_thread/thread/4df82e24c742c2fe

Ralf

Reply all
Reply to author
Forward
0 new messages