ID:               19918
 Comment by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
 Status:           Open
 Bug Type:         Compile Failure
 Operating System: HP-UX 11.00
 PHP Version:      4.3.0
 New Comment:

i have the same probleme with PHP 4.3 + SAPI NSAPI on HP-UX 11!

/bin/sh libtool --silent --mode=link gcc -g -O2 -DZTS -prefer-pic 
-rpath /opt/php43/php-4.3.0/libs -avoid-version -module -L/usr/lo
cal/lib -L/opt/bzip2/lib -L/opt/jpeg-6/lib -L/opt/libpng/lib
-L/opt/xpm/lib -L/opt/freetype/lib -L/opt/T1/lib -L/opt/gd/lib  -R
/usr
/local/lib -R /opt/bzip2/lib -R /opt/jpeg-6/lib -R /opt/libpng/lib -R
/opt/xpm/lib -R /opt/freetype/lib -R /opt/T1/lib -R /opt/gd/li
b ext/zlib/zlib.lo ext/zlib/zlib_fopen_wrapper.lo ext/bz2/bz2.lo
ext/ctype/ctype.lo ext/gd/gd.lo ext/gd/gdttf.lo ext/gd/gdcache.lo e
xt/overload/overload.lo ext/pcre/pcrelib/maketables.lo
ext/pcre/pcrelib/get.lo ext/pcre/pcrelib/study.lo
ext/pcre/pcrelib/pcre.lo ex
t/pcre/php_pcre.lo ext/session/session.lo ext/session/mod_files.lo
ext/session/mod_mm.lo ext/session/mod_user.lo ext/standard/array.
lo ext/standard/base64.lo ext/standard/basic_functions.lo
ext/standard/browscap.lo ext/standard/crc32.lo ext/standard/crypt.lo
ext/s
tandard/cyr_convert.lo ext/standard/datetime.lo ext/standard/dir.lo
ext/standard/dl.lo ext/standard/dns.lo ext/standard/exec.lo ext/
standard/file.lo ext/standard/filestat.lo ext/standard/flock_compat.lo
ext/standard/formatted_print.lo ext/standard/fsock.lo ext/sta
ndard/head.lo ext/standard/html.lo ext/standard/image.lo
ext/standard/info.lo ext/standard/iptc.lo ext/standard/lcg.lo
ext/standard/
link.lo ext/standard/mail.lo ext/standard/math.lo ext/standard/md5.lo
ext/standard/metaphone.lo ext/standard/microtime.lo ext/standa
rd/pack.lo ext/standard/pageinfo.lo ext/standard/parsedate.lo
ext/standard/quot_print.lo ext/standard/rand.lo ext/standard/reg.lo ex
t/standard/soundex.lo ext/standard/string.lo ext/standard/scanf.lo
ext/standard/syslog.lo ext/standard/type.lo ext/standard/uniqid.l
o ext/standard/url.lo ext/standard/url_scanner.lo ext/standard/var.lo
ext/standard/versioning.lo ext/standard/assert.lo ext/standard
/strnatcmp.lo ext/standard/levenshtein.lo
ext/standard/incomplete_class.lo ext/standard/url_scanner_ex.lo
ext/standard/ftp_fopen_wra
pper.lo ext/standard/http_fopen_wrapper.lo
ext/standard/php_fopen_wrapper.lo ext/standard/credits.lo
ext/standard/css.lo ext/standar
d/var_unserializer.lo ext/standard/ftok.lo ext/standard/aggregation.lo
ext/standard/sha1.lo ext/tokenizer/tokenizer.lo regex/regcomp
.lo regex/regexec.lo regex/regerror.lo regex/regfree.lo TSRM/TSRM.lo
TSRM/tsrm_strtok_r.lo TSRM/tsrm_virtual_cwd.lo main/main.lo mai
n/snprintf.lo main/spprintf.lo main/php_sprintf.lo main/safe_mode.lo
main/fopen_wrappers.lo main/alloca.lo main/php_ini.lo main/SAPI
.lo main/rfc1867.lo main/php_content_types.lo main/strlcpy.lo
main/strlcat.lo main/mergesort.lo main/reentrancy.lo main/php_variable
s.lo main/php_ticks.lo main/streams.lo main/network.lo
main/php_open_temporary_file.lo main/php_logos.lo main/output.lo
main/memory_
streams.lo main/user_streams.lo Zend/zend_language_parser.lo
Zend/zend_language_scanner.lo Zend/zend_ini_parser.lo
Zend/zend_ini_sca
nner.lo Zend/zend_alloc.lo Zend/zend_compile.lo Zend/zend_constants.lo
Zend/zend_dynamic_array.lo Zend/zend_execute_API.lo Zend/zend
_highlight.lo Zend/zend_llist.lo Zend/zend_opcode.lo
Zend/zend_operators.lo Zend/zend_ptr_stack.lo Zend/zend_stack.lo
Zend/zend_vari
ables.lo Zend/zend.lo Zend/zend_API.lo Zend/zend_extensions.lo
Zend/zend_hash.lo Zend/zend_list.lo Zend/zend_indent.lo Zend/zend_bui
ltin_functions.lo Zend/zend_sprintf.lo Zend/zend_ini.lo
Zend/zend_qsort.lo Zend/zend_multibyte.lo Zend/zend_execute.lo
sapi/nsapi/ns
api.lo main/internal_functions.lo -lgd -lt1 -lttf -lX11 -lXpm -lpng -lz
-ljpeg -lbz2 -lz -lcrypt -lm -lnsl -lpthread -lcrypt  -o lib
php4.la

