ID:               26248
 Updated by:       [EMAIL PROTECTED]
 Reported By:      lists at nutshell dot nu
-Status:           Open
+Status:           Bogus
 Bug Type:         Compile Failure
 Operating System: Linux (Mandrake 9.2)
 PHP Version:      5.0.0b2 (beta2)
 New Comment:

Yes, you need to have libc-client.a. There is no bug here.



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

[2003-11-18 08:14:12] lists at nutshell dot nu

A few notes to my last comment.

To be able to compile php (4/5) you either have to compile imap from a
tar ball or change the imap.spec so it compiles the libc-client-PHP4.a
with kerberos (it only compiles with ssl default).

My experience here is that it is impossible to compile imap support for
php unless you have kerberos. In my original post I show that I tried
with both --without-kerberos and --without-imap-ssl, but the
compilation failed due to that libc-client had no kerberos support.

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

[2003-11-17 20:33:49] lists at nutshell dot nu

I think I have found the problem.

Mandrake builds three c-clients.

libc-client.a
libc-client-PHP4.a
libc-client-nossl.a

Note than the -PHP4 is built without kerberos support.

I renamed libc-client.a to libc-client-org.a and libc-client-PHP4.a to
libc-client.a.

Then PHP5 compiles just fine with a shared imap.

Is there any way of building without having to rename the libs?

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

[2003-11-16 14:25:38] lists at nutshell dot nu

Yes, as stated in my original post it fails both with and without
shared. I have tried every possible combination I can think of.

It compiles just fine without imap, but I need imap.

Can also add that Mandrake 9.2 comes with a php imap rpm and the only
things I compile from tar-balls are apache and php4/5.

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

[2003-11-16 13:16:33] [EMAIL PROTECTED]

Does it fail if you do not compile imap as a shared extension?

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

[2003-11-14 04:52:38] lists at nutshell dot nu

Description:
------------
Please note that Mandrake 9.2 comes with a mod-imap for php4, but I
wanted to compile it to suite my needs.

I have tryed compiling php5 (b2 and later snapshots, as well as latest
official php4) with imap. I have tried with Mandrake 9.2's own
imap-2002d, recompiling it with "rpm -bb --target i686", as well as
downgrading to imap-2001a.

I have tried to configure with:
--with-imap=shared
--with-imap-ssl
or
--with-imap=shared
--without-imap-ssl
or
--with-imap=shared

Plus also adding "/usr" as dir and without shared.

Note that if I try to configure "--without-kerberos" the configure
stops at imap.

I have all normal and devel packages installed for imap, openssl and
keberos, as well as any util packages for them.

./configure works just fine, but when I run make I get errors.

I get the following error:
/usr/local/src/php5-200311122030/ext/imap/php_imap.c: In function
`zm_startup_imap':
/usr/local/src/php5-200311122030/ext/imap/php_imap.c:445: error:
`auth_gss' undeclared (first use in this function)
/usr/local/src/php5-200311122030/ext/imap/php_imap.c:445: error: (Each
undeclared identifier is reported only once
/usr/local/src/php5-200311122030/ext/imap/php_imap.c:445: error: for
each function it appears in.)
make: *** [ext/imap/php_imap.lo] Error 1



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


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

Reply via email to