|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2002-09-08 10:06 UTC] fillmore at NRCan dot gc dot ca
When running configure in the 4.2.3 release, as follows: CC=gcc ./configure --prefix=/usr/local/php --with-config-file-path=/usr/local/ph p/etc --with-nsapi=/suitespot --enable-libgcc --enable-dbase --with-xml an error message is issued: ./configure: -I/suitespot/plugins: does not exist and the make fails with errors about not being able to find the NSAPI include files. (iPlanet 4.x style) Looks like 4.2.3 introduced a bug in the configure script- the NSAPI include path now contains the string "-I". I changed the configure script to restore the NSAPI code to the 4.2.2 version, and it now does configure/make properly. Here is my change to the configure script: nrn1# diff configure configure.0 4387c4387 < NSAPI_INCLUDE="$PHP_NSAPI/plugins/include" --- > NSAPI_INCLUDE="$NSAPI_INCLUDE -I$PHP_NSAPI/plugins/include" - Bob Fillmore PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 05:00:02 2025 UTC |
Here are a few lines from the new configure script: NSAPI_INCLUDE="$NSAPI_INC_DIR -I$NSAPI_INCLUDE" ... ep_dir="`echo $NSAPI_INCLUDE|sed 's%/*[^/][^/]*/*$%%'`" ep_realdir="`(cd \"$ep_dir\" && pwd)`" Notice that ep_dir will contain the -I string, causing the "cd" to fail.