php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #11809 Make install fails: apxs: error: unknown option: S
Submitted: 2001-06-30 05:29 UTC Modified: 2001-06-30 13:08 UTC
From: webmaster at qb45 dot com Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0.6 OS: Redhat 6.2
Private report: No CVE-ID: None
 [2001-06-30 05:29 UTC] webmaster at qb45 dot com
I use Apache 1.3.2 on a Cobalt RaQ2
I used:
./configure --with-mysql --with-apxs --with-enable-track-vars

make also didn't give any problems.
make install gives an error:
make[1]: Entering directory `/home/tmp/php4/php-4.0.6'
/home/tmp/php4/php-4.0.6/build/shtool mkdir -p "/usr/lib/apache" && /usr/sbin/ap
xs -S LIBEXECDIR="/usr/lib/apache" -i -a -n php4 libs/libphp4.so
apxs:Error: Unknown option: S
Usage: apxs -g -n <modname>
       apxs -q <query> ...
       apxs -c [-o <dsofile>] [-D <name>[=<value>]] [-I <incdir>]
               [-L <libdir>] [-l <libname>] <files> ...
       apxs -i [-a] [-n <modname>] <dsofile> ...
make[1]: *** [install-sapi] Error 1
make[1]: Leaving directory `/home/tmp/php4/php-4.0.6'
make: *** [install-recursive] Error 1   

Patches

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-06-30 13:08 UTC] derick@php.net
Apache 1.3.2 is really old, please update it to a newer version, i.e. 1.3.20.
 [2002-10-08 04:49 UTC] rolivas at nextel dot es
Hi,

After "configure --with-your-options" and "make":

You must modify:

config.status
config_vars.mk

and replace:

   .....apxs -S LIBEXECDIR.... 

flag 

with -L flag.

Then "make install" again.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Sep 08 23:01:28 2024 UTC