Re: [sqlite] sqlite on SunOS 5.6 (Solaris Sparc 6)

2005-10-25 Thread rpyne
Thanks, changing my path order and replacing awk with gawk solved the 
(first) problem. Now I am getting:

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 .libs/sqlite3 ./src/shell.c  
./.libs/libsqlite3.so -lreadline -lcurses -Wl,--rpath -
Wl,/usr/local/lib
./.libs/libsqlite3.so: undefined reference to `fdatasync'
collect2: ld returned 1 exit status
make: *** [sqlite3] Error 1


Can anyone guide me to where "fdatasync" should be?

Thanks.

--Richard



On 25 Oct 2005 at 7:06, Kurt Welgehausen wrote:

> This looks like a problem that has come up several
> times before on the list. If I remember correctly,
> it's usually that the awk shipped by Sun doesn't
> support the extended syntax that Sqlite expects.
> 
> Try installing gawk if it's not there already, and
> do whatever is required to use it in place of awk.
> 
> Regards
> 




[sqlite] sqlite on SunOS 5.6 (Solaris Sparc 6)

2005-10-24 Thread rpyne
Has anyone sucessfully built sqlite 3.2.7 on a SunOS 5.6 (Solaris 
sparc 6) box?

I had no problems with sqlite 2, but can't seem to get sqlite3 to 
build.

Using the ./configure ; make route, it dies with:

./lemon -DSQLITE_OMIT_CURSOR   parse.y
cat parse.h ./src/vdbe.c | awk -f ./mkopcodeh.awk >opcodes.h
awk: syntax error near line 36
awk: illegal statement near line 36
awk: syntax error near line 37
awk: illegal statement near line 37
awk: syntax error near line 42
awk: illegal statement near line 42
awk: syntax error near line 103
awk: illegal statement near line 103
make: *** [opcodes.h] Error 2


Trying to use the generic Makefile, I get the same results.

Thanks,

--Richard