Hello All,

  I posted this on the PHP Builder site, but further investigation (and
no replies) seems to   point to SQLite portion of the PHP5 compile
process, but I'm new to this so I may be wrong.  Any hints would be
greatly appreciated.

-Jon
------------------------------------------------------------------------ -



Hello All,

  I will summerize my problem and provide the details at the end.
Besides my compile problem, I have a secondary question.

  I'm running OS X, 10.3.6, and attempting to compile apache 1.3.33,
php5, and perl5 for the first time. It appears that I've selected
something that interfers with sqlite and bison.

  1) Any Idea's? (or where to look for info)
  2) Is there any advantage to loading mod_php to apache statically
besides reducing time to load/start the server?

  Finally, I wanted to use the latest version of Apache, which seems to
force me to compile the rest of the software as many of the precomplied
pachages seem to 'need' the original version of Apache that Apple
supplied with Panther.

  Thanks,

  Jon
  --------------------------

  In this process I'm building mod_php from the /usr/local/src/php-5.0.2
directory. My configuration line is as follows:

  sudo ./configure --with-apache=../apache_1.3.33 \
  --with-mysql=/usr/local/mysql --enable-track-vars

  Which seems to run fine. (btw I did download Marc Liyanage's compiled
version of mysql)

  But then when I run 'sudo make' it seems to have a problem with sqlite
library in php5 listing a whole bunch of problems with bison:

  /usr/local/src/php-5.0.2/ext/sqlite/libsqlite/src/parse.y:887: %type
declaration has no <typename>

  /usr/local/src/php-5.0.2/ext/sqlite/libsqlite/src/parse.y:887:
Skipping to next %

  /usr/local/src/php-5.0.2/ext/sqlite/libsqlite/src/parse.y:898: fatal
error: no input grammar

  make: *** [/usr/local/src/php-5.0.2/ext/sqlite/libsqlite/src/parse.c]
Error 1

  Now I did use Fink to install the latest version of Bison 1-35.2, but
I haven't reboot/logout since. Also I've installed Apple's Nov 2004 gcc
updater.




Reply via email to