ID:               28563
 Updated by:       [EMAIL PROTECTED]
 Reported By:      ramakrishnan dot iyer at hp dot com
-Status:           Open
+Status:           Feedback
 Bug Type:         Apache related
 Operating System: hp ux
 PHP Version:      4.3.6
 New Comment:

Try using GCC instead of the native compiler..



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

[2004-07-08 18:10:59] ramakrishnan dot iyer at hp dot com

Sorry, i had pasted the wrong script.  Even this does not work -

CC=/opt/ansic/bin/cc \
GCC=/opt/ansic/bin/cc \
./configure \
--prefix=/var/opt/web/php437 \
--with-apxs=/var/opt/web/apache_1328_2/bin/apxs \
--with-oci8=/opt/oracle/product/8.1.6 \
--enable_sigchild \
--without-mysql 

But the important question that i have is why doesn't php install with
Oracle 9 on HP UX.  If you could give me a workaround to this problem,
i would greatly appreciate it.

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

[2004-07-08 12:55:06] [EMAIL PROTECTED]

The correct configure option is "--with-apxs" to get a DSO.
If you're trying to make a static install, read the INSTALL file..)


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

[2004-05-28 20:43:58] ramakrishnan dot iyer at hp dot com

Description:
------------
The platform is HP UX 11.0.  I am trying to install php 4.3.6. I am
using the following script -

CC=/opt/ansic/bin/cc \
GCC=/opt/ansic/bin/cc \
./configure \
--prefix=/var/opt/web/php437 \
--with-apache=/mnt/d0006/rrc-disk/dump/apache_1.3.28 \
--with-oci8=/opt/oracle/product/8.1.6

Apache has been installed  like this 

CC=/opt/ansic/bin/cc \
./configure \
--prefix=/var/opt/web/apache_1328_3

"make" is going through, but "make install" reports "not a so" error. 


I analyzed this a little ...

After "configure" if i edit Makefile, main/build*.h and config.status
and after "make" if i edit libs/*.la and .libs/*.lai and replace
libphp4.sl with libphp4.so the installtion goes through.

This solution would have been acceptable to me, but when i put in the
with-oci8 - after my edits, the make creates a static file with .a
extension and not a .so file.

This is not acceptable because the mod perl server that we have has
shared module enabled.

Please help with suggestions/resolution.



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


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

Reply via email to