Re: [PHP-DB] problems compiling with-informix

2003-08-26 Thread Luigi Vellucci
Paul Gardiner wrote:
I run Informix (SE7.25.UC4 - UC5 had a major bug) on RH8.0. It wouldn't run
on RH9.0 because of the glibc 2.3.x conflict. I beleive Informix only
supports glibc 2.2.x. at the moment.
If it's possible, use RH8.0 as I know it works.

- Paul -

- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, August 18, 2003 3:54 PM
Subject: [PHP-DB] problems compiling with-informix


hi, my name is matts.
when trying to compile php (as cgi or module) i get the following:
./configure --with-informix=/opt/informix

*

make

*

ext/mysql/libmysql/my_tempnam.o(.text+0x40): In function `my_tempnam':
/usr/src/php-4.3.2/ext/mysql/libmysql/my_tempnam.c:115: the use of
`tempnam' is

dangerous, better use `mkstemp'
/opt/informix/lib/esql/libifgls.so: undefined reference to `__ctype_b'
/opt/informix/lib/esql/libifgls.so: undefined reference to
`__ctype_toupper'

/opt/informix/lib/esql/libifgls.so: undefined reference to
`__ctype_tolower'

collect2: ld returned 1 exit status
make: *** [sapi/cgi/php] Error 1
i know that my_tempnam warnings are not important, but i cant figure out
what is

wrong with my libifgls.so

I'm working in a Red Hat 9.
I compiled php without informix support succefully several times.
I have installed the Informix Client SDK 2.81
(I believe)  I have all the environment variables ok (INFORMIXDIR,
INFORMIXSERVER... ETC)
I would apreciate any help 
thanks in advance.


-
This mail sent through IMP: http://mail.info.unlp.edu.ar/
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php







Hi I'm trying to compile php 4.1.2 with informix support from the SRPMS 
in RedHat 7.3 but I didn't get it. I downloaded the latest version of 
SDK Client 2.81.

I having the following problem when I try to compile the source:

-I/usr/src/redhat/BUILD/php-4.1.2/TSRM 
-I/usr/src/redhat/BUILD/php-4.1.2/build-cgi/TSRM -O2 -march=i386 
-mcpu=i686 -fPIC  -L/usr/kerberos/lib -o php -export-dynamicstub.lo 
libphp4.la
/usr/bin/ld: cannot find -lifsql
collect2: ld returned 1 exit status
make[1]: *** [php] Error 1
make[1]: Saliendo directorio `/usr/src/redhat/BUILD/php-4.1.2/build-cgi'
make: *** [all-recursive] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.32322 (%build)

RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.32322 (%build)


Can somebody help me?

Thanks in advance.

Luigi Vellucci.

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[PHP-DB] INFORMIX PROBLEM

2003-08-27 Thread Luigi Vellucci
Hi I'm trying to compile php 4.1.2 from the source RPM in RedHat 7.3 but
I wasn't succesfully. Please does anybody know what it means the 
following error:

*** Warning: Linking the shared library libphp4.la against the non-libtool
*** objects  /opt/informix/lib/esql/checkapi.o is not portable!
/bin/sh /usr/src/redhat/BUILD/php-4.1.2/build-cgi/libtool --silent 
--mode=link gcc -I. -I/usr/src/redhat/BUILD/php-4.1.2/ 
-I/usr/src/redhat/BUILD/php-4.1.2/build-cgi/main 
-I/usr/src/redhat/BUILD/php-4.1.2 
-I/usr/src/redhat/BUILD/php-4.1.2/build-cgi/Zend -I/usr/include/libxml2 
-I/usr/include/freetype2/freetype -I/usr/include/imap 
-I/opt/informix/incl/esql -I/usr/include/mysql -I/usr/local/include 
-I/usr/include/pspell -I/usr/include/ucd-snmp 
-I/usr/local/freetds/include/include 
-I/usr/src/redhat/BUILD/php-4.1.2/main 
-I/usr/src/redhat/BUILD/php-4.1.2/Zend 
-I/usr/src/redhat/BUILD/php-4.1.2/TSRM 
-I/usr/src/redhat/BUILD/php-4.1.2/build-cgi/TSRM -O2 -march=i386 
-mcpu=i686 -fPIC  -L/usr/kerberos/lib -o php -export-dynamicstub.lo 
libphp4.la
/usr/bin/ld: cannot find -lifsql
collect2: ld returned 1 exit status
make[1]: *** [php] Error 1
make[1]: Saliendo directorio `/usr/src/redhat/BUILD/php-4.1.2/build-cgi'
make: *** [all-recursive] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.72521 (%build)

RPM build errors:
   Bad exit status from /var/tmp/rpm-tmp.72521 (%build)
Thanks in Advance.

Luigi.

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php