Le 11 août 07 à 15:01, js a écrit :
Me again. replaying to myself.
By editing portfile, I succeeded to make it work.
the following is the patch.
------------------------------------------------
-configure.cflags-append -DSQLITE_ENABLE_LOCKING_STYLE=1 -I$
{prefix}/include
-configure.cppflags-append -I${prefix}/include
+configure.cflags-append -DSQLITE_ENABLE_LOCKING_STYLE=1
-I${prefix}/include/readline
+configure.cppflags-append -I${prefix}/include/readline
------------------------------------------------
I don't know this is right way or not, but it worked for me.
On 8/11/07, js <[EMAIL PROTECTED]> wrote:
Hello.
Installing sqlite3 failed (I'm using MacPorts 1.5.10 on OS X
10.3.9, Panther)
I've got the following error.
========================================
gcc -O2 -DSQLITE_ENABLE_LOCKING_STYLE=1 -I/opt/local/include/readline
-I. -I./src -DNDEBUG -DTHREADSAFE=1 -DSQLITE_THREAD_OVERRIDE_LOCK=-1
-DSQLITE_ENABLE_LOCKING_STYLE=1 -DSQLITE_OMIT_LOAD_EXTENSION=1
-DHAVE_READLINE=1 -O2 -DSQLITE_ENABLE_LOCKING_STYLE=1
-I/opt/local/include/readline -o .libs/sqlite3 ./src/shell.c
-L/opt/local/lib ./.libs/libsqlite3.dylib -lpthread -lreadline
src/shell.c:46:32: readline/readline.h: No such file or directory
src/shell.c:47:31: readline/history.h: No such file or directory
src/shell.c: In function `one_input_line':
src/shell.c:238: warning: assignment makes pointer from integer
without a cast
gnumake: *** [sqlite3] Error 1
Error: Target org.macports.build returned: shell command " cd
"/opt/local/var/macports/build/
_opt_local_var_macports_sources_rsync.macports.org_release_ports_data
bases_sqlite3/work/sqlite-3.4.1"
&& gnumake all " returned error 2
========================================
I tried port clean and re-install readline ncurses
but it didn't help.
Any clues?
Please file a ticket about it on Trac.
Regards,
--
Anthony Ramine, a lazy french student.
[EMAIL PROTECTED]
_______________________________________________
macports-users mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo/macports-users