Hi,

I am trying to build sage 4.2.1 from source under OpenSUSE 11.1 (Yes,
I know, there are binaries and they run just fine, but for I'd really
love to be able to build it myself.)

The prerequisite check works out fine:

> Machine: Linux linux-57rx 2.6.31.5-0.1-desktop #1 SMP PREEMPT 2009-10-26 
> 15:49:03 +0100 i686 i686 i386  > GNU/Linux
> found make
> found ar
> found perl
> found m4
> found ranlib
> found tar
> found gcc
> found g++
> [...]
> All prerequisites appear to be present.

Followed only by a warning:

> Warning: Attempted to overwrite SAGE_ROOT environment variable

The extraction of the sage-script packages runs smoothly, but then
immediately two warnings/erros show up:

> cp: cannot stat 
> `/home/zieglerk/8--software/math/sage/sage-4.2.1/sage-python': No such file 
> or directory
> cp: cannot stat `/home/zieglerk/8--software/math/sage/sage-4.2.1/ipython': No 
> such file or directory

Again followed by the warning:

> Warning: Attempted to overwrite SAGE_ROOT environment variable

The installation of the zlib-packages also makes no difficulties, but
then we turn to termcap and after the extraction the trouble starts
(and ends).

> creating Makefile
> make[2]: Entering directory 
> `/home/zieglerk/8--software/math/sage/sage-4.2.1/spkg/build/termcap-1.3.1.p0/src'
> gcc -c  -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1  
> -DTERMCAP_FILE=\"/etc
> /termcap\" -I. -I. -fPIC termcap.c
> make[2]: *** No rule to make target `tparam.o', needed by `libtermcap.a'.  
> Stop.
> make[2]: Leaving directory 
> `/home/zieglerk/8--software/math/sage/sage-4.2.1/spkg/build/termcap-1.3.1.p0/src'
> ERROR building termcap
> [...]
> sage: An error occurred while installing termcap-1.3.1.p0
> Please email sage-devel http://groups.google.com/group/sage-devel

I posted a short version of this on #sage-devel hopping there would be
a straightforward solutions.  Unfortunately, it does not seem to be
that easy, so I was advised to put this here with more background
information.

Kind regards,
Konstantin

PS: I had already a binary installation of sage on this machine
running, but deleted it before my attempts to build from source.  I
hope, that is not the reason for the problems, since I "uninstalled"
just by deleting the corresponding directory.

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

Reply via email to