FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.

» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu Masters Of The Universe

LinkBack Thread Tools
Old 02-25-2012, 07:02 PM
Jan Groenewald
Default Building a deb for sage on Debian/Ubuntu


I am looking for a Debian or Ubuntu packaging mentor.

I am not an experienced debian packager, I am learning everything from scratch.

But I am an experienced system administrator.

I am hoping to find a mentor familiar with both Debian/Ubuntu and sage to assist me.

I am trying to build a deb package for sage. I am doing this on launchpad for Ubuntu using

I would not mind getting Sage into Debian first, but found the Ubuntu documentation
more accessible and am an Ubuntu user.

I am NOT trying to debianize sage fully -- i.e. I do not want to have sage depend
on debian/ubuntu versions of all the spkg'es, my goal is just to make Sage easy to

install on Ubuntu through a personal package archive, including all sage versions of

I have succesfully built sage-4.8 on Ubuntu 12.04 (yes, the development version).
However, when running debuild, maxima fails to build:

l,-z,relro -L/home/jan/sage-4.8/sagemath/local/lib -Wl,--rpath,/home/jan/sage-4.8/sagemath/local/lib -L/home/jan/sage-4.8/sagemath/local/lib -lecl -lgmp -lgc -ldl -lm make[4]: *** [binary-ecl/maxima] Error 1
make[4]: Leaving directory `/home/jan/sage-4.8/sagemath/spkg/build/maxima-5.23.2.p3/src/src'

make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/jan/sage-4.8/sagemath/spkg/build/maxima-5.23.2.p3/src'
************************************************** *********
Error: Failed to build Maxima.

************************************************** *********

real*** 4m21.449s
user*** 3m49.458s
sys*** 0m19.189s
************************************************** **********************
Error installing package maxima-5.23.2.p3

************************************************** **********************
Please email sage-devel (http://groups.google.com/group/sage-devel)
explaining the problem and including the relevant part of the log file

* /home/jan/sage-4.8/sagemath/spkg/logs/maxima-5.23.2.p3.log
Describe your computer, operating system, etc.
If you want to try to fix the problem yourself, *don't* just cd to
/home/jan/sage-4.8/sagemath/spkg/build/maxima-5.23.2.p3 and type 'make' or whatever is appropriate.

Instead, the following commands setup all environment variables
correctly and load a subshell for you to debug the error:
* (cd '/home/jan/sage-4.8/sagemath/spkg/build/maxima-5.23.2.p3' && '/home/jan/sage-4.8/sagemath/sage' -sh)

When you are done debugging, you can type "exit" to leave the subshell.
************************************************** **********************
make[2]: *** [installed/maxima-5.23.2.p3] Error 1
make[2]: Leaving directory `/home/jan/sage-4.8/sagemath/spkg'

real*** 145m34.953s
user*** 127m7.853s
sys*** 8m51.233s
Error building Sage.
make[1]: *** [build] Error 1
make[1]: Leaving directory `/home/jan/sage-4.8/sagemath'
dh_auto_build: make -j1 returned exit code 2

make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
debuild: fatal error at line 1350:
dpkg-buildpackage -rfakeroot -D -us -uc failed
29 jan@osprey:~/sage-4.8/sagemath$


* .~.
* /V**** Jan Groenewald
*/( )*** www.aims.ac.za


Ubuntu-motu mailing list
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-motu

Thread Tools

All times are GMT. The time now is 02:47 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org