*** Warning: This library needs some functionality provided by
-lcrypt.
*** I have the capability to make that library automatically link in
when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have.

*** Warning: This library needs some functionality provided by
-lcrypt.
*** I have the capability to make that library automatically link in
when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have.

*** Warning: libtool could not satisfy all declared inter-library
*** dependencies of module libphp4.  Therefore, libtool will create
*** a static module, that should work as long as the dlopening
*** application is linked with the -dlopen flag.


and when make install:

Installing PHP CLI binary:        /opt/php43/bin/
Installing PHP SAPI module
cp: cannot access libs/libphp4.sl: No such file or directory
make: *** [install-sapi] Error 1


i think are libtool probleme on hp-ux 11 when they try to link static
library in dynamics library....


if you have any idea!!!!!


Previous Comments:
------------------------------------------------------------------------

[2003-01-20 16:57:06] [EMAIL PROTECTED]

Addition:

with this configuration it works:
---------------------------------
./configure \ 
               --prefix=/usr/local/php/4.3.0/ \
               --with-apxs=/usr/local/apache/1.3.27/bin/apxs \
               --enable-ftp \
               --enable-track-vars \
               --enable-magic-quotes \
               --disable-short-tags \
               --enable-static \
               --with-flatfile \
               --enable-sockets \
               --enable-session \
               --enable-sockets \
               --enable-bcmath \
               --disable-ipv6 \
               --enable-exif \
               --with-openssl=/usr/local/openssl/0.9.6g/ \
               --with-mysql=/usr/local/mysql/3.23.54a/ \
               --with-pgsql=/usr/local/postgresql/7.3.1/ \
               --with-ldap=/usr/local/openldap/2.1.9/ \
               --with-zlib=/usr/local/zlib/1.1.3/ \
               --with-freetype=/usr/local/freetype/1.3.1/ \
               --with-dom=/usr/local/libxml/2.4.23/ \
               --with-pdflib=/usr/local/pdflib/4.0.3/ \
               --with-mssql=/usr/local/freetds/0.60/ \
               --with-mm=/usr/local/mm/1.2.1/ \
               --with-db4=/usr/local/db-4.0.24/ 
---------------------------------


By adding:
---------------------------------
               --with-gd \
               --with-png-dir=/usr/local/libpng/1.2.0/ \
               --with-jpeg-dir=/usr/local/jpeg/6b/ 
---------------------------------

i get:
---------------------------------
cp libs/libphp4.so /usr/local/apache/1.3.27/libexec/libphp4.so
cp: libs/libphp4.so: No such file or directory
apxs:Break: Command failed with rc=1
make: *** [install-sapi] Error 1
---------------------------------
again.


well... gd causes the problem.

and sorry for "spamming"

------------------------------------------------------------------------

[2003-01-20 16:07:14] [EMAIL PROTECTED]

