[R-sig-DB] RSQLite 0.4-1 compilation error on Solaris 2.9
hp@ges m@iii@g oii ihcrc@org
hp@ges m@iii@g oii ihcrc@org
Thu Jul 13 02:52:56 CEST 2006
Hi list,
I tried to install RSQLite_0.4-1.tar.gz on a Solaris 2.9 (sparc)
machine and got the following error:
hpages using churchill:~/shipping_and_receiving> R-2.3 CMD INSTALL
RSQLite_0.4-1.tar.gz
* Installing *source* package 'RSQLite' ...
checking for gcc... gcc
...
building the SQLite engine ... slowly ....
(the file /tmp/sqlite15229 stores compiler messages)
SQLite installation failed.
...
Then, in /tmp/sqlite15229, I found:
...
./libtool --mode=link gcc -g -O2 -DOS_UNIX=1 -DHAVE_USLEEP=1 -I. -I./src
-DNDEBUG -DTHREADSAFE=0 -DSQLITE_OMIT_CURSOR -DHAVE_READLINE=1
-I/usr/local/include/readline \
-o sqlite3 ./src/shell.c libsqlite3.la -lreadline -lncurses
gcc -g -O2 -DOS_UNIX=1 -DHAVE_USLEEP=1 -I. -I./src -DNDEBUG -DTHREADSAFE=0
-DSQLITE_OMIT_CURSOR -DHAVE_READLINE=1 -I/usr/local/include/readline -o sqlite3
./src/shell.c ./.libs/libsqlite3.a -lreadline -lncurses
Undefined first referenced
symbol in file
fdatasync ./.libs/libsqlite3.a(os_unix.o)
ld: fatal: Symbol referencing errors. No output written to sqlite3
collect2: ld returned 1 exit status
make: *** [sqlite3] Error 1
But, this problem disppears if I replace the current embedded
sqlite source tarball (RSQLite/src/sqlite-3.2.8.tar.gz) by the
last available one (sqlite-3.3.6.tar.gz).
Are there any plan to update the embedded sqlite source tarball
provided with RSQLite?
Thanks,
H.
------------------------
Hervé Pagès
E-mail: hpages using fhcrc.org
Phone: (206) 667-5791
Fax: (206) 667-1319
More information about the R-sig-DB
mailing list