Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

compile PHP with Ingres

Status
Not open for further replies.

nychris

MIS
Dec 4, 2004
103
US
I'm trying to compile PHP with Ingres support, but its failing during make. Here is the configure options...
Code:
./configure --with-apxs2=/usr/local/apache2052/bin/apxs --with-ingres=/install1/ingres
..and the last few lines of make when it fails...
Code:
/usr/local/src/php-4.3.10--ingres/ext/mysql/libmysql/my_getwd.c:65: #error
"No way to get current directory"
*** Error code 1
make: Fatal error: Command failed for target `ext/mysql/libmysql/my_getwd.lo'

Any ideas?

Thanks,


--
Chris
RHCE, LPIC, CNE, CCNA, MCSE (+11 others)
 
We don't need MySQL support and since it was failing in a mysql directory, I tried compiling --without-mysql, and make failed with a different error thist time...
Code:
i/apache2handler/sapi_apache2.lo sapi/apache2handler/apache_config.lo
sapi/apache2handler/php_functions.lo main/internal_functions.lo -lingres
-liiapi -lresolv -lm -ldl -lnsl -lsocket -lgcc  -o libphp4.la
ld: fatal: library -lingres: not found
ld: fatal: File processing errors. No output written to .libs/libphp4.so
*** Error code 1
make: Fatal error: Command failed for target `libphp4.la'
 
...one thing I should have mentioned is that I'm compiling PHP 4.3.10 on Solaris 8
 
I'm not sure, I don't know anything about ingres, I'm just upgrading PHP and Apache on some Red Hat and Solaris servers. What is the difference between the two? I can ask the developers if you want.

btw, do you work for CA (because of your name)?
 
No, I used Ingres for years ut no longer, I'm still fond of it but very little available in jobs terms.
I've looked at your error and I recall getting thosr kind of messages while doing embedded C and COBOL programs.
A file exists in the $II_INGRES/files directory which has the command line used by the tools, do a grep and look for .so in that library. It might be called something like iidef.
Make sure that the user youe building PHP in has $II_SYSTEM set , if not I think it simply can't see the libraries.
As for the extention, I've looked under windows and I can't find any .dll to support Ingres. I don't have a linux install but have a look for a file called something like php_ingres_ii.so and have a look in php.ini to see if a similar line exists, if it does take out the ; at the start.
Hope some of this helps, keep me informed !!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top