|
Posted by Jerry Stuckle on 09/28/78 12:01
Gilles Ganault wrote:
> Hello
>
> I need to compile PHP5 with SQLite statically and without PDO.
> I don't need DB-independence, so it's fine using sqlite_*() functions
> instead of PDO.
>
> 1. I've downloaded, compiled, and installed
> sqlite.org/sqlite-3.5.4.tar.gz, and...
> 2. used "--with-sqlite --disable-pdo", but it fails.
>
> Those others failed too:
> --disable-pdo --with-sqlite=/usr/local/lib/libsqlite3.a
> --disable-pdo --with-sqlite=/usr/local/lib/libsqlite3.la
> --disable-pdo --with-sqlite=/usr/local/lib/libsqlite3.so.0.8.6
>
> FWIW, I edited PHP5's makefile before rerunning make after each time.
>
> => What's the right way to statically link SQLite while disabling PDO
> altogether?
>
> BTW, when using "--with-sqlite" as-is, how does make know where to
> find the SQLite library?
>
> Thank you.
>
You don't say what messages you get, so we have no idea what might be wrong.
If you don't tell where sqllite is located, config looks for it in the
system's default environment.
Also, you should also not need to do any editing of the makefile before
rerunning. In fact, it's not a good idea to do so. But you do want to
do a
make clean
before doing a second compile.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
Navigation:
[Reply to this message]
|