delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/06/04/06:10:02

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Date: Mon, 4 Jun 2001 12:09:41 +0200 (MEST)
From: "S. L." <s_i_lao AT gmx DOT net>
To: Stipe Tolj <tolj AT wapme-systems DOT de>
Cc: cygwin AT cygwin DOT com
MIME-Version: 1.0
References: <3B1767AE DOT 6E649D2E AT wapme-systems DOT de>
Subject: Re: Apache 1.3.20 & apxs
X-Authenticated-Sender: #0006551723 AT gmx DOT net
X-Authenticated-IP: [217.156.64.138]
Message-ID: <32005.991649381@www12.gmx.net>
X-Mailer: WWW-Mail 1.5 (Global Message Exchange)
X-Flags: 0001

Here's the exactly error when trying to start with apxs made modules:

$ /usr/local/apache/bin/apachectl start
Syntax error on line 205 of /usr/local/apache/conf/httpd.conf:
Can't locate API module structure `env_module' in file
/usr/local/apache/libexec/mod_env.dll: dlsym: Win32 error 127
/usr/local/apache/bin/apachectl start: httpd could not be started

No log file in @@ServerRoot@@/logs created.

If it's of any help, here are the 2 lines about env_module grepped from
objdump -t and nm on mod_env.dll, respectively:

[313](sec  2)(fl 0x00)(ty   0)(scl   2) (nx 0) 0x00000000 _env_module

cce82000 D _env_module

I think that the reason for this behaviour is the definition of
MODULE_VAR_EXPORT and API_EXPORT(type) variables, which for the first of them is left at
the latitude of ap_config.h and for the second is treated rather simply in
os/cygwin/os.h. The approach to solve the problem should be inspired from
os/win32/os.h, but conforming with cygwin rules.

And one last argue about w9x version and cgi connections -- the problem
happens for a brand new source tree configured and made without any external
modules (i.e. running either ./configure or ./configure --enable-rule=SHARED_CORE
only).

                                     SLao

-- 
Sent through GMX FreeMail - http://www.gmx.net


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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