ID:               26908
 Updated by:       [EMAIL PROTECTED]
 Reported By:      knarayan97 at yahoo dot com
-Status:           Open
+Status:           Feedback
 Bug Type:         Compile Failure
 Operating System: HP-UX 11.00
 PHP Version:      4.3.4
 New Comment:

DO NOT set any CFLAGS or CXXFLAGS yourself. The configure (libtool,
etc) is perfectly capable of determining the correct values..



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

[2004-01-14 14:50:32] knarayan97 at yahoo dot com

env CFLAGS=' -D_REENTRANT -I/usr/local/myutils/include ' \
     CXXFLAGS=' -D_REENTRANT -I/usr/local/myutils/include\
 ./configure --prefix=/usr/local/php      \
  --with-apxs2=/usr/local/apache2/bin/apxs   \
  --with-mysql=/usr/local/mysql     \
  --enable-shared \
;


Configuring libtool
checking for Cygwin environment... no
checking for mingw32 environment... no
checking build system type... config.sub: missing argument
Try `config.sub --help' for more information.

checking for non-GNU ld... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... no
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -p
checking for a sed that does not truncate output... /usr/bin/sed
checking how to recognise dependent libraries... unknown
checking for object suffix... o
checking for executable suffix... no
checking command to parse /usr/bin/nm -p output... failed
checking for -ranlib... (cached) ranlib
checking for -strip... no
checking for strip... strip
checking for objdir... .libs
checking for /opt/ansic/bin/cc option to produce PIC... none
checking if /opt/ansic/bin/cc static flag  works... yes
checking if /opt/ansic/bin/cc supports -c -o file.o... yes
checking if /opt/ansic/bin/cc supports -c -o file.lo... yes
checking whether the linker (/usr/bin/ld) supports shared libraries...
no
checking how to hardcode library paths into programs... unsupported
checking whether stripping libraries is possible... no
checking dynamic linker characteristics... no
checking if libtool supports shared libraries... no
checking whether to build shared libraries... no
checking whether to build static libraries... yes
creating libtool

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

[2004-01-14 14:33:21] [EMAIL PROTECTED]

The provided configure line is invalid.
Please show the actual configure line you used which does not work. 
(to get an apache2 dso use --with-apxs2)


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

[2004-01-14 14:07:54] knarayan97 at yahoo dot com

I have been able to get shared libraries with PHP4.2.1 but have been
unsuccessful with PHP 4.3.0

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

[2004-01-14 14:06:37] knarayan97 at yahoo dot com

Description:
------------
I'm trying to compile PHP4.3.4 as a DSO module (Apache 2) with HP ANSI
C. I am unable to configure it to build shared libraries. I have tried
the simplest configuration without any options other that shared but
I'm still unable to configure for shared libraries.





Reproduce code:
---------------

./configure --prefix=/usr/local --enable-shared

Actual result:
--------------
Configuring libtool
checking for Cygwin environment... no
checking for mingw32 environment... no
checking build system type... hppa2.0w-hp-hpux11.00
checking for non-GNU ld... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... no
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -p
checking for a sed that does not truncate output... /usr/bin/sed
checking how to recognise dependent libraries... file_magic
(s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library
checking for object suffix... o
checking for executable suffix... no
checking command to parse /usr/bin/nm -p output... ok
checking for ranlib... (cached) ranlib
checking for strip... strip
checking for objdir... .libs
checking for /opt/ansic/bin/cc option to produce PIC... +Z
checking if /opt/ansic/bin/cc PIC flag +Z works... yes
checking if /opt/ansic/bin/cc static flag -Wl,-a -Wl,archive works...
yes
checking if /opt/ansic/bin/cc supports -c -o file.o... yes
checking if /opt/ansic/bin/cc supports -c -o file.lo... yes
checking whether the linker (/usr/bin/ld) supports shared libraries...
yes
checking how to hardcode library paths into programs... relink
checking whether stripping libraries is possible... no
checking dynamic linker characteristics... hpux11.00 dld.sl
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
creating libtool



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


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

Reply via email to