For Programmers: Free Programming Magazines  


Home > Archive > PHP Installation > June 2006 > Re: [PHP-INSTALL] Cannot update to PHP 5.1.x with imap extension









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: [PHP-INSTALL] Cannot update to PHP 5.1.x with imap extension
Peter Hodge

2006-06-17, 8:09 am

Hi Xavier,

I don't know if this will fix your problem, but these two jump out at me:

1) According to 'configure --help', the --with-imap-ssl option should not be
'yes', it should be the path to the includes (e.g., /usr or /usr/local). Try
--with-imap-ssl by itself, or --with-imap-ssl=/usr/local, etc.

2) The configure command caches the include paths in config.cache, make sure
you delete this file before you try configure/make clean/make/make install
again.

regards,
Peter



--- Xavier Boully <xavier.boully@ultra-fluide.com> wrote:

> Hello,
>
>
>
> I have so far PHP 5.0.5 on a Suse 9.2 and apache 2.2.2 box.
>
> PHP is compiled with imap extension (--with-imap-ssl=yes and --with-imap),
> using a libc-client library in version 2004c.
>
>
>
> I tried to update to PHP 5.1.x (in fact 5.1.4 and then 5.1.0). Configure,
> make and make install are ok but the linphp5.so cannot be load with this
> error message:
>
> cannot load /.../.../libphp5.so into server: /usr/lib/libc-client.so:
> undefined symbol: mm_dlog
>
>
>
> Then I tried in the PHP 5.1.4 source to substitute the imap source code with
> the one found in the php 5.0.5. The result is the same. I suppose the problem
> doesn't come from the source code but from the configure script.
>
> Any idea of what have been changed in the configure script of the PHP 5.1.x?
>
>
>
> Thanks to read this
>
> Xavier
>



Send instant messages to your online friends http://au.messenger.yahoo.com
Xavier

2006-06-17, 8:09 am

Thank you Peter for your reply.



I had no config.cache file and --with-imap-ssl option is the same
as --with-imap-ssl=yes.



To solve this problem (but I still don't know the origin of it) I gave up
with the libc-client Suse package. I used the last source of libc-client
(2004g) compile this in a specific directory to avoid conflict and then
compile and linked PHP5.1.4 with this brand new libc-client.



Every thing is ok now. I hope this can help despite the lake of real
explanation.



Xavier

"Peter Hodge" <toomuchphp-phpinstall@yahoo.com> a écrit dans le message de
news: 20060609031847.75983.qmail@web31105.mail.mud.yahoo.com...
> Hi Xavier,
>
> I don't know if this will fix your problem, but these two jump out at me:
>
> 1) According to 'configure --help', the --with-imap-ssl option should not
> be
> 'yes', it should be the path to the includes (e.g., /usr or /usr/local).
> Try
> --with-imap-ssl by itself, or --with-imap-ssl=/usr/local, etc.
>
> 2) The configure command caches the include paths in config.cache, make
> sure
> you delete this file before you try configure/make clean/make/make install
> again.
>
> regards,
> Peter
>
>
>
> --- Xavier Boully <xavier.boully@ultra-fluide.com> wrote:
>
>
>
> Send instant messages to your online friends http://au.messenger.yahoo.com

Xavier

2006-06-17, 8:09 am

Thank you Peter for your reply.
I had no config.cache file and --with-imap-ssl option is the same
as --with-imap-ssl=yes.


To solve this problem (but I still don't know the origin of it) I gave up
with the libc-client Suse package. I used the last source of libc-client
(2004g) compile this in a specific directory to avoid conflict and then
compile and linked PHP5.1.4 with this brand new libc-client.


Every thing is ok now. I hope this can help despite the lake of real
explanation.


Xavier



"Peter Hodge" <toomuchphp-phpinstall@yahoo.com> a écrit dans le message de
news: 20060609031847.75983.qmail@web31105.mail.mud.yahoo.com...
> Hi Xavier,
>
> I don't know if this will fix your problem, but these two jump out at me:
>
> 1) According to 'configure --help', the --with-imap-ssl option should not
> be
> 'yes', it should be the path to the includes (e.g., /usr or /usr/local).
> Try
> --with-imap-ssl by itself, or --with-imap-ssl=/usr/local, etc.
>
> 2) The configure command caches the include paths in config.cache, make
> sure
> you delete this file before you try configure/make clean/make/make install
> again.
>
> regards,
> Peter
>
>
>
> --- Xavier Boully <xavier.boully@ultra-fluide.com> wrote:
>
>
>
> Send instant messages to your online friends http://au.messenger.yahoo.com

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com