Bug #13814: missing required flags for Compaq compiler
| From: | long at kestrel dot cc dot ku dot edu | Date: | Wed, 24 Oct 2001 13:56:45 +0000 |
| Subject: | Bug #13814: missing required flags for Compaq compiler | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-68954@lists.php.net to get a copy of this message | ||
From: long@kestrel.cc.ku.edu
Operating system: Compaq Tru64 4.0F PK3
PHP version: 4.0CVS-2001-10-24
PHP Bug Type: Unknown/Other Function
Bug description: missing required flags for Compaq compiler
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 bug report at: http://bugs.php.net/?id=13814&edit=1