OS: OpenBSD 3.1 
gcc: 2.95.3
GNU Make: 3.79
OpenBSD default Make: unknown
GNU libtool: 1.4.3 
PHP: php4-STABLE-200301202030

Configure flags:
----------------------------
./configure --prefix=/usr/local/php/4.3.0/ --enable-track-vars
--enable-magic-quotes --disable-short-tags --enable-static
--with-openssl=/usr/local/openssl/0.9.6g/ --enable-ftp
--with-mysql=/usr/local/mysql/3.23.54a/
--with-pgsql=/usr/local/postgresql/7.3.1/ --with-flatfile
--enable-sockets --enable-session
--with-apxs=/usr/local/apache/1.3.27/bin/apxs
--with-ldap=/usr/local/openldap/2.1.9/ --enable-sockets --with-gd
--with-png=/usr/local/libpng/1.2.0/
--with-png-dir=/usr/local/libpng/1.2.0/ --with-jpeg=/usr/local/jpeg/6b/
--with-jpeg-dir=/usr/local/jpeg/6b/ --with-zlib=/usr/local/zlib/1.1.3/
--with-zlib=/usr/local/zlib/1.1.3/
--with-freetype=/usr/local/freetype/1.3.1/
--with-dom=/usr/local/libxml/2.4.23/
--with-pdflib=/usr/local/pdflib/4.0.3/
--with-mssql=/usr/local/freetds/0.60/ --enable-bcmath
----------------------------

Warnings while running make:
----------------------------
*** Warning: This library needs some functionality provided by -lpng.
*** I have the capability to make that library automatically link in
when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have.

*** Warning: This library needs some functionality provided by -lpng.
*** I have the capability to make that library automatically link in
when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have.

*** Warning: libtool could not satisfy all declared inter-library
*** dependencies of module libphp4.  Therefore, libtool will create
*** a static module, that should work as long as the dlopening
*** application is linked with the -dlopen flag.
----------------------------

Warnings while running "make install":
----------------------------
*** Warning: This library needs some functionality provided by -lpng.
*** I have the capability to make that library automatically link in
when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have.

*** Warning: This library needs some functionality provided by -lpng.
*** I have the capability to make that library automatically link in
when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have.

*** Warning: libtool could not satisfy all declared inter-library
*** dependencies of module libphp4.  Therefore, libtool will create
*** a static module, that should work as long as the dlopening
*** application is linked with the -dlopen flag.
----------------------------

Errors while running "make install":
----------------------------
Installing PHP SAPI module
[activating module `php4' in /usr/local/apache/1.3.27/conf/httpd.conf]
cp libs/libphp4.so /usr/local/apache/1.3.27/libexec/libphp4.so
cp: libs/libphp4.so: No such file or directory
apxs:Break: Command failed with rc=1
make: *** [install-sapi] Error 1
----------------------------

no hint, no clue, no idea... comments?

------------------------------------------------------------------------

[2002-12-31 08:29:47] [EMAIL PROTECTED]

Changed category from Apache2 to Compile Issues

I've tested now with apache 1.3.x and the result is the same. What is
the other bug saying that is doesn't work with apache 1.3.x ?

Now (with 4.3.0) the error when we make install is : 

Installing PHP CLI binary:        /PKl01h01/soft/web/bin/
Installing PHP SAPI module
apxs:Error: file libs/libphp4.sl is not a DSO
*** Error exit code 1

Stop.
-----------------------------
There's no libs/libphp4.sl


php 4.2.3 libs produce (OK) : 

libphp4.la
libphp4.sl

php 4.3.0 libs produce (not OK) : 

libphp4.a
libphp4.la

What can I do ? Do you have reproduced the suggestion 
of [EMAIL PROTECTED] with -lcrypt ?

@++
JC

------------------------------------------------------------------------

[2002-12-23 04:57:43] [EMAIL PROTECTED]

Same result with PHP 4.3.0RC4

It's a critical bug in "Apache2 related" category.
Can you change the status to critical ?

@++
JC

------------------------------------------------------------------------

[2002-12-11 12:04:11] [EMAIL PROTECTED]

tested with php4-200212111630

same result.

@++
JC

------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/19918

-- 
Edit this bug report at http://bugs.php.net/?id=19918&edit=1

Reply via email to