ID:               35605
 Updated by:       [EMAIL PROTECTED]
 Reported By:      sam at caveman dot org
-Status:           Closed
+Status:           Bogus
 Bug Type:         Compile Failure
 Operating System: Debian 3.1
 PHP Version:      5.1.1
 New Comment:

There's no bug here -> bogus. And you're still using the wrong options
which makes this an user error -> Bogus with capital B.



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

[2005-12-08 23:13:24] sam at caveman dot org

For reference, the "magic cookie" needed to convince the PHP configure
script to enable the shared library for AOLServer is:

./configure --enable-aolserver=/usr/lib/aolserver4
--enable-embed=shared

I do believe it to be some sort of bug that "--enable-shared=yes" and
various other sorts of requests that a shared module be produced were
ignored without error, and that "--enable-embed=shared" (which is by
documentation the default) had to be explicitly passed to get the
expected behavior of building the shared module:

checking whether to build shared libraries... yes
checking whether to build static libraries... no

I will mark the "bug" closed as a simple "user error", this notice only
here for reference as to how to convince the PHP configure script to
perform the desired action.

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

[2005-12-08 22:35:23] [EMAIL PROTECTED]

The configure option is called "--with-aolserver"..
Please ask further support questions elsewhere as this is not a support
channel and this problem you're having isn't a bug in PHP.

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

[2005-12-08 21:19:37] sam at caveman dot org

While configure now completes and make completes as well, this does not
result in producing a shared module (e.g. libphp5.so) as expected.

Variations attempted:

./configure --enable-aolserver=/usr/lib/aolserver4
--enable-shared=aolserver

./configure --enable-aolserver=shared,/usr/lib/aolserver4

Both result in configure reporting:

checking whether the gcc linker (/usr/bin/ld) supports shared
libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes

The build produces the CLI executable but not the desired shared
object.

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

[2005-12-08 20:53:32] sam at caveman dot org

Thanks -- the instructions I had for configuring must have been out of
date.

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

[2005-12-08 20:50:50] [EMAIL PROTECTED]

Just pass the configure option ONCE and with the right path.
The right path is the _INSTALL_ prefix of aolserver.


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

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/35605

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

Reply via email to