Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

***Error Code 1, result of make

Status
Not open for further replies.

awreneau

Technical User
Joined
Mar 26, 2003
Messages
98
Location
US
I have a Virtual Private Server with Interland and I'm trying to upgrade php 4.0.6 to 4.3.2.

I've followed the hosting company directions but when I called them about the error I was told they dont support the upgrading of PHP. They only support existing versions.

below is the exact error:

bash-2.05a$ make
/bin/sh /usr/home/usr226043100/php-4.3.2/libtool --silent --preserve-dup-deps --mode=compile gcc -Iext/imap/ -I/usr/home/usr226043100/php-4.3.2/ext/imap/ -DPHP_ATOM_INC -I/usr/home/usr226043100/php-4.3.2/include -I/usr/home/usr226043100/php-4.3.2/main -I/usr/home/usr226043100/php-4.3.2 -I/usr/home/usr226043100/php-4.3.2/Zend -I/usr/local/include/c-client -I/usr/local/include/mysql -I/usr/home/usr226043100/php-4.3.2/ext/xml/expat -I/usr/home/usr226043100/php-4.3.2/TSRM -g -O2 -prefer-pic -c /usr/home/usr226043100/php-4.3.2/ext/imap/php_imap.c -o ext/imap/php_imap.lo
/usr/home/usr226043100/php-4.3.2/ext/imap/php_imap.c:339: syntax error before `QUOTALIST'
/usr/home/usr226043100/php-4.3.2/ext/imap/php_imap.c: In function `mail_getquota':
/usr/home/usr226043100/php-4.3.2/ext/imap/php_imap.c:348: `qlist' undeclared (first use in this function)
/usr/home/usr226043100/php-4.3.2/ext/imap/php_imap.c:348: (Each undeclared identifier is reported only once
/usr/home/usr226043100/php-4.3.2/ext/imap/php_imap.c:348: for each function it appears in.)
/usr/home/usr226043100/php-4.3.2/ext/imap/php_imap.c: In function `zif_imap_get_quota':
/usr/home/usr226043100/php-4.3.2/ext/imap/php_imap.c:873: `SET_QUOTA' undeclared (first use in this function)
/usr/home/usr226043100/php-4.3.2/ext/imap/php_imap.c: In function `zif_imap_get_quotaroot':
/usr/home/usr226043100/php-4.3.2/ext/imap/php_imap.c:901: `SET_QUOTA' undeclared (first use in this function)
*** Error code 1

Stop in /usr/home/usr226043100/php-4.3.2.


I dont understand what I've done wrong, I created a script that told me the configuration and ran that exact script in order to preserve the setup it is as follows:

'./configure' '--with-apxs=/usr/local/ '--with-config-file-path=/usr/local/ '--enable-versioning' '--with-system-regex' '--disable-debug' '--enable-track-vars' '--without-gd' '--without-mysql' '--with-zlib' '--with-imap=/usr/local' '--with-mysql=/usr/local' '--prefix=/usr/local/www' 'i386--freebsd4.4'

So I'm currently digesting the INSTALL but it doesnt offer any assistance after a few reads.

Any ideas?


<IMG SRC=
 
Well the problem is clearly with IMAP and a &quot;typo&quot;? in the code?

I copied the first few lines into my reply so you could see in case that was the issue.

#if defined(HAVE_IMAP2000) || defined(HAVE_IMAP2001)
/* {{{ mail_getquota
*
* Mail GET_QUOTA callback
* Called via the mail_parameter function in c-client:src/c-client/mail.c
* Author DRK
*/
void mail_getquota(MAILSTREAM *stream, char *qroot, QUOTALIST *qlist)
{
zval *t_map;
zval *return_value;
TSRMLS_FETCH();

return_value = *IMAPG(quota_return);


<IMG SRC=
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top