You are here: Re: [SQLite] Compiling in PHP statically? « PHP Programming Language « IT news, forums, messages
Re: [SQLite] Compiling in PHP statically?

Posted by Gilles Ganault on 09/28/40 12:01

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.

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.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация