httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tom Evans <tevans...@googlemail.com>
Subject Re: [users@httpd] Re: Apache 2.2.10 - apxs - cross-compiling modules failing
Date Fri, 05 Dec 2008 16:13:35 GMT
On Fri, 2008-12-05 at 14:11 +0000, Paul Herring wrote:
<snip>
> checking for --with-apxs... /f15_nsb/usr/local/bin/apxs executable, good
                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^
> checking Apache version... cannot open
> /usr/local/conf/build/config_vars.mk: No such file or directory at
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> /f15_nsb/usr/local/bin/apxs line 218.
> cannot open /usr/local/conf/build/config_vars.mk: No such file or
> directory at /f15_nsb/usr/local/bin/apxs line 218.
>  running %/% cannot open /usr/local/conf/build/config_vars.mk: No such
> file or directory at /f15_nsb/usr/local/bin/apxs line 218.
> cannot open /usr/local/conf/build/config_vars.mk: No such file or
> directory at /f15_nsb/usr/local/bin/apxs line 218.
> ./configure: line 2714: /: is a directory
> 
> configure: error: This version of mod_python only works with Apache 2.
> The one you have seems to be .
> ------------->8===========


You told configure that a valid version of apxs was
at /f15/usr/local/bin/apxs.
apxs is just a perl script that explains how to build apache modules. If
you look at it, the first thing it does is to include the file
$installbuilddir/config_vars.mk. As you can see from the output of
running it, it tries to include /usr/local/conf/build/config_vars.mk,
which obviously is not where it is.

apxs has its installbuilddir calculated when the apache binaries it
accompanies are compiled and installed. Since yours doesn't look in the
right place, I'm guessing your cross built apache was not
installed/configured correctly.

Cheers

Tom


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message