[horde] Problem compiling PHP
charles at neutel.com
charles at neutel.com
Tue Jun 19 17:28:02 UTC 2007
Thank you for your help.
Tried but without success.
My configuration is as follows:
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var/log
--with-apxs \
--with-config-file-path=/etc/apache --enable-bcmath --with-bz2 --enable-calendar \
--enable-ftp --with-mysql --with-pgsql --with-pear=/usr/lib/php --enable-libxml \
--libexecdir=/usr/libexec --with-pear=/usr/lib/php --libdir=/usr/lib
--enable-spl \
--enable-shared --enable-static --with-gd --with-jpeg-dir=/usr/lib
--with-png-dir=/usr/lib \
--with-freetype-dir=/usr/lib --with-zlib-dir=/usr/lib --enable-gd-native-ttf \
--with-xpm-dir=/usr/X11R6/lib --with-iconv-dir=/usr/lib --with-magickwand=/usr
--with-ldap \
--with-gettext --with-dom --with-mime-magic --with-imap=/usr/src/imap-2006h \
--with-iconv --enable-mbstring=all --enable-mbregex --without-U8T_CANONICAL
But ./configure does not end successfully:
checking whether build with IMAP works... no
configure: error: build test failed. Please check the config.log for details.
Looking at the tail of config.log:
configure:47885: checking whether build with IMAP works
configure:47923: gcc -o conftest -I/usr/include -g -O2 -L/usr/lib
-Wl,-rpath,/usr/X11R6/lib -L/usr/X11R6/lib -Wl,-rpath,/usr/src/imap-2006h/lib
-L/usr/src/imap-2006h/lib conftest.c -lc-client -lcrypt -lfreetype -lX11
-lXpm -lpng -lz -ljpeg -lbz2 -lz -lresolv -lm -ldl -lnsl -lxml2 -lz -lm
-lxml2 -lz -lm 1>&5
/tmp/ccCjh30b.o(.text+0xfa): In function `main':
/usr/src/php-5.2.2/configure:47917: undefined reference to `mail_newbody'
collect2: ld returned 1 exit status
configure: failed program was:
#line 47896 "configure"
#include "confdefs.h"
void mm_log(void){}
void mm_dlog(void){}
void mm_flags(void){}
void mm_fatal(void){}
void mm_critical(void){}
void mm_nocritical(void){}
void mm_notify(void){}
void mm_login(void){}
void mm_diskerror(void){}
void mm_status(void){}
void mm_lsub(void){}
void mm_list(void){}
void mm_exists(void){}
void mm_searched(void){}
void mm_expunged(void){}
char mail_newbody();
int main() {
mail_newbody();
return 0;
}
What else can I do?
Thank you,
Charles
On Tue, 19 Jun 2007 12:47:23 -0300, Patrick Boutilier wrote
> Vilius [UTF-8?]Å umskas wrote:
> >> Dear Julien:
> >>
> >> Thank you very much for your reply and your kind help.
> >>
> >> I am not sure if ipmap-2006i works with PHP4. I just have followed the
> >> instructions for compiling PHP with imap support, which is necessary
> >> for Horde Webmail.
> >>
> >> I have used several imap libraries; the last one I used is 2006i
> >> downloaded directly from UW, but always get the same result:
> >> compilations ends successfully but when I restart Apache I get the same
> >> error: undefined symbol: mail_close_full.
> >>
> >> I have carefully examined the sources of the imap libraries and PHP and
> >> I can see that the symbol is defined, but the result is always the
> >> same.
> >>
> >> I do not know what to do.
> >
> > Versions that works for me with PHP5 and PHP4 are 2004a, 2004g and 2002.
I've never seen 2006 compiled on any of the systems, so guess you are not the
only one having problems with it.
> >
>
> imap-2006h works with PHP 5.2.2
> --
> Horde mailing list - Join the hunt: http://horde.org/bounties/#horde
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: horde-unsubscribe at lists.horde.org
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
More information about the horde
mailing list