On Thu, 2011-09-01 at 13:04 +0800, Zhao Lu (Snackwell) Yang wrote:
> When I try to setup apache2+php5_mysql on cygwin, It reports failure
> on the postinstall stage. 
> I just paste here the error lines of setup.log.full, it seems
> apr-1-config is missing?

Here's the problem:

apxs2 serves several distinct purposes:

1) to build Apache2 extensions from C files without a build system;
2) to install such extensions to the Apache2 module directory;
3) to edit Apache2's httpd.conf to de/activate an installed module.

The "normal" usage of apxs2 is to do all of these sequentially, and its
the first step which requires ap{r,u}-1-config, for obvious reasons.
However, these postinstall scripts are running only step 3.  I'll look
into a patch for apxs2 which doesn't complain in this case.

In the meantime, install libapr1-devel and libaprutil1-devel and these
postinstall scripts should then work.


Yaakov
Cygwin Ports




------------------------------------------------------------------------------
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
Learn about the latest advances in developing for the 
BlackBerry® mobile platform with sessions, labs & more.
See new tools and technologies. Register for BlackBerry® DevCon today!
http://p.sf.net/sfu/rim-devcon-copy1 
_______________________________________________
Cygwin-ports-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cygwin-ports-general

Reply via email to