Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Gentoo User (http://www.linux-archive.org/gentoo-user/)
-   -   problems building php (http://www.linux-archive.org/gentoo-user/121713-problems-building-php.html)

Michael George 07-09-2008 01:25 PM

problems building php
 
I noticed there was an update to php a couple days ago, so I went to
build it for my system and I get this error:

/var/tmp/portage/dev-lang/php-5.2.6-r2/work/php-5.2.6/ext/imap/php_imap.c:
In function '_php_rfc822_write_address_len':
/var/tmp/portage/dev-lang/php-5.2.6-r2/work/php-5.2.6/ext/imap/php_imap.c:3906:
error: 'RFC822BUFFER' undeclared (first use in this function)
/var/tmp/portage/dev-lang/php-5.2.6-r2/work/php-5.2.6/ext/imap/php_imap.c:3906:
error: (Each undeclared identifier is reported only once
/var/tmp/portage/dev-lang/php-5.2.6-r2/work/php-5.2.6/ext/imap/php_imap.c:3906:
error: for each function it appears in.)
/var/tmp/portage/dev-lang/php-5.2.6-r2/work/php-5.2.6/ext/imap/php_imap.c:3906:
error: expected ';' before 'buf'
/var/tmp/portage/dev-lang/php-5.2.6-r2/work/php-5.2.6/ext/imap/php_imap.c:3908:
error: 'buf' undeclared (first use in this function)
make: *** [ext/imap/php_imap.lo] Error 1
make: *** Waiting for unfinished jobs....

I've never run into trouble building PHP before, so this is new to me.
I haven't found anything on the 'net that references an RFC822BUFFER.

Has anyone else had this problem?

--
-M

There are 10 kinds of people in this world:
Those who can count in binary and those who cannot.

--
gentoo-user@lists.gentoo.org mailing list

Francesco Talamona 07-09-2008 05:46 PM

problems building php
 
On Wednesday 09 July 2008, Michael George wrote:
> Has anyone else had this problem?

Can you compile without the imap flag?

Maybe some underlying lib is missing...

Ciao
Francesco

--
Linux Version 2.6.25-gentoo-r6, Compiled #1 PREEMPT Sat Jul 5 18:06:28
CEST 2008
One 1GHz AMD Athlon 64 Processor, 2GB RAM, 2004.03 Bogomips Total
aemaeth
--
gentoo-user@lists.gentoo.org mailing list


All times are GMT. The time now is 03:47 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.