trouble compiling sage-2.8

2 views
Skip to first unread message

Alex Ghitza

unread,
Aug 13, 2007, 11:47:53 AM8/13/07
to sage-s...@googlegroups.com
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

I'm trying to compile sage-2.8 and it breaks down on linbox_wrap, with
the message:


checking for correct ltmain.sh version... no
configure: error:

*** [Gentoo] sanity check failed! ***
*** libtool.m4 and ltmain.sh have a version mismatch! ***
*** (libtool.m4 = 1.5.22, ltmain.sh = "1.5.22 Debian 1.5.22-4") ***

Please run:

libtoolize --copy --force

if appropriate, please contact the maintainer of this
package (or your distribution) for help.


I'm running Gentoo on a standard Dell laptop. I tried the libtoolize
command in the linbox_wrap subdirectory, and after that "make" in that
directory works, but when I come back down to the sage-2.8 directory and
try "make" again, it tries to compile linbox again and fails with the
same message. Is there an easy way to fix this?

I run into the same problem if I try to just update from sage-2.7.3.

Cheers,
Alex
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGwH0pdZTaNFFPILgRAu4vAJ94b8hmk7C+xpbbmGK0dPUyZSlViwCfdj08
oknlkQHBHsEzgntnV7sQyT0=
=7pyM
-----END PGP SIGNATURE-----

mabshoff

unread,
Aug 13, 2007, 2:00:14 PM8/13/07
to sage-support

On Aug 13, 5:47 pm, Alex Ghitza <aghi...@gmail.com> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi,

Hello,

>
> I'm trying to compile sage-2.8 and it breaks down on linbox_wrap, with
> the message:
>
> checking for correct ltmain.sh version... no
> configure: error:
>
> *** [Gentoo] sanity check failed! ***
> *** libtool.m4 and ltmain.sh have a version mismatch! ***
> *** (libtool.m4 = 1.5.22, ltmain.sh = "1.5.22 Debian 1.5.22-4") ***
>

Interesting. William did some ugly hacks to get some include problem
to get away. This was the short term solution and we hope that Martin
Albrecht will update the autohell scripts to make this go away.

> Please run:
>
> libtoolize --copy --force
>
> if appropriate, please contact the maintainer of this
> package (or your distribution) for help.
>
> I'm running Gentoo on a standard Dell laptop. I tried the libtoolize
> command in the linbox_wrap subdirectory, and after that "make" in that
> directory works, but when I come back down to the sage-2.8 directory and
> try "make" again, it tries to compile linbox again and fails with the
> same message. Is there an easy way to fix this?
>

Yes: Go in the spkg/standard directory. untar linbox-20070812.spkg,
make the changes. Then recreate the spkg with

tar cjf linbox-20070812.spkg linbox-20070812

and rerun make from $SAGE_ROOT.

> I run into the same problem if I try to just update from sage-2.7.3.
>
> Cheers,
> Alex

Cheers,

Michael

Joel B. Mohler

unread,
Aug 14, 2007, 5:11:43 PM8/14/07
to sage-s...@googlegroups.com
Alex,

Did you find a solution for this? I got the same error on my gentoo as well.
I see you have later posts which make it appear that you have sage-2.8
installed.

--
Joel

William Stein

unread,
Aug 14, 2007, 5:13:53 PM8/14/07
to sage-s...@googlegroups.com
Please try the linbox package here:

http://sage.math.washington.edu/home/was/lj/

Let me know if it works.

-- William


--
William Stein
Associate Professor of Mathematics
University of Washington
http://www.williamstein.org

Alex Ghitza

unread,
Aug 14, 2007, 5:51:19 PM8/14/07
to sage-s...@googlegroups.com
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

Yes, everything went fine, thanks to Michael Abshoff's advice. In
summary, here's what I did:

cd /opt/sage-2.8/spkg/standard
tar xvf linbox-20070812.spkg
cd linbox-20070812/linbox_wrap
libtoolize --copy --force
cd ../..
tar cjf linbox-20070812.spkg linbox-20070812
cd /opt/sage-2.8
make

You can of course get rid of the directory linbox-20070812 that got
created in the process.

Cheers,
Alex

-----BEGIN PGP SIGNATURE-----


Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGwiPXdZTaNFFPILgRAiGXAJ9c/OEX080xXX1uCBYEUkXQAaNEIQCgjbWo
SIRA//dkF0UAzgiw2RvthSU=
=WM6n
-----END PGP SIGNATURE-----

William Stein

unread,
Aug 14, 2007, 5:58:07 PM8/14/07
to sage-s...@googlegroups.com
Does using the linbox package posted here work?

http://sage.math.washington.edu/home/was/lj/

Download that and do
sage -f linbox-20070814.spkg

-- William

Joel B. Mohler

unread,
Aug 14, 2007, 8:45:28 PM8/14/07
to sage-s...@googlegroups.com
On Tuesday 14 August 2007 17:58, William Stein wrote:
> Does using the linbox package posted here work?
>
> http://sage.math.washington.edu/home/was/lj/
>
> Download that and do
> sage -f linbox-20070814.spkg

Yes, that appears to fix my problem.

Thanks
--
Joel

Alex Ghitza

unread,
Aug 14, 2007, 9:36:15 PM8/14/07
to sage-s...@googlegroups.com
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Yes, it worked for me as well.

Alex

iD8DBQFGwliPdZTaNFFPILgRAkUsAJ0VUFKh6XPSCzCgbZnqy8ls8ySiAgCghTlT
iSsJM85ZWrlDcMcU9JlkGhw=
=Blav
-----END PGP SIGNATURE-----

Reply all
Reply to author
Forward
0 new messages