[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gcl-devel] Re: installing maxima on debian-alpha woody 3.0r1

From: Camm Maguire
Subject: [Gcl-devel] Re: installing maxima on debian-alpha woody 3.0r1
Date: 20 Jan 2004 19:58:07 -0500
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

Greetings!  The version of maxima in the stable distribution is
several years old, and was only ported to x86.  The error you see is
in the gmp subbuild, and likely stems from an older gmp that was never
ported to alpha as well.  

The good news is that in the testing and unstable distributions, gcl,
maxima, axiom, and acl2 are supported on all 12 Debian architectures.
This is one of the primary objectives of GCL -- to provide as widely
portable lisp support with good performance as possible, and I think
we can say we've made reasonable strides in this direction.

I would recommend adding the following to /etc/apt/sources.list:

deb-src http://http.us.debian.org/debian unstable main contrib non-free
deb-src ftp://non-us.debian.org/debian-non-US unstable non-US/main 
non-US/contrib non-US/non-free

apt-get -q update, and then do your compile.  You will likely have to
install the maxima build-depends first, i.e.

apt-get -q -b source gcl
dpkg -i gcl*b

Alternatively, you can set your apt system to draw certain packages
from testing/unstable like maxima alone into your otherwise stable
system.  Look up 'apt-pinning'.

Alternatively again, you can install an unstable 'chroot' environment
in a subdirectory of your stable system, and pull in an unstable or
testing mini distribution for the purposes of running maxima et. al.
You can share home directories, etc. between the two.  This is what I
do, and its quite convenient.  Check out dchroot and debootstrap.
Something like the following should work:

(add above lines to sources.list)
apt-get -q -b source debootstrap
dpkg -i debootstrap*b
debootstrap sid path-to-unstable-chroot
apt-get -q -b source dchroot
dpkg -i dchroot*b
(edit /etc/dchroot.conf)
(mount any shared directories as per dchroot docs)

Take Care,

Roberto <address@hidden> writes:

> Dear Listers
> I tried to install maxima 5.6 on a alpha PW 500au  running debian linux woody 
> 3.0r1 using the apt-get command:
> apt-get source --compile maxima 
> This command download the source package and start the complie process.
> The make operation reported the following error:
> -----------------------------------------------------------------------------------------------------------------
> gcc -c -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DOPERATION_udiv -g -O 
> -fomit-frame-pointer tmp-udiv.s -o udiv.o
> tmp-udiv.s: Assembler messages:
> tmp-udiv.s:42: Error: bad expression
> tmp-udiv.s:42: Error: syntax error
> tmp-udiv.s:43: Error: bad expression
> tmp-udiv.s:43: Error: syntax error
> tmp-udiv.s:44: Error: bad expression
> tmp-udiv.s:44: Error: syntax error
> tmp-udiv.s:45: Error: bad expression
> tmp-udiv.s:45: Error: syntax error
> tmp-udiv.s:46: Error: bad expression
> tmp-udiv.s:46: Error: syntax error
> make[5]: *** [udiv.lo] Error 1
> make[5]: Leaving directory `/usr/local/src/maxima-5.6/gcl-2.4.0/gmp/mpn'
> make[4]: *** [all-recursive] Error 1
> make[4]: Leaving directory `/usr/local/src/maxima-5.6/gcl-2.4.0/gmp/mpn'
> make[3]: *** [gmp/libgmp.a] Error 2
> make[3]: Leaving directory `/usr/local/src/maxima-5.6/gcl-2.4.0'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory `/usr/local/src/maxima-5.6/gcl-2.4.0'
> make[1]: *** [build] Error 2
> make[1]: Leaving directory `/usr/local/src/maxima-5.6/gcl-2.4.0'
> make: *** [gcl-stamp] Error 2
> Build command 'cd maxima-5.6 && dpkg-buildpackage -b -uc' failed.
> E: Child process failed
> -----------------------------------------------------------------------------------------------------------------------------------------
> -- 
> Roberto Bernetti
> Dipartimento di Meccanica
> Università Politecnica delle Marche
> via Brecce Bianche
> 60131 Ancona, ITALIA
> tel.: +39-071-2204542
> fax.: +39-071-2204801
> e-mail: address@hidden

Camm Maguire                                            address@hidden
"The earth is but one country, and mankind its citizens."  --  Baha'u'llah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]