Re: OpenBSD, PHP-4.0.4RC5, ltconfig patch
| From: | Olivier Cahagne | Date: | Thu, 14 Dec 2000 00:58:25 +0000 |
| Subject: | Re: OpenBSD, PHP-4.0.4RC5, ltconfig patch | ||
| References: | 1 | Groups: | php.qa |
| Request: | Send a blank email to php-qa+get-1849@lists.php.net to get a copy of this message | ||
> > 2. Ran ./configure --enable-discard-path --with-mysql --with-dbase
> > --enable-yp --enable-ftp --enable-trans-sid --enable-sockets
> > --enable-track-vars --enable-inline-optimization
>
> Hm, the patch changes libtool's behaviour with regard to
> building shared libraries. With the above configure line you
> are simply testing libtool's ability to build static
> libraries. =)
Ok, I just need some rest. :)
> Can you redo the test with APXS/AOLserver or any other SAPI
> module which uses shared libraries and/or configure
> extensions as shared modules (--enable-foo=shared)?
DSO worked fine. (I never tested DSO on this platform however so I don't
know how it behaved before applying the patch, I might try when I have more
time though...)
1. Built Apache 1.3.15-dev (latest snapshot)
./configure --prefix=/some/path --enable-shared=max
2. Applied path to ltconfig with PHP 4.0.4RC5
3. ./configure --with-apxs=/some/path/bin/apxs
4. Ran make && make install
5. Lauched Apache and tested phpinfo(), it worked ok, loaded as DSO
PS: Therefore, one last warning when building PHP I never noticed before:
(final step building PHP on this platform with above ./configure)
my_tempnam.c:86: warning: tempnam() possibly used unsafely; consider using
mkstemp()
This is from ext/mysql, I thought every tempnam() occurence had been removed
?