www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/03/06/10:13:03

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Marc Girod <marc DOT girod AT gmail DOT com>
Subject: Trying to install =?utf-8?b?bW9kX3Blcmw=?= on apache2
Date: Thu, 6 Mar 2008 15:11:59 +0000 (UTC)
Lines: 82
Message-ID: <loom.20080306T145353-726@post.gmane.org>
Mime-Version: 1.0
User-Agent: Loom/3.14 (http://gmane.org/)
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Hi,

Now that I got my apache2 to work (thanks to Dave Korn),
I want to install TWiki on it, and I configured it to use mod_perl.
I downloaded and extracted mod_perl,
ran perl Makefile.PL.
2 glitches:

1)
************* WARNING *************

  Your Perl is configured to link against libgdbm, 
  but libgdbm.so was not found.
  You might need to install Perl from source


************* WARNING *************

I installed libgdbm (which as it seems, wasn't in my deafult cygwin perl).
This didn't affect the warning though--I hope the reason is that the
shared library on Cygwin is named libgdm.dll, and the script looks for
libgdm.so...

2)
Enter `q' to stop search
Please tell me where I can find your apache src
 [../apache_x.x/src]

I have no sources, although I could possibly install apache2-devel.
The generation goes on...?

Then I tried make test (as myself, and not thinking of what would happen).
My apache server was actually down.
The tests failed:

...
/httpd -f `pwd`/t/conf/httpd.conf -X -d `pwd`/t &
httpd listening on port 8529
will write error_log to: t/logs/error_log
/bin/sh: /httpd: No such file or directory
letting apache warm up...\c
done
/usr/bin/perl.exe t/TEST 0
still waiting for server to warm up...............not ok
server failed to start! (please examine t/logs/error_log) at t/TEST line 95.
make: *** [run_tests] Error 119

There is no t/logs/error_log.
I don't know what httpd it actually tried to start, but probably as myself,
whereas my daemon is actually named httpd2.exe.

My first problem is that it doesn't start anymore
(it started this morning, even if I didn't check again right before
the installation...).

The error in /var/log/httpd2.log is:

(112)Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs

Looking with /cygdrive/c/WINNT/system32/netstat, I can find nobody
sitting on port 80 at this time...

mod_perl-1.30> cygrunsrv --query httpd2
Service             : httpd2
Display name        : CYGWIN httpd2
Current State       : Stopped
Command             : /usr/sbin/httpd2 -DNO_DETACH

mod_perl-1.30> cygrunsrv --list
cygserver
httpd2

Has anybody installed mod_perl in Cygwin?
Here is my updated cycgcheck.out:

http://pastebin.com/m734362d9

Thanks,




--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019