Build PHP Error

ITDevil

Verified User
Joined
Feb 2, 2007
Messages
38
I am getting error when i run

Code:
./build php d

Error:

Code:
/usr/local/directadmin/customapache/php-4.4.7/ext/imap/php_imap.c: In function `zm_startup_imap':
/usr/local/directadmin/customapache/php-4.4.7/ext/imap/php_imap.c:439: error: `auth_gss' undeclared (first use in this function)
/usr/local/directadmin/customapache/php-4.4.7/ext/imap/php_imap.c:439: error: (Each undeclared identifier is reported only once
/usr/local/directadmin/customapache/php-4.4.7/ext/imap/php_imap.c:439: error: for each function it appears in.)
make: *** [ext/imap/php_imap.lo] Error 1


anyone know how to fix it ?

Thank You!
 
Can you post more info? For example, your OS Distribution?

Are you trying the build as root?

Jeff
 
Please post an output of:
Code:
cat /usr/local/directadmin/customapache/configure.php
 
If you've made any changes to the configure.php file and you want to undo them (eg, I don't think customapache has imap in it), type:
Code:
cd /usr/local/directadmin/customapache
./build clean
rm -f configure.*
./build update_data
Then try again.

John
 
OS : CentOS 4.3
Yes, i am trying to build with "root"

Code:
#!/bin/sh
./configure \
	--with-apxs \
	--with-db4 \
	--with-curl \
	--with-curl-dir=/usr/local/lib \
	--with-gd \
	--with-gd-dir=/usr/local \
	--with-freetype \
	--with-freetype-dir=/usr/local/lib \
	--with-gettext \
	--with-jpeg-dir=/usr/local/lib \
	--with-kerberos \
	--with-mcrypt \
	--with-mhash \
	--with-mysql=/usr \
	--with-pear \
	--with-png-dir=/usr/local/lib \
	--with-xml \
	--with-zlib \
	--with-zlib-dir=/usr/local/lib \
	--with-zip \
	--with-imap=/usr/local/imap-2004c1 \
	--with-openssl \
	--enable-bcmath \
	--enable-calendar \
	--enable-ftp \
	--enable-magic-quotes \
	--enable-sockets \
	--enable-track-vars \
	--enable-mbstring
 
ITDevil,

Always take John's suggestions. Especially when they're posted after mine ;) .

After all, he's the DA man! I don't even play one on TV :D .

Jeff
 
Back
Top