You need to tell the configure/setup script the location of the top-level of your Apache source tree. This means that you want to specify –with-apache=/path/to/apache and not –with-apache=/path/to/apache/src .
While configuring PHP (./configure), you come across an error similar to the following:
configure: error: cannot find output from lex; giving up
Be sure to read the installation instructions carefully and note that you need both flex and bison installed to compile PHP. Depending on your setup you will install bison and flex from either source or a package, such as a RPM.
When I try to start Apache, I get the following message:
symbol ap_block_alarms: referenced symbol not found
This error usually comes up when one compiles the Apache core program as a DSO library for shared usage. Try to reconfigure apache, making sure to use at least the following flags:
Posted in: PHP