> > No Stas, this is a bug in MP2. Please, just run: > > > > perl Makefile.pl MP_STATIC_EXTS=1 MP_COMPAT_1X=0 MP_USE_STATIC=1 > > MP_AP_CONFIGURE="--with-mpm=prefork" MP_AP_PREFIX=/usr/src/httpd > > > > and you will see what happens. On RedHat I get the same error (but on > > cygwin the process continues without exiting): > > > > a - modperl_exports.o > > ar: Apache_URI_URI.o: No such file or directory > > make[1]: *** [mod_perl.a] Error 1 > > make[1]: Leaving directory `/house/doink123/mp2/src/modules/perl' > > make: *** [modperl_lib] Error 2 > > Yup, I can confirm that it's not working. I get a different error though: > > /home/stas/apache.org/mp2-svn/src/modules/perl/mod_perl.a(modperl_xsinit.o)(.text+0x11): > > In function `xs_init': > /home/stas/apache.org/mp2-svn/src/modules/perl/modperl_xsinit.c:57: > undefined reference to `boot_Apache__URI' > > I had no idea we had this MP_STATIC_EXTS=1 option. I don't think it was > tested since it was added some 3-4 years ago by Doug. > > Philippe, do you know what does it do and why is it broken? (Philippe is > the keeper of the static gate keys, amongs his other numerous occupations)
This option is currently very useful for cygwin. It assembles all APR and Apache modules into mod_perl.a. The error you get is the same I get on cygwin (the error above that I posted earlier is the one I get on Red Hat, but they are actually comming from the same source.) When you run make, the process creates APR_*.c and Apache_*.c into src/modules/perl, but "forgets" to create Apache_Uri_Uri.c. Then it doesn't, of course, build Apache_Uri_Uri.o. In the end when creating mod_perl.a on Red Hat I get the error above, but on cygwin (and most probably on your system) there is only a warning about missing Apache_Uri_Uri.o. Finally, when it comes to creating the httpd executable the error you mentioned appears. Btw, I managed to create manually Apache_Uri_Uri.o and build mod_perl.a with it and it all works, but there are more problems after that (with the build process again). ----------------------------------------------------------------- http://promo.abv.bg/new_sms.html - Активирайте SMS известяване за получено писмо!