Hi, this is about a problem with building Maxima as an ECL library using ECL 11.1.1 on a rather old Redhat system with gcc 4.1.2. Is ECL tested on that kind of systems? Does this issue look familiar? Thanks, Dima
The complete sage-devel discussion is here: https://groups.google.com/group/sage-devel/browse_thread/thread/33580987797084dd ---------- Forwarded message ---------- From: Dima Pasechnik <[email protected]> Date: 6 March 2012 11:31 Subject: Re: Sage 4.8 build failed: Error: Failed to build Maxima as an ECL library. To: sage-devel <[email protected]> Cc: Dima Pasechnik <[email protected]> Well, I don't see what goes wrong there (except that the compiler you use is so outdated that surely Sage is not tested with it --- version alone does not say this, as the same version on MacOSX is a different beast). You mention "people talking about this error on Lion". Any links to any posts/forums on this? I guess it is an ECL bug (or feature :)). I'll cc'in this to the ECL list, just in case they are aware of these issues. On Mar 5, 1:26 pm, "[email protected]" <[email protected]> wrote: > Hello Dmitrii, > > Thank you very much for looking to my case. > > I have uploaded it here, good luck with this 90Mb file: > > http://payamban.com/install.log > > Moreover, maybe this information is also useful: > > ~/sage $ cat /etc/redhat-release > Red Hat Enterprise Linux Server release 5.8 (Tikanga) > ~/sage $ gcc --version > gcc (GCC) 4.1.2 20080704 (Red Hat 4.1.2-52) > Copyright (C) 2006 Free Software Foundation, Inc. > This is free software; see the source for copying conditions. There is NO > warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. > > > On Mar 2, 5:03 pm, "[email protected]" <[email protected]> > > wrote: > > > Hi there, > > > > I saw people talking about this error on Lion. But this machine is > > > linux, so it might be a new error. > > > > uname - a > > > Linux msx0 2.6.18-274.12.1.el5 #1 SMP Tue Nov 8 21:37:35 EST 2011 > > > x86_64 x86_64 x86_64 GNU/Linux > > > > Error Log: > > > ;;; OPTIMIZE levels: Safety=2, Space=0, Speed=3, Debug=0 > > > ;;; > > > ;;; End of Pass 1. > > > ;;; Note: > > > ;;; Invoking external command: > > > ;;; gcc -I. -I/files3/home/sahosse/sage/local/include/ -I/files3/ > > > home/sahosse/sage/local/include -I/files3/home/sahosse/sage/local/ > > > include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -fPIC -Dlinux -O2 - > > > w -c /tmp/ecl001ff18EH.c -o /tmp/ecl001ff18EH.o > > > An error occurred during initialization: > > > Component "maxima" not found. > > > ;;; Note: > > > ;;; Invoking external command: > > > ;;; gcc -o /tmp/ecl001ff18EH.fas -L/files3/home/sahosse/sage/local/ > > > lib/ /tmp/ecl001ff18EH.o -Wl,--rpath,/files3/home/sahosse/sage/local/ > > > lib/ -shared -L/files3/home/sahosse/sage/local/lib -L/files3/home/ > > > sahosse/sage/local/lib -Wl,--rpath,/files3/home/sahosse/sage/local/lib > > > -L/files3/home/sahosse/sage/local/lib -lecl -lgmp -lgc -ldl -lm > > > *********************************************************** > > > Error: Failed to build Maxima as an ECL library. > > > *********************************************************** > > > > real 3m59.112s > > > user 3m22.988s > > > sys 0m28.888s > > > ************************************************************************ > > > 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 > > > /files3/home/sahosse/sage/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 > > > /files3/home/sahosse/sage/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 '/files3/home/sahosse/sage/spkg/build/maxima-5.23.2.p3' && '/ > > > files3/home/sahosse/sage/sage' -sh) > > > When you are done debugging, you can type "exit" to leave the > > > subshell. > > > ************************************************************************ > > > make[1]: *** [installed/maxima-5.23.2.p3] Error 1 > > > make[1]: Leaving directory `/files3/home/sahosse/sage/spkg' > > > > real 4m6.986s > > > user 3m30.353s > > > sys 0m31.555s > > > Error building Sage. > > > make: *** [build] Error 1 > > > > P.S. I don't have root access to this machine ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ Ecls-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ecls-list
