Hello,

While installing 

$ cygcheck -c apache2
Cygwin Package Information
Package              Version        Status
apache2              2.2.16-1       OK

postinstall script has failed:

running: C:\cygwin\\bin\bash.exe --norc --noprofile
/etc/postinstall/apache2.sh
cp: cannot create regular file `../extra/httpd-autoindex.conf': No such file or 
directory
cp: cannot create regular file `../extra/httpd-dav.conf': No such file or 
directory
cp: cannot create regular file `../extra/httpd-default.conf': No such file or 
directory
cp: cannot create regular file `../extra/httpd-info.conf': No such file or 
directory
cp: cannot create regular file `../extra/httpd-languages.conf': No such file or 
directory
cp: cannot create regular file `../extra/httpd-manual.conf': No such file or 
directory
cp: cannot create regular file `../extra/httpd-mpm.conf': No such file or 
directory
cp: cannot create regular file `../extra/httpd-multilang-errordoc.conf': No 
such file or directory
cp: cannot create regular file `../extra/httpd-ssl.conf': No such file or 
directory
cp: cannot create regular file `../extra/httpd-userdir.conf': No such file or 
directory
cp: cannot create regular file `../extra/httpd-vhosts.conf': No such file or 
directory

abnormal exit: exit code=1

It looks like there should be a test to create `extra' if it doesn't exist:

$ diff -u apache2.sh.orig apache2.sh
--- apache2.sh.orig     2010-12-27 21:36:27.832800000 +0100
+++ apache2.sh  2010-12-27 21:37:32.588400000 +0100
@@ -7,6 +7,9 @@
 done

 cd /etc/apache2/original
+if [ ! -d ../extra ]; then
+  mkdir ../extra
+fi
 for cf in httpd.conf extra/httpd-*.conf; do
   if [ ! -e ../$cf ]; then
     cp $cf ../$cf

Regards.

-- 
Huella de clave primaria: 0FDA C36F F110 54F4 D42B  D0EB 617D 396C 448B 31EB

Attachment: signature.asc
Description: Digital signature

------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Cygwin-ports-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cygwin-ports-general

Reply via email to