Hi all
I am compling  the midgard-php4 .First I had errors during configure ... I
was using apache rpm installed
error on line 1270
./configure: line 1270: syntax error near unexpected token
`PHP_ADD_LIBRARY_WITH_PATH(midgard,'
./configure: line 1270: `    PHP_ADD_LIBRARY_WITH_PATH(midgard,
"$PHP_MIDGARD/lib", MIDGARD_SHARED_LIBADD)'
So I uinstalled Apache ,thinking that this had to do something with the
static php with apache .After recompiling Apache still same problem persists
.

When I give the following command ..

./configure --with-apxs=/usr/local/apache/bin/apxs --enable-versioning  --wi
th-mysql=/usr/local/mysql --with-system-regex --with-xml  --with-midgard=/us
r/local/midgard --enable-track-vars
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking whether gcc and cc understand -c and -o together... yes
checking for PHP prefix... /usr
checking for PHP
includes... -I${prefix}/include/php -I${prefix}/include/php/main -I${prefix}
/include/php/Zend -I${prefix}/include/php/TSRM
checking for PHP extension directory... /usr/lib/php4
checking for bison... no
checking for byacc... no
checking how to run the C preprocessor... gcc -E
checking for flex... flex
checking for yywrap in -lfl... yes
checking lex output file root... lex.yy
checking whether yytext is a pointer... yes
checking for flex... (cached) flex
checking for midgard support... yes, shared
./configure: line 1270: syntax error near unexpected token
`PHP_ADD_LIBRARY_WITH_PATH(midgard,'
./configure: line 1270: `    PHP_ADD_LIBRARY_WITH_PATH(midgard,
"$PHP_MIDGARD/lib", MIDGARD_SHARED_LIBADD)'

Can any one please help me out
Thanx
Sameer



---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.286 / Virus Database: 152 - Release Date: 10/9/01


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to