On 2011-10-31, Oleksandr Gavenko wrote:

> Upgrade from setup.exe take error:
>
> Package: Unknown package
>       apache2-mod_python.sh exit code 2
>
>    $ cygcheck -c apache2-mod_python
> Cygwin Package Information
> Package              Version        Status
> apache2-mod_python   3.3.1-2        OK
>
> I run:
>
>    $ /etc/postinstall/apache2-mod_python.sh
> cannot open /usr/share/apache2/build/config_vars.mk: No such file or 
> directory at /usr/sbin/apxs2 line 221.
>
> What is /usr/share/apache2/build ??
>
> I make search:
>
>    http://cygwin.com/cgi-bin2/package-grep.cgi?grep=usr/share/apache2/build
>
> and found: apache2-devel/apache2-devel-2.2.6-1
>
>  From setup.ini:
>
>    @ apache2-mod_python
>    requires: apache2 libapr1 libaprutil1 python
>
> We have missing or broken dependency??
>
> After installing 'apache2-devel' error go away!
>

I update to latest Cygwin and Cygwinports distro for today state.

And I am glad to report that problem still present:

  $ cd /etc/postinstall/
  $ ls *.sh
  apache2-mod_php5.sh  apache2-mod_python.sh  apache2-mod_tcl.sh
  $ /etc/postinstall/apache2-mod_python.sh
  cannot open /usr/share/apache2/build/config_vars.mk: No such file or 
directory at /usr/sbin/apxs2 line 221.

As I wrote 4 month ago installing 'apache2-devel' package fix error as it
provide '/usr/share/apache2/build/config_vars.mk' file which are required for
successful installation of these packages:

  apache2-mod_php5  apache2-mod_python  apache2-mod_tcl

Just update 'setup.hint' for these packages by adding 'apache2-devel' package
to requirement list:

>    @ apache2-mod_python
>    requires: apache2 apache2-devel libapr1 libaprutil1 python

-- 
Best regards!


------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Cygwin-ports-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cygwin-ports-general

Reply via email to