Hi.

Sqlite3 fails to compile on OpenIndiana 151.  This is because --rpath
is passed to ld which is not gnu ld.  Possible solutions would be:
Use -R/home/johann/build/sage-4.7.2/local/lib instead.  Not use a
runtime library path at all (why is it hard coded to the build
directory?).  Use gld (gnu ld) [I have no idea how to tell gcc what ld
to use].

If a run time library path is needed, why not use $ORIGIN (supported
on FreeBSD, Linux and Solaris)?

% uname -a
SunOS asuka 5.11 oi_151a i86pc i386 i86pc

The actual error message follows:

gcc -DSQLITE_THREADSAFE=1 -DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_RTREE
-g -O2 -o .libs/sqlite3 shell.o  ./.libs/libsqlite3.so -lreadline
-lcurses  -Wl,--rpath -Wl,/home/johann/build/sage-4.7.2/local/lib
ld: fatal: unrecognized option '--'
ld: fatal: use the -z help option for usage information
collect2: ld returned 1 exit status
make[2]: *** [sqlite3] Error 1
make[2]: Leaving directory
`/home/johann/build/sage-4.7.2/spkg/build/sqlite-3.7.5/src'
Error making sqlite

real 1m49.904s
user 1m34.179s
sys  0m9.735s
sage: An error occurred while installing sqlite-3.7.5
Please email sage-devel http://groups.google.com/group/sage-devel
explaining the problem and send the relevant part of
of /home/johann/build/sage-4.7.2/install.log.  Describe your computer,
operating system, etc.
If you want to try to fix the problem yourself, *don't* just cd to
/home/johann/build/sage-4.7.2/spkg/build/sqlite-3.7.5 and type 'make
check' 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/johann/build/sage-4.7.2/spkg/build/sqlite-3.7.5' &&
'/home/johann/build/sage-4.7.2/sage' -sh)
When you are done debugging, you can type "exit" to leave the
subshell.
make[1]: *** [installed/sqlite-3.7.5] Error 1
make[1]: Leaving directory `/home/johann/build/sage-4.7.2/spkg'

real 1m51.001s
user 1m34.968s
sys  0m9.930s
Error building Sage.
gmake: *** [build] Error 1

-- 
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

Reply via email to