#25517 [Opn->Fbk]: make error with --with-nsapi (THREADLIB)
| From: | sniper@php.net | Date: | Tue, 23 Sep 2003 19:20:30 +0000 |
| Subject: | #25517 [Opn->Fbk]: make error with --with-nsapi (THREADLIB) | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-48007@lists.php.net to get a copy of this message | ||
ID: 25517
Updated by: sniper@php.net
Reported By: bmolinari at sitrack dot com
-Status: Open
+Status: Feedback
Bug Type: Informix related
Operating System: TRU64/Digital Unix
PHP Version: 4.3.3
New Comment:
I read this:
http://www-3.ibm.com/software/data/informix/pubs/library/notes/machnote/280/DEC/ESQLC_machine_notes_2.80.txt
You're using korn shell, so you should do:
# THREADLIB=POSIX
# export THREADLIB
# make
Try this too:
# make THREADLIB=POSIX
Previous Comments:
------------------------------------------------------------------------
[2003-09-23 07:36:12] bmolinari at sitrack dot com
I already try that with,
setenv THREADLIB posix
but it keeps giving the same annoying error.
------------------------------------------------------------------------
[2003-09-23 04:24:08] sniper@php.net
Try 'export THREADLIB=POSIX' prior to make.
------------------------------------------------------------------------
[2003-09-12 11:44:14] bmolinari at sitrack dot com
Description:
------------
Greetings,
I searched through the forum pages and the archive and didn't
find a solution. Here's what I'm doing - TRU64, with iPlanet in
/usr/netscape/server4 and Informix in /disco/home/informix
configure --with-nsapi=/usr/netscape/server4
--with-informix=/disco/home/informix
Configure runs fine, and produces no errors.
Immediately after issue the make command I get
/bin/ksh /php-4.3.3/libtool --silent --preserve-dup-deps --mode=compile
/php-4.3.3/meta_ccld -Iext/ctype/ -I/php-4.3.3/ext/ctype/
-DPHP_ATOM_INC -I/php-4.3.3/include -I/php-4.3.3/main -I/php-4.3.3
-I/usr/netscape/server4/plugins/include -I/php-4.3.3/Zend
-I/php-4.3.3/ext/xml/expat -DIFX_THREAD -I/php-4.3.3/TSRM -DTHREAD=1
-g -pthread -DZTS -prefer-pic -c /php-4.3.3/ext/ctype/ctype.c -o
ext/ctype/ctype.lo
/bin/ksh /php-4.3.3/libtool --silent --preserve-dup-deps --mode=link
/php-4.3.3/meta_ccld -o ext/informix/libphpifx.a
(if test -d /disco/home/informix; then THREADLIB=POSIX
/disco/home/informix/bin/esql -e -thread -EUHAVE_IFX_IUS
/php-4.3.3/ext/informix/ifx.ec; mv ifx.c /php-4.3.3/ext/informix/ifx.c;
else touch /php-4.3.3/ext/informix/ifx.c; fi)
esql: When using -thread, the THREADLIB environment variable
must be set to a supported thread library. Currently
supporting: DCE, POSIX(Solaris 2.5 and higher only) and
SOL (Solaris Kernel Threads).
*** Exit 1
Stop.
Any Tips ?
Thanks.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=25517&edit=1