Failed compile on afs system -- ncurses

273 views
Skip to first unread message

noa...@umich.edu

unread,
Feb 10, 2014, 11:20:13 AM2/10/14
to sage-...@googlegroups.com

Hello.

I'm compiling from source to a directory in my allocation on the afs filesystem of the school. I don't have full privilege, of course, but I have access to all of the compilation tools in the install checklist, so I think this should be doable. It runs for a few hours, but halts while installing ncurses:

_________________________________________________

"terminfo.tmp", line 306, terminal 'lpr': can't link l/lpr to p/printer

? tic could not build /afs/umich.edu/user/n/o/noajshu/Private/2012-2013_Research/SAGE/sage-6.1.1/local/share/terminfo

make[4]: *** [install.data] Error 1

make[4]: Leaving directory `/afs/umich.edu/user/n/o/noajshu/Private/2012-2013_Research/SAGE/sage-6.1.1/local/var/tmp/sage/build/ncurses-5.9.p2/src/narrow/misc'

make[3]: *** [install] Error 2

make[3]: Leaving directory `/afs/umich.edu/user/n/o/noajshu/Private/2012-2013_Research/SAGE/sage-6.1.1/local/var/tmp/sage/build/ncurses-5.9.p2/src/narrow'

Error installing ncurses (narrow).

_________________________________________________

In the ncurses log file I find the same information. The logs are here:

umich.edu/~noajshu/documents/ncurses-5.9.p2.log

umich.edu/~noajshu/documents/install.log


Is this a problem with symlinks?

-This is all the system information I can glean from uname -a:

Linux goldenaxe.gpcc.itd.umich.edu 2.6.27.3 #1 SMP Wed Apr 15 16:10:00 EDT 2009 i686 GNU/Linux


Thanks a million,

Noah

Jean-Pierre Flori

unread,
Feb 10, 2014, 5:13:49 PM2/10/14
to sage-...@googlegroups.com
The error is: "
"terminfo.tmp", line 306, terminal 'lpr': can't link l/lpr to p/printer"

So it seems to be something with symlinks.

noa...@umich.edu

unread,
Feb 11, 2014, 6:33:42 PM2/11/14
to sage-...@googlegroups.com
Thanks. I fixed the problem by adding
    --enable-symlinks \
to both ./configure sections of the spkg-install file in the build directory, and ncurses is all set.

However, now there is a problem with the garbage collector in ecl-12.12.1.p4:

____________________________________________________________
configure: Configuring included Boehm GC library:
configure: error: Unable to configure Boehm-Weiser GC
Error - Failed to configure ECL ... exiting
__________________________________________________________

Sage is right, in that I can go to the tmp folder and the file "gc-unstable" is absent. Any idea why this is?

On another note: given the difficulty of doing a full compile of all of Sage's components on nonstandard systems, is there some workaround that ignores errors in the make, or does a very minimal install? I only need the installation on this computer so that I can run a simple piece of code for a long time to verify a conjecture. Alternatively, is there a way to compile a .sage script to a complete .c or .py file that could then be compiled on a system lacking sage?
ecl-12.12.1.p4.log

Volker Braun

unread,
Feb 11, 2014, 6:42:27 PM2/11/14
to sage-...@googlegroups.com
Install to /tmp or /scratch (if you have one)

AFS doesn't support hard links (only if both files are in the same directory, which is entirely useless).
Reply all
Reply to author
Forward
0 new messages