This is with a Sun Ultra 80, running Solaris 10 update 7 with Sun Studio 
12 update 1.

drkir...@smudge:[~/sqlite-3.6.17] $ echo $CC
/opt/sunstudio12.1/bin/cc
drkir...@smudge:[~/sqlite-3.6.17] $ echo $CXX
/opt/sunstudio12.1/bin/CC


There is an issue where the configure script checks for readline

checking for readline... yes


then later we get error messages

/opt/sunstudio12.1/bin/cc -DPACKAGE_NAME=\"sqlite\" 
-DPACKAGE_TARNAME=\"sqlite\" -DPACKAGE_VERSION=\"3.6.17\" 
-DPACKAGE_STRING=\"sqlite\ 3.6.17\" 
-DPACKAGE_BUGREPORT=\"http://www.sqlite.org\"; -DPACKAGE=\"sqlite\" 
-DVERSION=\"3.6.17\" -D_FILE_OFFSET_BITS=64 -DSTDC_HEADERS=1 
-DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 
-DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 
-DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 
-DHAVE_USLEEP=1 -DHAVE_LOCALTIME_R=1 -DHAVE_GMTIME_R=1 -DHAVE_READLINE=1 
-I. -I.    -DSQLITE_THREADSAFE=1  -g -c shell.c
"shell.c", line 44: cannot find include file: <readline/readline.h>
"shell.c", line 45: cannot find include file: <readline/history.h>
"shell.c", line 1165: warning: implicit function declaration: readline
"shell.c", line 1165: warning: improper pointer/integer combination: op "="
"shell.c", line 1167: warning: implicit function declaration: add_history
"shell.c", line 3166: warning: implicit function declaration: read_history
"shell.c", line 3170: warning: implicit function declaration: stifle_history
"shell.c", line 3171: warning: implicit function declaration: write_history
cc: acomp failed for shell.c
make: *** [shell.o] Error 1


So it looks to me that there should be a more thorough check of exactly 
what is needed with readline. Perhaps a check should be done of the 
header files too in the configure script, before deciding to install 
readline support.


_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to