Chen Shiyuan wrote:
> server:mod_midgard-1.4beta5a-1# make
> apxs -c -DHAVE_LIBMIDGARD=1 -DHAVE_MIDGARD_INIT=1 -DHAVE_MIDGARD_PARSER=1
> -DHAVE_MIDGARD_H=1 -L/usr/lib/mysql -L/usr/local/lib -L/usr/lib -lglib
> -lmidgard mgd_apache.c
> make: apxs: Command not found
> make: *** [mgd_apache.o] Error 127
>
> I am currently running on RedHat Linux 6.2 . However, I am not using the
> apache.i386.rpm that came with RedHat but instead compiled a totally
> non-modular version by getting the tarballs and recompiling. My main
> apache files are in /usr/local/apache and apxs is found at
> /usr/local/apache/bin/apxs :-
>
> server:mod_midgard-1.4beta5a-1# ls -l /usr/local/apache/bin/apxs
> -rwxr-xr-x 1 root root 20522 Jul 14 22:21
> /usr/local/apache/bin/apxs
apxs isn't in your path. Do
$ export PATH=$PATH:/usr/local/apache/bin
and then make.
> Do you have any idea how I can compile mod_midgard statically?
Just as you would with any module. There's a piece in the manual about
installing mod_midgard statically. But if you're going with the 1.4
series you're probably better off with the DSOs (easier upgrade path).
Emile
--
This is The Midgard Project's mailing list. For more information,
please visit the project's web site at http://www.midgard-project.org
To unsubscribe the list, send an empty email message to address
[EMAIL PROTECTED]