'Am tring the same via using the following, and configure seems ok:
./configure --with-mysql --with-apxs
But, I'm getting the following during make:
Making all in Zend
/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../main -D_POSIX_PTHREAD_SEMANTICS -DEAPI -DMOD_PERL -DUSE_EXPAT -I../TSRM -g -O2 -prefer-pic -c -o zend_language_parser.lo test -f zend_language_parser.c || echo './'zend_language_parser.c
/usr/ccs/bin/as: "/var/tmp/ccpH0fm1.s", line 15386: error: unknown opcode ".subsection"
/usr/ccs/bin/as: "/var/tmp/ccpH0fm1.s", line 15386: error: statement syntax
/usr/ccs/bin/as: "/var/tmp/ccpH0fm1.s", line 15732: error: unknown opcode ".previous"
/usr/ccs/bin/as: "/var/tmp/ccpH0fm1.s", line 15732: error: statement syntax
*** Error code 1
make: Fatal error: Command failed for target zend_language_parser.lo'
Current working directory /usr1/astatspe/php/php-4.2.1/Zend
*** Error code 1
make: Fatal error: Command failed for targetall-recursive'
Can someone tell me what I'm doing wrong?