ID:               36960
 User updated by:  mad at dactar dot ch
 Reported By:      mad at dactar dot ch
-Status:           Bogus
+Status:           Open
-Bug Type:         Compile Failure
+Bug Type:         Compile Warning
 Operating System: HP-UX
 PHP Version:      5.1.2
 New Comment:

I can't have c-client (imap) as shared library
(cf FAQ c-client Why don't you make c-client a shared library? :
http://www.washington.edu/imap/IMAP-FAQs/index.html#6.3)

So, if there's no solution, I think that a warning (You are going to
compile php on HP-UX with imap support : No shared library can be
build) in configuration step about this problem would not be an bad
idea.

I change the category of this ticket from Compile Failure to Compile
Warning

@++
JC


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

[2006-04-10 21:27:57] [EMAIL PROTECTED]

It won't do any good, you still have to have all libraries as shared.

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

[2006-04-10 13:19:47] mad at dactar dot ch

It's seems that I don't have libtool installed on my system : 

ksh: libtool:  not found

There's a file called libtool who is placed in php source root
directory. This file seems be created during php ./configure. 

Should I report a bug to libtool's authors about this file ?

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

[2006-04-10 11:08:19] [EMAIL PROTECTED]

Just go blame the libtool authors. They decided that you have to have
everything either static or shared on your system.
Not a PHP bug.

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

[2006-04-03 14:58:34] mad at dactar dot ch

Description:
------------
Cannot create shared library when a static library is used.

When one package (c-client (imap) in my case) is build as an static
library, the final php library is build on HP-UX as an static library.

It's not the case with Linux.

Reproduce code:
---------------
./configure \
--with-config-file-path=/PKl01h01/soft/web/cfg \
--with-mysql=/PKl01h01/soft/mysql \
--with-pgsql=/PKl01h01/soft/postgresql \
--with-sybase-ct=/PKl01hd2/soft/ase12.5/OCS-12_5 \
--with-pdflib=/PKl01h01/soft/web \
--with-zlib-dir=/PKl01h01/soft/web \
--with-png-dir=/PKl01h01/soft/web \
--with-ttf=/PKl01h01/soft/web \
--with-jpeg-dir=/PKl01h01/soft/web \
--with-imap=/PKl01h01/soft/src/imap \
--with-imap-ssl=/PKl01h01/soft/web/ \
--with-libxml-dir=/PKl01h01/soft/web \
--without-iconv \
--with-gd \
--prefix=/PKl01h01/soft/web \
--with-apxs=/PKl01h01/soft/web/apache/bin/apxs \
--enable-gd-native-ttf

make

look at libs directory

total 60588
-rw-r--r--   1 xxxxxx   yyyyyy   31010182 Apr  3 14:39 libphp5.a
-rw-r-----   1 xxxxxx   yyyyyy      1518 Apr  3 14:39 libphp5.la


Expected result:
----------------
an .sl (shared library) and not a static library (.a)



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


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

Reply via email to