delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/07/07/10:30:10

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
X-pair-Authenticated: 172.211.134.47
Date: Wed, 7 Jul 2004 16:29:43 +0200
From: Paul-Kenji Cahier <pkc AT F1-Photo DOT com>
Reply-To: Paul-Kenji Cahier <pkc AT F1-Photo DOT com>
Organization: DeathSofts
Message-ID: <621526579.20040707162943@F1-Photo.com>
To: "Max Bowsher" <maxb AT ukf DOT net>, "Cygwin List" <cygwin AT cygwin DOT com>
Subject: Re[2]: Apache2 & cygwin
In-Reply-To: <00df01c46400$a79fecb0$5308a8c0@robinson.cam.ac.uk>
References: <26102221 DOT 20040707051805 AT F1-Photo DOT com> <00df01c46400$a79fecb0$5308a8c0 AT robinson DOT cam DOT ac DOT uk>
MIME-Version: 1.0
X-IsSubscribed: yes

Thanks for the info, apache2 starts well now
the new prob i'm experiencing is about modperl 2 now
it almost succeeds until the linking at the end:
ld2 -s -L/usr/local/lib \
 \
mod_perl.lo modperl_interp.lo modperl_tipool.lo modperl_log.lo modperl_config.lo modperl_cmd.lo modperl_options.lo modperl_callback.lo modperl_handler.lo modperl_gtop.lo modperl_util.lo modperl_io.lo modperl_io_apache.lo modperl_filter.lo modperl_bucket.lo modperl_mgv.lo modperl_pcw.lo modperl_global.lo modperl_env.lo modperl_cgi.lo modperl_perl.lo modperl_perl_global.lo modperl_perl_pp.lo modperl_sys.lo modperl_module.lo modperl_svptr_table.lo modperl_const.lo modperl_constants.lo modperl_apache_compat.lo modperl_error.lo modperl_hooks.lo modperl_directives.lo modperl_flags.lo modperl_xsinit.lo  -s  -s -L/usr/local/lib /usr/lib/perl5/5.8.2/cygwin-thread-multi-64int/auto/DynaLoader/DynaLoader.a -L/usr/lib/perl5/5.8.2/cygwin-thread-multi-64int/CORE -lperl -lcrypt -lgdbm_compat \
-o mod_perl.so
gcc -shared -o  mod_perl.dll -Wl,--out-implib=libmod_perl.dll.a -Wl,--export-all-symbols -Wl,--enable-auto-import -Wl,--stack,8388608 \
-s -L/usr/local/lib mod_perl.lo modperl_interp.lo modperl_tipool.lo modperl_log.lo modperl_config.lo modperl_cmd.lo modperl_options.lo modperl_callback.lo modperl_handler.lo modperl_gtop.lo modperl_util.lo modperl_io.lo modperl_io_apache.lo modperl_filter.lo modperl_bucket.lo modperl_mgv.lo modperl_pcw.lo modperl_global.lo modperl_env.lo modperl_cgi.lo modperl_perl.lo modperl_perl_global.lo modperl_perl_pp.lo modperl_sys.lo modperl_module.lo modperl_svptr_table.lo modperl_const.lo modperl_constants.lo modperl_apache_compat.lo modperl_error.lo modperl_hooks.lo modperl_directives.lo modperl_flags.lo modperl_xsinit.lo -s -s -L/usr/local/lib /usr/lib/perl5/5.8.2/cygwin-thread-multi-64int/auto/DynaLoader/DynaLoader.a -L/usr/lib/perl5/5.8.2/cygwin-thread-multi-64int/CORE -lperl -lcrypt -lgdbm_compat 
Creating library file: libmod_perl.dll.a
mod_perl.lo(.text+0x3af):mod_perl.c: undefined reference to `_ap_server_root_relative'
mod_perl.lo(.text+0x3f7):mod_perl.c: undefined reference to `_ap_server_root_relative'
mod_perl.lo(.text+0x74b):mod_perl.c: undefined reference to `_ap_mpm_query'
mod_perl.lo(.text+0x816):mod_perl.c: undefined reference to `_apr_pool_create_ex'
mod_perl.lo(.text+0x823):mod_perl.c: undefined reference to `_apr_pool_cleanup_null'
[many more undef. refs]
collect2: ld returned 1 exit status
perlld: *** system() failed to execute

i've tried a few other versions of ld(in case it was ld) but it seems
not to be any dif.
anyone succeeded compiling modperl2+apache2?



> Paul-Kenji Cahier wrote:
>> Has anyone ever been able to compile it properly and have it run?
>> 
>> a good ol' ./configure && make && make install will run almost
>> flawlessly(just gotta copy a few exe manually in make install) but
>> then trying to start httpd it exists almost instantly after a
>> sigill(with nothing in the error logs):

> You need cygserver running and the word "server" present in the CYGWIN environment variable.

> Max.


> --
> 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/



--
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