Re: installation problems

234 views
Skip to first unread message

Dima Pasechnik

unread,
Jun 26, 2012, 7:15:11 PM6/26/12
to sage-s...@googlegroups.com
there is a problem with your toolchain, apparently:


On Tuesday, 26 June 2012 19:40:45 UTC+1, rst wrote:
Hello,
I downloaded the sage 5.0.1 package
after extracting the archive, and typing "make" I receive the following error:

Installing c_lib
g++ -o libcsage.so -shared src/convert.os src/interrupt.os src/memory.os src/mpn_pylong.os src/mpz_pylong.os src/mpz_longlong.os src/stdsage.os src/gmp_globals.os src/ZZ_pylong.os src/ntl_wrap.os -L/home/ray/Downloads/sage-5.0.1-linux-64bit-ubuntu_10.04.3_lts-x86_64-Linux/local/lib -L/home/ray/Downloads/sage-5.0.1-linux-64bit-ubuntu_10.04.3_lts-x86_64-Linux/local/lib/python2.7/config -lntl -lpari -lgmp -lpython2.7
/usr/bin/ld: cannot find crti.o: No such file or directory
collect2: ld returned 1 exit status

spkg/logs/
directory is empty

package source:
www.cecm.sfu.ca/sage/linux/64bit/sage-5.0.1-linux-64bit-ubuntu_10.04.3_lts-x86_64-Linux.tar.lzma

system details:
Kubuntu 12.04, 64 bit intel Centrino processor, 4GB RAM

I have gone through the install guide (www.sagemath.org/doc/installation/source.html) and made sure all prerequisites are in place, hovever I did receive the error "Unable to locate package xdvi" but as I understand it, this is a secondary utility only.

I have tried setting SAGE_INSTALL_GCC=no

any assistance is appreciated
Ray

rst

unread,
Jun 26, 2012, 8:46:20 PM6/26/12
to sage-s...@googlegroups.com


On Tuesday, June 26, 2012 5:15:11 PM UTC-6, Dima Pasechnik wrote:
there is a problem with your toolchain, apparently:



Thanks Dima,
It looks like you are right on. I'm including a few details in case any one else comes here with the same problem. 
Ray

According to the bug report, the problem is fixed in binutils - 2.21... I am using 2.22. incorrect fix, regression?
A work around is given, set environment variable
LIBRARY_PATH=/usr/lib/i386-linux-gnu
but for a 64 bit system
LIBRARY_PATH=/usr/lib/x86_64-linux-gnu

 The workaround as given in the linked bug report does need to be modified for a 64 

Jeroen Demeyer

unread,
Jun 28, 2012, 3:25:18 AM6/28/12
to sage-s...@googlegroups.com
On 2012-06-26 20:40, rst wrote:
> package source:
> www.cecm.sfu.ca/sage/linux/64bit/sage-5.0.1-linux-64bit-ubuntu_10.04.3_lts-x86_64-Linux.tar.lzma
This is the *binary* distribution. If you want to build Sage yourself,
use the *source* distribution:

http://www.sagemath.org/download-source.html

Make sure you have gcc, g++, gfortran, m4, dpkg-dev installed.

Jan Groenewald

unread,
Jun 28, 2012, 3:30:06 AM6/28/12
to sage-s...@googlegroups.com
Hi


If you do not wish to build from source, you can use a PPA which packages the binary
for (K)Ubuntu 12.04.

sudo apt-add-repository -y ppa:aims/sagemath
sudo apt-get update
sudo apt-get install sagemath-upstream-binary

This has the advantage of being updated for you via the distribution's package manager.

Regards,
Jan



--
  .~.
  /V\     Jan Groenewald
 /( )\    www.aims.ac.za
 ^^-^^


Ray

unread,
Jun 29, 2012, 12:29:15 PM6/29/12
to sage-s...@googlegroups.com
if I am using a term incorrectly, I apologize. I downloaded that file, read the
readme file, issued the make command as instructed in that file, and found the
problems with the solutions mentioned in the previously in this thread.

and to Jan Groenewald, Thank you for your point about the PPA, Unfortunately I
noticed this as well, just after I got the install to work. : (
having said that, some sources indicated that this particular bug also affect
packages installed this way. I guess I should reinstall using the PPA to test,
but I don't know if I will.

Thank you all for your help.
Ray

> --
> To post to this group, send email to sage-s...@googlegroups.com
> To unsubscribe from this group, send email to
> sage-support...@googlegroups.com For more options, visit this
> group at http://groups.google.com/group/sage-support URL:
> http://www.sagemath.org

Jeroen Demeyer

unread,
Jul 2, 2012, 9:35:54 AM7/2/12
to sage-s...@googlegroups.com
On 2012-06-29 18:29, Ray wrote:
> I downloaded that file, read the
> readme file, issued the make command as instructed in that file
Did it work?

Ray

unread,
Jul 2, 2012, 7:42:42 PM7/2/12
to sage-s...@googlegroups.com
I'm sorry for any confusion. I consider the issue resolved. The post you
replied to is a part of a follow-up discussion on a couple of fine details. If
you would like to see the whole thread, see
https://groups.google.com/forum/?fromgroups#!topic/sage-support/SpUTKnTAce8
(you will have to login with google)
Reply all
Reply to author
Forward
0 new messages