2007/4/12, Siju George <sgeorge.ml@gmail.com>:
> Hi,
>
> I got this error trying to Compile
>
> http://pecl.php.net/get/apd-1.0.1.tgz
>
> on Etch/amd64 and got the following Error.
>
> ============================================================================
>
>
> testsrv:/var/Software/apd-1.0.1# make install
> /bin/sh /var/Software/apd-1.0.1/libtool --mode=compile gcc -I. -I/var/Software/
> apd-1.0.1 -DPHP_ATOM_INC -I/var/Software/apd-1.0.1/include -I/var/Software/apd-1
> .0.1/main -I/var/Software/apd-1.0.1 -I/usr/include/php5 -I/usr/include/php5/main
> -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/us
> r/include/php5/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /var/Software/apd- 1.0.
> 1/php_apd.c -o php_apd.lo
> mkdir .libs
> gcc -I. -I/var/Software/apd-1.0.1 -DPHP_ATOM_INC -I/var/Software/apd-1.0.1/incl
> ude -I/var/Software/apd-1.0.1/main -I/var/Software/apd-1.0.1 -I/usr/include/php5
> -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/u
> sr/include/php5/ext -I/usr/include/php5/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /
> var/Software/apd-1.0.1/php_apd.c -fPIC -DPIC -o .libs/php_apd.o
> /var/Software/apd-1.0.1/php_apd.c: In function 'trace_function_exit':
> /var/Software/apd-1.0.1/php_apd.c:397: error: 'memory_limit' undeclared (first u
> se in this function)
> /var/Software/apd-1.0.1/php_apd.c:397: error: (Each undeclared identifier is rep
> orted only once
> /var/Software/apd-1.0.1/php_apd.c:397: error: for each function it appears in.)
> make: *** [php_apd.lo] Error 1
> ========================================================================
>
> aybody got it successfully Compiled on your Debian Etch?
Did you try to download a snapshot? http://snaps.php.net/
New tarballs are available every 3h, it's worth trying. I am on amd64 too for my production server (etch of course) and an libxml2 compile issue with 5.2 got solved thanks to a snapshot.