For Programmers: Free Programming Magazines  


Home > Archive > PHP Installation > April 2004 > Problems building 4.3.6 with IMAP









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 Problems building 4.3.6 with IMAP
Rob Tanner

2004-04-27, 3:04 pm

Hi,

I'm having problems building 4.3.6 with IMAP support. The c-client library
and includes are in /usr/local. The build fails on php_imap.c with the
following:

/home/rtanner/php-4.3.6/ext/imap/php_imap.c: In function `zm_startup_imap':
/home/rtanner/php-4.3.6/ext/imap/php_imap.c:412: `unixdriver' undeclared
(first use in this function)
/home/rtanner/php-4.3.6/ext/imap/php_imap.c:412: (Each undeclared identifier
is reported only once
/home/rtanner/php-4.3.6/ext/imap/php_imap.c:412: for each function it appears
in.)
/home/rtanner/php-4.3.6/ext/imap/php_imap.c:413: `mhdriver' undeclared (first
use in this function)
/home/rtanner/php-4.3.6/ext/imap/php_imap.c:415: `mmdfdriver' undeclared
(first use in this function)
/home/rtanner/php-4.3.6/ext/imap/php_imap.c:416: `newsdriver' undeclared
(first use in this function)
/home/rtanner/php-4.3.6/ext/imap/php_imap.c:417: `philedriver' undeclared
(first use in this function)
/home/rtanner/php-4.3.6/ext/imap/php_imap.c:420: `nntpdriver' undeclared
(first use in this function)
/home/rtanner/php-4.3.6/ext/imap/php_imap.c:422: `mbxdriver' undeclared
(first use in this function)
/home/rtanner/php-4.3.6/ext/imap/php_imap.c:423: `tenexdriver' undeclared
(first use in this function)
/home/rtanner/php-4.3.6/ext/imap/php_imap.c:424: `mtxdriver' undeclared
(first use in this function)
make: *** [ext/imap/php_imap.lo] Error 1

This is my set of config options:

../configure \
--disable-cgi \
--with-openssl \
--with-ldap=/usr/local \
--with-mysql=/usr \
--with-ftp \
--with-gd \
--with-imap=/usr/local \
--with-jpeg-dir=/usr/lib \
--with-zlib-dir=/usr/lib \
--enable-magic-quotes \
--enable-track-vars \
--enable-sysvshm=yes \
--enable-sysvsem=yes \
--enable-safe-mode=yes \
--enable-force-cgi-redirect \
--with-apxs2=/usr/local/apache2/bin/apxs

Any ideas as to what's going on?

Thanks,
Rob

_ _ _ _ _ _ _ _ _ _
/\_\_\_\_\ /\_\ /\_\_\_\_\_\
/\/_/_/_/_/ /\/_/ \/_/_/_/_/_/ QUIDQUID LATINE DICTUM SIT,
/\/_/__\/_/ __ /\/_/ /\/_/ PROFUNDUM VIDITUR
/\/_/_/_/_/ /\_\ /\/_/ /\/_/
/\/_/ \/_/ /\/_/_/\/_/ /\/_/ (Whatever is said in Latin
\/_/ \/_/ \/_/_/_/_/ \/_/ appears profound)

Rob Tanner
UNIX Services Manager
Linfield College, McMinnville OR
(503) 883-2558 <rtanner@linfield.edu>
Roman

2004-04-27, 4:54 pm

hi rob


on which distro?

did you use imap-2002e without ssl?

i have similar problems on debian.


regards roman





> Hi,
>
> I'm having problems building 4.3.6 with IMAP support. The c-client library
> and includes are in /usr/local. The build fails on php_imap.c with the
> following:
>
> /home/rtanner/php-4.3.6/ext/imap/php_imap.c: In function `zm_startup_imap':
> /home/rtanner/php-4.3.6/ext/imap/php_imap.c:412: `unixdriver' undeclared
> (first use in this function)
> /home/rtanner/php-4.3.6/ext/imap/php_imap.c:412: (Each undeclared identifier
> is reported only once
> /home/rtanner/php-4.3.6/ext/imap/php_imap.c:412: for each function it appears
> in.)
> /home/rtanner/php-4.3.6/ext/imap/php_imap.c:413: `mhdriver' undeclared (first
> use in this function)
> /home/rtanner/php-4.3.6/ext/imap/php_imap.c:415: `mmdfdriver' undeclared
> (first use in this function)
> /home/rtanner/php-4.3.6/ext/imap/php_imap.c:416: `newsdriver' undeclared
> (first use in this function)
> /home/rtanner/php-4.3.6/ext/imap/php_imap.c:417: `philedriver' undeclared
> (first use in this function)
> /home/rtanner/php-4.3.6/ext/imap/php_imap.c:420: `nntpdriver' undeclared
> (first use in this function)
> /home/rtanner/php-4.3.6/ext/imap/php_imap.c:422: `mbxdriver' undeclared
> (first use in this function)
> /home/rtanner/php-4.3.6/ext/imap/php_imap.c:423: `tenexdriver' undeclared
> (first use in this function)
> /home/rtanner/php-4.3.6/ext/imap/php_imap.c:424: `mtxdriver' undeclared
> (first use in this function)
> make: *** [ext/imap/php_imap.lo] Error 1
>
> This is my set of config options:
>
> ./configure \
> --disable-cgi \
> --with-openssl \
> --with-ldap=/usr/local \
> --with-mysql=/usr \
> --with-ftp \
> --with-gd \
> --with-imap=/usr/local \
> --with-jpeg-dir=/usr/lib \
> --with-zlib-dir=/usr/lib \
> --enable-magic-quotes \
> --enable-track-vars \
> --enable-sysvshm=yes \
> --enable-sysvsem=yes \
> --enable-safe-mode=yes \
> --enable-force-cgi-redirect \
> --with-apxs2=/usr/local/apache2/bin/apxs
>
> Any ideas as to what's going on?
>
> Thanks,
> Rob
>
> _ _ _ _ _ _ _ _ _ _
> /\_\_\_\_\ /\_\ /\_\_\_\_\_\
> /\/_/_/_/_/ /\/_/ \/_/_/_/_/_/ QUIDQUID LATINE DICTUM SIT,
> /\/_/__\/_/ __ /\/_/ /\/_/ PROFUNDUM VIDITUR
> /\/_/_/_/_/ /\_\ /\/_/ /\/_/
> /\/_/ \/_/ /\/_/_/\/_/ /\/_/ (Whatever is said in Latin
> \/_/ \/_/ \/_/_/_/_/ \/_/ appears profound)
>
> Rob Tanner
> UNIX Services Manager
> Linfield College, McMinnville OR
> (503) 883-2558 <rtanner@linfield.edu>

Sponsored Links







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

Copyright 2008 codecomments.com