On 04/ 6/11 09:33 AM, Apostolos Syropoulos wrote:
Hello,
Well I have tried to compile sage on OpenIndiana and it does not compile. In
particular, it stops as follows
/bin/sh ./libtool --tag=CC --mode=link gcc -DSQLITE_THREADSAFE=0
-DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_RTREE -g -O2 -o sqlite3 shell.o
./libsqlite3.la -lreadline -lcurses
gcc -DSQLITE_THREADSAFE=0 -DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_RTREE -g -O2 -o
.libs/sqlite3 shell.o ./.libs/libsqlite3.so -lreadline -lcurses -Wl,--rpath
-Wl,/home/apostolo/gnu/sage-4.6.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/apostolo/gnu/sage-4.6.2/spkg/build/sqlite-3.6.22/src'
Error making sqlite
real 0m40.314s
user 0m35.454s
sys 0m4.014s
sage: An error occurred while installing sqlite-3.6.22
The problem is that "--rpath" option is not recognized; it must be "-rpath".
BTW, I am using
$ autoconf --version
autoconf, libtool and automake are not needed.
$ make --version
GNU Make 3.81
That's fine
$ perl -v
This is perl, v5.8.4 built for i86pc-solaris-64int
Regards,
A.S.
PS Out of curiosity on which version of Solaris x86 you have successfully
compiled sage?
* Solaris 10 update 5 (Each release of Sage is tested on this)
* OpenSolaris 06/2009 (Each release of Sage is tested on this)
* Solaris 11 Express. (Sage is not tested much on this. It's on my laptop).
We have built it on Solaris 10 x86 update 5 and OpenSolaris 06/2009. We have not
tried on OpenIndian. I would have expected it to work on there too.
drkirkby@hawk:~/sage-4.7.alpha2$ cat /etc/release
OpenSolaris Development snv_134 X86
Copyright 2010 Sun Microsystems, Inc. All Rights Reserved.
Use is subject to license terms.
Assembled 01 March 2010
drkirkby@hawk:~/sage-4.7.alpha2$ ./sage
----------------------------------------------------------------------
| Sage Version 4.7.alpha2, Release Date: 2011-03-21 |
| Type notebook() for the GUI, and license() for information. |
----------------------------------------------------------------------
**********************************************************************
* *
* Warning: this is a prerelease version, and it may be unstable. *
* *
**********************************************************************
sage:
Can you download the sqlite-3.6.22 source code and let us know if you can
compile that outside of Sage. Or alternatively, if you type
cd spgk/standard
tar xfj sqlite-3.6.22.spkg
cd sqlite-3.6.22/src
./configure
make
that will be exactly the same, as the "src" directory in any sage package has
the unmodified source code. (the .spkg files are usually .tar.bz2 files. Just we
use another name, as the odd few are not compressed).
If Sage makes any patches to it, then the we don't change the "src" directory,
so that directory will contain the source code the SQlite group released.
I do note the version in Sage is rather out of date, but it does build on
Solaris, both SPARC and x86.
Was you as I expected using the GNU version of "find" before?
--
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
Dave
--
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org