On Thu, 31 Aug 2000 [EMAIL PROTECTED] wrote:

> Date: Thu, 31 Aug 2000 12:36:17 -0700 (PDT)
> From: [EMAIL PROTECTED]
> Reply-To: [EMAIL PROTECTED]
> To: [EMAIL PROTECTED]
> Subject: [midgard] make: apxs: Command not found
> 
> Hi,
> 
> rpm -e apache, built apache 1.3.12 from source, /usr/local/apache/
> and apxs is there, redhat 6.2 system. The system has had midgard running
> on it before. I removed all references to midgard prior to this  installation
> attempt. 
> 
> mod_midgard
> 
> bash$ ./configure --with-apache=/usr/local/apache/
> --with-midgard=/usr/local/midgard-lib-1.4beta5a
> 
> bash$ make
> apxs -c -DHAVE_LIBMIDGARD=1 -DHAVE_MIDGARD_INIT=1 -DHAVE_MIDGARD_PARSER=1
> -DHAVE_MIDGARD_H=1  -I/usr/local/midgard-lib-1.4beta5a/include
> -L/usr/local/midgard-lib-1.4beta5a/lib -lmidgard  mgd_apache.c
> make: apxs: Command not found
> make: *** [mgd_apache.o] Error 127


Very simple: your apxs is not in your path! =)

export PATH=/usr/local/apache:$PATH

------------------------------------------------------------
Jean-Michel Dault <[EMAIL PROTECTED]>
MandrakeSoft inc, Montreal (Canada)
HTCPCP/1.0 Developper  (http://www.ietf.org/rfc/rfc2324.txt)


> 
> 
> $ /sbin/ldconfig -p
> 
> bash$ /sbin/ldconfig -p | grep midgard
>         libmidgard.so.3 (libc6) => /usr/local/lib/libmidgard.so.3
>         libmidgard.so (libc6) => /usr/local/lib/libmidgard.so
> bash$ /sbin/ldconfig -p | grep mysql  
>         libmysqlclient.so.6 (libc6) => /usr/lib/libmysqlclient.so.6
>         libmysqlclient.so (libc6) => /usr/lib/libmysqlclient.so
> 
> config.log
> 
> configure:591: checking for a BSD compatible install
> configure:646: checking for apxs
> configure:683: checking for gcc
> configure:796: checking whether the C compiler (gcc  ) works
> configure:812: gcc -o conftest    conftest.c  1>&5
> configure:838: checking whether the C compiler (gcc  ) is a cross-compiler
> configure:843: checking whether we are using GNU C
> configure:871: checking whether gcc accepts -g
> configure:905: checking for /etc/mandrake-release
> configure:937: checking for mgd_connect in -lmidgard
> configure:992: checking for mgd_init in -lmidgard
> configure:1035: checking for mgd_select_parser in -lmidgard
> configure:1079: checking for mgd_pagelink in -lmidgard
> configure:1124: checking how to run the C preprocessor
> configure:1205: checking for midgard.h
> configure:1246: checking for working const
> 
> A pistol to shoot myself in the foot would be sorta interestin. :) Of
> course, I suggestion as to what I should do next might be better.
> 
> Ron
> 
> 
> --
> 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]
> 


--
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]

Reply via email to