ID: 8418 Updated by: sniper Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Feedback Bug Type: Compile Failure Operating system: PHP Version: 4.0.4 Assigned To: Comments: What's the status with this? This works for me just fine with II 2.5/00 (int.lnx/97). --Jani Previous Comments: --------------------------------------------------------------------------- [2000-12-28 11:51:30] [EMAIL PROTECTED] My entire configuration line was "./configure --without-mysql --with-ingres --with-apache=../apache_1.3.14", and if I don't have the "--with-ingres" in my configuration line everything works (but I really, really need the ingres database access). As you can see from my configure locates the ingres database (/opt/nmc/ingres/files) by it self so I dont think that is the problem. I also did some research and I think that the ingres header file (iiapi.h?) which ii.h (from php) depends on havn't got the declaration of "IIAPI_AUTOPARM" (maybe a old version of ingres). At the moment I havn't got access to the computer (it's at work and I'm home for christmas), but I'll see if I can get hold of that "iiapi.h" file --------------------------------------------------------------------------- [2000-12-28 09:07:15] [EMAIL PROTECTED] What is the whole configure line you have used? Is there anything unusual in config.log when --with-ii is used? Does it work when it is not used? --Jani --------------------------------------------------------------------------- [2000-12-25 18:08:17] [EMAIL PROTECTED] I just noticed that the configure program gives me an 'error': Generating files checking for working mkdir -p... yes creating config_vars.mk updating cache ./config.cache creating ./config.status creating php4.spec creating Zend/Makefile creating main/build-defs.h creating pear/pear creating pear/phpize creating pear/php-config creating pear/PEAR.php creating TSRM/Makefile creating sapi/apache/libphp4.module creating main/php_config.h creating sapi/Makefile creating ext/Makefile creating Makefile mkdir: "": No such file or directory creating pear/Makefile creating main/Makefile creating ext/ingres_ii/Makefile creating ext/pcre/Makefile creating ext/pcre/pcrelib/Makefile creating ext/posix/Makefile creating ext/session/Makefile creating ext/standard/Makefile creating ext/xml/Makefile creating ext/xml/expat/Makefile creating ext/xml/expat/xmlparse/Makefile creating ext/xml/expat/xmltok/Makefile creating sapi/apache/Makefile creating regex/Makefile creating main/internal_functions.c Notice that "mkdir: "": No such file or directory" in there --------------------------------------------------------------------------- [2000-12-25 17:10:45] [EMAIL PROTECTED] I get the following error when I try to compile php 4.0.4 with the "--with-ingres" support. gcc -I. -I/opt/nmc/users/nmcadm/morten/php-4.0.4/ext/ingres_ii -I/opt/nmc/users/nmcadm/morten/php-4.0.4/main -I/opt/nmc/users/nmcadm/morten/php-4.0.4 -I/opt/nmc/users/nmcadm/morten/apache_1.3.14/src/include -I/opt/nmc/users/nmcadm/morten/apache_1.3.14/src/os/unix -I/opt/nmc/users/nmcadm/morten/php-4.0.4/Zend -I/opt/nmc/ingres/files -I/opt/nmc/users/nmcadm/morten/php-4.0.4/ext/xml/expat/xmltok -I/opt/nmc/users/nmcadm/morten/php-4.0.4/ext/xml/expat/xmlparse -I/opt/nmc/users/nmcadm/morten/php-4.0.4/TSRM -D_POSIX_PTHREAD_SEMANTICS -DXML_BYTE_ORDER=21 -g -O2 -c ii.c && touch ii.lo ii.c: In function `_clean_ii_plink': ii.c:191: `IIAPI_AUTOPARM' undeclared (first use in this function) ii.c:191: (Each undeclared identifier is reported only once ii.c:191: for each function it appears in.) ii.c:191: parse error before `autoParm' ii.c:200: `autoParm' undeclared (first use in this function) ii.c: In function `php_if_ingres_autocommit': ii.c:1350: `IIAPI_AUTOPARM' undeclared (first use in this function) ii.c:1350: parse error before `autoParm' ii.c:1363: `autoParm' undeclared (first use in this function) *** Error code 1 make: Fatal error: Command failed for target `ii.lo' Current working directory /opt/nmc/users/nmcadm/morten/php-4.0.4/ext/ingres_ii *** Error code 1 make: Fatal error: Command failed for target `all-recursive' As you can see there seems to be a problem in the "ii.c" file. --------------------------------------------------------------------------- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=8418&edit=2 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]