ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> php-install
php-install
Re: [PHP-INST] compiling issue with apxs it appears....
by Jim Thome other posts by this author
Aug 13 2002 4:04PM messages near this date
[PHP-INST] Multiple PHP Configurations | Re: [PHP-INST] Garbled libphp4.so - what?
What is your path?

> >> temp <anarchyz@[...].net> 08/13/02 09:49AM >>>
Here is basically my problem, it finds apxs fine, but gives a syntax error:

su-2.05# ./configure --with-mysql --with-apxs=/usr/local/apache/bin/apxs 
loading cache ./config.cache
checking for Cygwin environment... no
checking for mingw32 environment... no
checking host system type... i386-unknown-freebsd4.6
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets ${MAKE}... yes
checking whether to enable maintainer-specific portions of Makefiles... no
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 for style of include used by make... GNU
checking dependency style of gcc... none
checking whether gcc and cc understand -c and -o together... yes
checking how to run the C preprocessor... gcc -E
checking for AIX... no
checking for gcc option to accept ANSI C... none needed
checking whether compiler supports -R... yes
checking for ranlib... ranlib
checking whether ln -s works... yes
checking for gawk... (cached) awk
checking for bison... no
checking for byacc... byacc
configure: warning: You will need bison if you want to regenerate the PHP 
parsers.
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 working const... yes
checking for pthreads_cflags... -pthread
checking for pthreads_lib...
Configuring SAPI modules
checking for AOLserver support... no
checking for Apache 1.x module support via DSO through APXS...
Sorry, I was not able to successfully run APXS. Possible reasons:
1. Perl is not installed;
2. Apache was not compiled with DSO support (--enable-module=so);
3. 'apxs' is not in your path. Try to use --with-apxs=/path/to/apxs
The output of /usr/local/apache/bin/apxs follows
Usage: apxs -g [-S <var> =<val>] -n <modname>
apxs -q [-S <var> =<val>] <query> ...
apxs -c [-S <var> =<val>] [-o <dsofile>] [-D <name>[=<value>]]
[-I <incdir> ] [-L <libdir>] [-l <libname>] [-Wc,<flags>]
[-Wl,<flags> ] <files> ...
apxs -i [-S <var> =<val>] [-a] [-A] [-n <modname>] <dsofile> ...
apxs -e [-S <var> =<val>] [-a] [-A] [-n <modname>] <dsofile> ...
configure: error: Aborting

I'm not sure what to do, any guidance would be greatly appreciated, thanks 
in advance.
j 


-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php 



-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved