Bug #13814 Updated: missing required flags for Compaq compiler
| From: | sniper@php.net | Date: | Wed, 03 Jul 2002 01:40:22 +0000 |
| Subject: | Bug #13814 Updated: missing required flags for Compaq compiler | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-12905@lists.php.net to get a copy of this message | ||
ID: 13814
Updated by: sniper@php.net
Reported By: long@kestrel.cc.ku.edu
-Status: Open
+Status: Feedback
Bug Type: Compile Failure
Operating System: Compaq Tru64 4.0F PK3
PHP Version: 4.0CVS-2001-10-24
New Comment:
Please try this snapshot:
http://snaps.php.net/php4-latest.tar.gz
Previous Comments:
------------------------------------------------------------------------
[2001-10-24 09:56:43] long@kestrel.cc.ku.edu
See bug #8871 for the background on this bug. I'm unable to update
that bug due to password issues. Here's my update for that bug:
Well, after dinking with the configure script in php4-200110230600 to
get it to use -rpath correctly (see bug #8844) I was able to get it to
work with the following configure line:
env CFLAGS='-taso -std1' CC=cc ./configure --with-openssl
--enable-bcmath --with-ndbm --with-dbm --enable-dbase --enable-filepro
--enable-ftp --with-ttf --with-java=/usr/opt/java130
--with-ldap=/usr/local/ldap --with-mysql=/usr/local/mysql --with-oci8
--with-oracle --enable-shmop --enable-sockets --enable-sysvsem
--enable-sysvshm --enable-wddx --enable-memory-limit
--enable-dba=shared --enable-calendar --enable-exif
It looks like setting LD is no longer needed as cc is used for linking.
-taso is still needed to link with the Netscape LDAP SDK 3.0 libraries
as they're only 32-bit (and this is a 64-bit platform). -std1 is
needed to compile with the oracle libs when using this particular
version of Oracle and C compiler. The other flags I was using were
just optional optimization flags, thus not necessary.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=13814&edit=1