Problems compiling midgard-apache2 1.7.4.

Tarjei Huse <tarjei-y/[email protected]> Thu, 23 Feb 2006 13:26:58 +0100
Newsgroups gmane.comp.web.midgard.devel
Message-ID <[email protected]>
Hi, I'm having a problem trying to configure the midgard-apache2 module
in 1.7.4. 

Here's the content of the makefile command I run:

cd `pwd`/Midgard_AllinOne-1.7.4/midgard-apache2-1.7.4 && \
./configure --prefix=/opt/lampp \
  --with-apxs=/opt/lampp/bin/apxs \
  --with-apr-config=/opt/lampp/bin/apr-config \
  --with-midgard-config=/opt/lampp/bin/midgard-config \
  --sysconfdir=/opt/lampp/etc \
  CPPFLAGS="-I/opt/lampp/include/ -I/opt/lampp/include/mysql
-I/opt/lampp/include/glib-2.0" LDFLAGS="-L/opt/lampp/lib
-L/opt/lampp/lib/glib-2.0 -L/opt/lampp/lib/mysql" && \
make  all && \
sudo make install
And the output:
configure: warning: CPPFLAGS=-I/opt/lampp/include/
-I/opt/lampp/include/mysql -I/opt/lampp/include/glib-2.0: invalid host
type
configure: warning: LDFLAGS=-L/opt/lampp/lib -L/opt/lampp/lib/glib-2.0
-L/opt/lampp/lib/mysql: invalid host type
configure: error: can only configure for one host and one target at a
time
make: *** [apache2] Error 1


Any tips? The same command somehow works for 1.8 .

Tarjei
-- 
Tarjei Huse <tarjei-y/[email protected]>