php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #25517 make error with --with-nsapi (THREADLIB)
Submitted: 2003-09-12 11:44 UTC Modified: 2003-09-29 05:57 UTC
From: bmolinari at sitrack dot com Assigned:
Status: No Feedback Package: Informix related
PHP Version: 4.3.3 OS: TRU64/Digital Unix
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: bmolinari at sitrack dot com
New email:
PHP Version: OS:

 

 [2003-09-12 11:44 UTC] 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.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-09-23 04:24 UTC] sniper@php.net
Try 'export THREADLIB=POSIX' prior to make.

 [2003-09-23 07:36 UTC] bmolinari at sitrack dot com
I already try that with,
setenv THREADLIB posix
but it keeps giving the same annoying error.
 [2003-09-23 15:20 UTC] sniper@php.net
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

 [2003-09-29 05:57 UTC] sniper@php.net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Apr 24 22:01:30 2024 UTC