Re: [sage-devel] Sage *may* need GNU gettext for libintl.so.3 to run 'make test'
On 24 November 2010 12:56, Willem Jan Palenstijn wrote: > On Wed, Nov 24, 2010 at 12:48:16PM +, David Kirkby wrote: >> drkir...@laptop:~/sage-4.6.1.alpha2$ make test >> ld.so.1: make: fatal: libintl.so.3: open failed: No such file or directory >> Killed > > That sounds like the 'make' binary itself is failing to run, I think. > Does make work? (Maybe try just running 'make' in an empty directory.) > > -Willem Jan Yes, well done. I had a copy of GNU make (gmake) copied to /usr/local/bin-for-sage/make That was failing to run. When I copied /usr/bin/gmake to /usr/local/bin-for-sage/make, so it works. Since Sage needs GNU make, and Solaris ships with an incompatible 'make' command, one must copy the GNU version (gmake on Solaris) to somewhere. and put that in the path before the Sun version. Of course, in an ideal world one could build Sage by use of 'gmake' directly, but some parts have the command name 'make' hard-coded. I've now started to run the tests. Since this is only a 2 GHz dual core laptop, and I want some CPU power for other tasks, I'm not going to run the parallel tests. Normally on my workstation (3.33 GHz quad core hyperthreaded Xeon), I can run all the tests in under half an hour, but I think it will take much longer on this machine. So far (after 5-minutes of testing), there are no failures. Dave -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org
Re: [sage-devel] Sage *may* need GNU gettext for libintl.so.3 to run 'make test'
On Wed, Nov 24, 2010 at 12:48:16PM +, David Kirkby wrote: > drkir...@laptop:~/sage-4.6.1.alpha2$ make test > ld.so.1: make: fatal: libintl.so.3: open failed: No such file or directory > Killed That sounds like the 'make' binary itself is failing to run, I think. Does make work? (Maybe try just running 'make' in an empty directory.) -Willem Jan -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org
[sage-devel] Sage *may* need GNU gettext for libintl.so.3 to run 'make test'
This is an issue I discovered on Solaris , but one I think can potentially effect all systems. I built sage 4.6.1.alpha2 on an OpenSolaris 06/2009 system (*without* setting SAGE_FAT_BINARY=yes), then copied the complete file system to an absolute minimal install of Solaris 11 Express, which is a sort of pre-release of Solaris 11. I've *not* used the package manager to install any software at on this Solaris 11 express system, so there's not even gcc on this. http://www.oracle.com/us/products/servers-storage/solaris/index.html Trying to run Sage on the Solaris 11 Express laptop I hit 3 problems I expected, as there's no gcc on this machine. 1) There is no libgcc_s.so.1 2) There's no libstdc++.so.6 3) There's no libgfortran.so.3 After copying those libraries, so Sage stats without any warnings or errors when starting. It has at least basic functionality. At this point I thought I'd run the tests, but hit a problem I was not expecting: drkir...@laptop:~/sage-4.6.1.alpha2$ make test ld.so.1: make: fatal: libintl.so.3: open failed: No such file or directory Killed This library is part of GNU gettext as far as I can see.either 1) Sage does depend on gettext 2) The use of GNU gettext must be excluded when SAGE_FAT_BINARY=yes. Since I did not build with SAGE_FAT_BINARY=yes, I don't actually know if this issue might be taken care of anyway. I thought testing if Sage works would have been one of the very first things 'make test' does, but clearly whatever is wanting this library is being run before the check if Sage works takes place, since Sage does actually work. Any thoughts? Dave -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org