Well, presumably it points to the directory where it gets installed. However, I haven't installed it yet because I need to compile mod_perl.
(My runtime machine doesn't have a compiler).


If that variable is changed, then how would apxs find things after I tar it up (not that I use it after it is in the correct location).

I'm happy to open a apache bug.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26076

Stas Bekman wrote:
Matthew Darwin wrote:

If you build apache with

    ./configure \
        --prefix=/kinnetics/component/httpd

make install DESTDIR=/tmp/apache-kinnetics-$USER


When you do that, does apxs get affected? i.e. does it get all the directories adjusted. If not (which I suppose is the case) it's a bug in httpd build. You should report it to httpd as:

I did:
 ./configure --prefix=/kinnetics/component/httpd
  make install DESTDIR=/tmp/apache-kinnetics-$USER
but apxs still points to the old location:
  /tmp/apache-kinnetics-darwin/kinnetics/component/httpd/bin/apxs -q
  INCLUDEDIR' failed:
  !!! cannot open /kinnetics/component/httpd/build/config_vars.mk: No such
   file or directory at
  /tmp/apache-kinnetics-darwin/kinnetics/component/httpd/bin/apxs line 256.
unless it's documented to behave this way

then when you try compiling mod_perl you get:

   perl Makefile.PL \
   MP_AP_PREFIX=/tmp/apache-kinnetics-$USER/kinnetics/component/httpd \
   LIB=/tmp/apache-kinnetics-$USER/kinnetics/component/httpd/site_perl \
   PREFIX=/tmp

************* WARNING *************
!!! '/tmp/apache-kinnetics-darwin/kinnetics/component/httpd/bin/apxs -q INCLUDEDIR' failed:
!!! cannot open /kinnetics/component/httpd/build/config_vars.mk: No such file or directory at /tmp/apache-kinnetics-darwin/kinnetics/component/httpd/bin/apxs line 256.



Note that this works just fine under mod_perl 1.99_10-dev.


right, we just didn't use apxs in earlier versions (and the build couldn't handle this situation). mod_perl relies on a working apxs. If that's broken it needs to be fixed.


__________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com



-- Matthew Darwin [EMAIL PROTECTED] http://www.mdarwin.ca

--
Reporting bugs: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html



Reply via email to