#31524 [NEW]: Can't Compile --with-imap

From: Date: Wed, 12 Jan 2005 23:29:17 +0000
Subject: #31524 [NEW]: Can't Compile --with-imap
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-71995@lists.php.net to get a copy of this message
From:             shadda at gmail dot com
Operating system: Knoppix Debian (Linux)
PHP version:      5.0.3
PHP Bug Type:     IMAP related
Bug description:  Can't Compile --with-imap

Description:
------------
I have tried this in multiple versions of php5, including several
snapshots. I've also done so with different IMAP C-Client versions, also
with different snapshots. 

I've compiled the C-Client and placed it in correct locations, as well as
setup the actuall IMAP and POP3 server on my system.

IMAP *.c files located in /usr/local/imap-2004b/lib/
IMAP *.h files located in /usr/local/imap-2004b/include/

The c-client.a and libc-client.a files are also in lib/, (I have also
tried using symlinks instead of actuall copy when creating libc-client.a,
but that didn't work  either)

I trimmed my ./configure line down, and narrowed the problem specifically
to imap. I can compile with any other extension of my choosing but this
one.

./configure --with-apxs2=/var/www/bin/apxs
--with-imap=/usr/local/imap-2004b

Results in a configure error that tells me to check the config.log file.

I do so, and I see that the failed operation was #include confdefs.h

confdefs.h is part of the package i'm installing (PHP5) and i cannot see
it not being found, just because i'm compiling --with-imap. 

I consulted several debian forums and IRC channels, as well as EFNet #PHP,
and no one was able to solve this problem.

I also did a thorough search of google and bugs.php.net but found nothing
similar to this problem. 

I have recompiled IMAP four times now, but it still does it.

When running ./configure statement, it runs fine until i


-- 
Edit bug report at http://bugs.php.net/?id=31524&edit=1
-- 
Try a CVS snapshot (php4):   http://bugs.php.net/fix.php?id=31524&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=31524&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=31524&r=trysnapshot51
Fixed in CVS:                http://bugs.php.net/fix.php?id=31524&r=fixedcvs
Fixed in release:            http://bugs.php.net/fix.php?id=31524&r=alreadyfixed
Need backtrace:              http://bugs.php.net/fix.php?id=31524&r=needtrace
Need Reproduce Script:       http://bugs.php.net/fix.php?id=31524&r=needscript
Try newer version:           http://bugs.php.net/fix.php?id=31524&r=oldversion
Not developer issue:         http://bugs.php.net/fix.php?id=31524&r=support
Expected behavior:           http://bugs.php.net/fix.php?id=31524&r=notwrong
Not enough info:             http://bugs.php.net/fix.php?id=31524&r=notenoughinfo
Submitted twice:             http://bugs.php.net/fix.php?id=31524&r=submittedtwice
register_globals:            http://bugs.php.net/fix.php?id=31524&r=globals
PHP 3 support discontinued:  http://bugs.php.net/fix.php?id=31524&r=php3
Daylight Savings:            http://bugs.php.net/fix.php?id=31524&r=dst
IIS Stability:               http://bugs.php.net/fix.php?id=31524&r=isapi
Install GNU Sed:             http://bugs.php.net/fix.php?id=31524&r=gnused
Floating point limitations:  http://bugs.php.net/fix.php?id=31524&r=float
No Zend Extensions:          http://bugs.php.net/fix.php?id=31524&r=nozend
MySQL Configuration Error:   http://bugs.php.net/fix.php?id=31524&r=mysqlcfg


Thread (5 messages)

« previous php.bugs (#71995) next »