configure error under solaris in PHP 4.3.2

php.internals

Uwe Schindler

23 years ago
during configure of PHP 4.3.2-RC3 under solaris 9 the following occurs: checking for dlfcn.h... no this leads to the fact that no dynamic things never work and compiler warning that "dlsym" is undefined occurs. This header file is available under /usr/include so it should normally work... Is this fixed in RC4 (I cannot use RC4 under solaris because of the missing fd-patch). Uwe

Sascha Schumann

23 years ago
On Wed, 28 May 2003, Uwe Schindler wrote:
> during configure of PHP 4.3.2-RC3 under solaris 9 the following occurs: > checking for dlfcn.h... no > > this leads to the fact that no dynamic things never work and compiler > warning that "dlsym" is undefined occurs. This header file is available > under /usr/include so it should normally work... Is this fixed in RC4 (I > cannot use RC4 under solaris because of the missing fd-patch).
Works here with php4-STABLE-200305280330 and GCC. $ grep DLFCN main/php_config.h #define HAVE_DLFCN_H 1 $ uname -a SunOS foo 5.9 Generic_112233-05 sun4u sparc SUNW,Ultra-5_10 - Sascha

Uwe Schindler

23 years ago
Still not working in php4-STABLE-200305291130: bash-2.05$ CC=cc ./configure --prefix=/pangaea/PHP4 --disable-cli --with-nsapi=/pangaea/webserver --with-sybase-ct=$SYBASE --without-mysql --enable-sysvshm --enable-sysvsem --enable-ftp --enable-versioning --enable-session --enable-trans-sid --with-zlib ... bash-2.05$ grep DLFCN main/php_config.h /* #undef HAVE_DLFCN_H */ bash-2.05$ uname -a SunOS edvs0 5.9 Generic_112233-04 sun4u sparc SUNW,Sun-Fire-880 bash-2.05$ ls -l /usr/include | grep dlfcn -rw-r--r-- 1 root bin 5365 Dec 17 00:23 dlfcn.h Whats wrong? All other header files are correctly detected. Compilation works only correctly if line in php_config.h is changed to yours. At 17:57 28.05.2003 +0200, you wrote:
>On Wed, 28 May 2003, Uwe Schindler wrote: > > > during configure of PHP 4.3.2-RC3 under solaris 9 the following occurs: > > checking for dlfcn.h... no > > > > this leads to the fact that no dynamic things never work and compiler > > warning that "dlsym" is undefined occurs. This header file is available > > under /usr/include so it should normally work... Is this fixed in RC4 (I > > cannot use RC4 under solaris because of the missing fd-patch). > > Works here with php4-STABLE-200305280330 and GCC. > > $ grep DLFCN main/php_config.h > #define HAVE_DLFCN_H 1 > $ uname -a > SunOS foo 5.9 Generic_112233-05 sun4u sparc SUNW,Ultra-5_10 > > - Sascha > >-- >PHP Internals - PHP Runtime Development Mailing List >To unsubscribe, visit: http://www.php.net/unsub.php
----- Uwe Schindler Addr 1: Bamberger Str. 24a, D-96049 Bamberg Addr 2: Drausnickstr. 153, D-91052 Erlangen http://www.thetaphi.de - http:///www.schindlers-software.de eMails: uwe@thetaphi.de (private); info@schindlers-software.de (company) Tel./Fax: +49 700 PCLATEIN (+49 700 72528346) Schindlers Software - Home of Schindlers PC-LATEIN 3.10 DIE Software zum Lateinlernen!

Sascha Schumann

23 years ago
On Thu, 29 May 2003, Uwe Schindler wrote:
> Still not working in php4-STABLE-200305291130:
Look at config.log, locate the dlfcn.h check and you will see why the check is failing. - Sascha

Uwe Schindler

23 years ago
configure:78013: checking for dlfcn.h configure:78023: cc -E -D_POSIX_PTHREAD_SEMANTICS -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT conftest.c >/dev/null 2>conftest.out "conftest.c", line 1: warning: 78018 is invalid in #line directive configure: failed program was: #line 78018 "configure" #include "confdefs.h" #include <dlfcn.h> configure:78051: checking for size_t configure:78084: checking return type of signal handlers configure:78106: cc -c -g -mt -D_POSIX_PTHREAD_SEMANTICS -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT conftest.c 1>&5 "conftest.c", line 1: warning: 78089 is invalid in #line directive configure:78126: checking for uint "conftest.c", line 1: warning: 78131 is invalid in #line directive configure:78159: checking for ulong "conftest.c", line 1: warning: 78164 is invalid in #line directive configure:78194: checking for vprintf configure:78299: checking for 8-bit clean memcmp configure:78317: cc -o conftest -g -mt -D_POSIX_PTHREAD_SEMANTICS -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT conftest.c 1>&5 "conftest.c", line 1: warning: 78307 is invalid in #line directive "configure", line 78310: warning: old-style declaration or incorrect type for: main "configure", line 78311: warning: initializer does not fit or is out of range: 128 "configure", line 78311: warning: initializer does not fit or is out of range: 129 "configure", line 78312: warning: implicit function declaration: exit "configure", line 78312: warning: implicit function declaration: memcmp At 15:02 29.05.2003 +0200, Sascha Schumann wrote:
>On Thu, 29 May 2003, Uwe Schindler wrote: > > > Still not working in php4-STABLE-200305291130: > > Look at config.log, locate the dlfcn.h check and you will see > why the check is failing. > > - Sascha
----- Uwe Schindler Addr 1: Bamberger Str. 24a, D-96049 Bamberg Addr 2: Drausnickstr. 153, D-91052 Erlangen http://www.thetaphi.de - http:///www.schindlers-software.de eMails: uwe@thetaphi.de (private); info@schindlers-software.de (company) Tel./Fax: +49 700 PCLATEIN (+49 700 72528346) Schindlers Software - Home of Schindlers PC-LATEIN 3.10 DIE Software zum Lateinlernen!

Rob Richards

23 years ago
Can someone take a look at this and commit if no problems? Fixes a few memory leaks in info.c Thanks, Rob rrichards@ctindustries.net