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


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

2003-08-19 Thread Paul Gardiner
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








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



[PHP-DB] problems compiling with-informix

2003-08-18 Thread matiasz
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