List,
Hello. I have an odd problem. I was installing PHP 4.3.4 again to enable PostgreSQL and Java support, and experienced an unusual failure. The configure statement is as follows:


pbg417:/usr/local/src/php-4.3.4 barryh$ ./configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-apxs --with-mysql=/usr/local/mysql --with-mysql-sock=/tmp/mysql.sock --with-pgsql=/usr/local/pgsql --with-java=/Library/Java/Home --with-ldap=/usr --with-kerberos=/usr --enable-cli --with-zlib-dir=/usr --enable-trans-sid --with-xml --with-xmlrpc --with-expat-dir=/sw --enable-exif --enable-ftp --enable-mbstring --enable-dbx --enable-sockets --with-iodbc=/usr --with-curl=/usr --with-config-file-path=/etc

Note that this same statement succeeded less than two weeks ago, without the PostgreSQL and Java support. Configure completes with no noticeable warning. The error is experienced as follows:

pbg417:/usr/local/src/php-4.3.4 barryh$ sudo make install

/usr/local/src/php-4.3.4/ext/odbc/php_odbc.c:3628: warning: passing arg 2 of `zend_register_resource' makes pointer from integer without a cast
make: *** [ext/odbc/php_odbc.lo] Error 1


Removing "--with-iodbc=/usr" allows a successful make and install. There have been no updates to the OS since I last installed PHP 4.3.4. I only included that directive because it was part of the original configure statement from the factory, and it previously installed without issue. Any guidance would be appreciated.

Regards,
--
Barry C. Hawkins
All Things Computed
site: www.allthingscomputed.com
weblog: www.allthingscomputed.com/blog/

Reply via email to