Re: Apache2 cygwin
Paul-Kenji schrieb: Paul-Kenji wrote: Paul-Kenji schrieb: -L/usr/local/apache2/lib -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 -lapr-0 -laprutil-0 Just tried adding libapr-0 and libapr_util-0 (since these are their name in /usr/bin/apache2/lib), they are found since it doesnt complain but it's not any better still loads of undef refs (same ones) Then there is libhttpd2, this needs to be added as well. Gerrit there's no such lib afaik, since it's all included in the httpd.exe or is there some specific way to compile it to build it as an external lib? I have created a DLL from libmain.a, probably manually, so no patch available, sorry, maybe it is sufficient to link this in. how did you do that? my apache didnt generate any libmain.a... my other question would be, any idea why it works flawlessly under *nix and it fucks up brilliantly under cygwin ... There is no Cygwin hacker in the Apache Team? I'll try to create a patch file for you. Wait a minute. Gerrit -- =^..^= -- 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/
Re: Apache2 cygwin
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/
Re: Apache2 cygwin
Paul-Kenji wrote: 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 \ [...] -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 You probably also need to link the dll against libapr libapr_util here. 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? Gerrit -- =^..^= http://nyckelpiga.de/donate.html -- 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/
Re: Apache2 cygwin
Paul-Kenji schrieb: -L/usr/local/apache2/lib -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 -lapr-0 -laprutil-0 Just tried adding libapr-0 and libapr_util-0 (since these are their name in /usr/bin/apache2/lib), they are found since it doesnt complain but it's not any better still loads of undef refs (same ones) Then there is libhttpd2, this needs to be added as well. Gerrit -- =^..^= -- 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/
Re: Apache2 cygwin
Paul-Kenji wrote: Paul-Kenji schrieb: -L/usr/local/apache2/lib -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 -lapr-0 -laprutil-0 Just tried adding libapr-0 and libapr_util-0 (since these are their name in /usr/bin/apache2/lib), they are found since it doesnt complain but it's not any better still loads of undef refs (same ones) Then there is libhttpd2, this needs to be added as well. Gerrit there's no such lib afaik, since it's all included in the httpd.exe or is there some specific way to compile it to build it as an external lib? I have created a DLL from libmain.a, probably manually, so no patch available, sorry, maybe it is sufficient to link this in. Gerrit -- =^..^= http://nyckelpiga.de/donate.html -- 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/