|
Posted by Jerry Stuckle on 09/28/58 12:02
Gilles Ganault wrote:
> On Mon, 28 Jan 2008 23:31:29 -0500, Jerry Stuckle
> <jstucklex@attglobal.net> wrote:
>> The default is to include sqlite support. If you need to add it, just
>> use --with-sqlite=/path/to/files.
>
> Unfortunately, while the former did work...
>
> ==========
> PHP5_SQLITE+=--disable-pdo --without-pdo-sqlite --with-sqlite
> ==========
>
> ... tthe latter doesn't:
>
> ==========
> PHP5_SQLITE+=--disable-pdo --without-pdo-sqlite
> --with-sqlite=/usr/local/lib/libsqlite3.a
> ==========
> [...]
> checking whether zend_object_value is packed... no
> checking for sqlite support... yes
> checking whether to enable UTF-8 support in sqlite (default:
> ISO-8859-1)... no
> checking for sqlite files in default path... not found
> configure: error: Please reinstall the sqlite distribution from
> http://www.sqlite.org
> make: ***
> [/home/compile/astlinux-trunk/build_i586/php-5.2.5/.configured] Error
> 1
> ==========
>
>> But your PHP5_SQLITE is not a valid configure option. You shouldn't be
>> using it.
>
> Probably, but it's part of a distro, and I don't have the skills to
> make changes. I just wanted to tell make to use the external, more
> modern version of SQLite.
>
If it's part of a distro, that's an entirely different story. Each
distro typically has some other things in it, also.
Also, you don't give the filename - you give the PATH to the file.
configure will look for its own files. So it should just be /usr/local/lib.
> With some many files out there, I can't figure out what settings it
> needs to go outside the build tree.
>
>> You can get a full list of all configure options with
>> ./configure --help > configure.out
>> Then look at configure.out with your favorite text editor.
>
> No trace of this file when running "find . -name "configure.out". But
> then ""./configure" says "No such file or directory". I just run
> "make" and magic happens.
>
> Unless I find something soon, I'll just go with the embedded 2.8.17.
>
> Thanks.
>
Did they not ship a configure script with your distro? That's very
possible - many don't because it's only used to build PHP. But you need
it to change options.
The --with-sqlite is an option to configure, not something in the
makefile. configure builds the makefile, and any one option to
configure can make several changes to the makefile. You can't just
change the makefile without knowing *exactly* what you're doing.
If that's the case, you'll need to download the package from PHP and
build it.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
Navigation:
[Reply to this message]
|