>
>First, the --with-apxs should actually point at the apxs script itself. 
>I assume it's in your PATH since configure still managed to find it.
>
>Next, remove config.cache and try again.
>
>Emile
>
>
I'm sorry, but it still doesn't word, and I think there is a bug in the ./configure 
script
I used the   --with-midgard=/usr/local   option
and /usr/local/lib, /usr/local/include exist with the right files
I also put their names in the PATH.

Do you have a hint for me ??

That's what I did (Mod_midgard):
$PATH=/usr/local/sbin:/usr/sbin:/sbin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin:/usr/local/:/usr/local/lib/:/usr/local/include/
rm config.cache

./configure --with-midgard=/usr/local --with-mysql=/usr/local/mysql 
--with-expat=/usr/local --with-apxs=/usr/local/apache/bin/apxs

That's what I get:
*** You need the Midgard library for using mod_midgard.      ***
*** Use the --with-midgard option to tell                    ***
*** the configure script where to look for the library.      ***
*** Check also that both the Midgard library and the MySQL   ***
*** client library are on your dynamic library load path.    ***
configure: error: Midgard library libmidgard not found

The explaination is (./configure --help)
  --with-midgard=DIR   Prefix of the Midgard installation.
                       The header file midgard.h should be in
                       DIR/include, and the library libmidgard in
                       DIR/lib.

ll /usr/local/lib/
drwxr-xr-x    3 root     root         4096 Mai  2 10:56 glib
-rw-r--r--    1 root     root       335434 Mai  2 10:58 libexpat.a
-rwxr-xr-x    1 root     root          648 Mai  2 10:58 libexpat.la
lrwxrwxrwx    1 root     root           17 Mai  2 10:58 libexpat.so -> 
libexpat.so.0.0.1
lrwxrwxrwx    1 root     root           17 Mai  2 10:58 libexpat.so.0 -> 
libexpat.so.0.0.1
-rwxr-xr-x    1 root     root       283383 Mai  2 10:58 libexpat.so.0.0.1
lrwxrwxrwx    1 root     root           20 Mai  2 10:56 libglib-1.2.so.0 -> 
libglib-1.2.so.0.0.8
-rwxr-xr-x    1 root     root       450999 Mai  2 10:56 libglib-1.2.so.0.0.8
-rw-r--r--    1 root     root       934080 Mai  2 10:56 libglib.a
-rwxr-xr-x    1 root     root          666 Mai  2 10:56 libglib.la
lrwxrwxrwx    1 root     root           20 Mai  2 10:56 libglib.so -> 
libglib-1.2.so.0.0.8
lrwxrwxrwx    1 root     root           23 Mai  2 10:56 libgmodule-1.2.so.0 -> 
libgmodule-1.2.so.0.0.8
-rw-r--r--    1 root     root        35516 Mai  2 10:56 libgmodule-1.2.so.0.0.8
-rw-r--r--    1 root     root        32006 Mai  2 10:56 libgmodule.a
-rw-r--r--    1 root     root          692 Mai  2 10:56 libgmodule.la
lrwxrwxrwx    1 root     root           23 Mai  2 10:56 libgmodule.so -> 
libgmodule-1.2.so.0.0.8
lrwxrwxrwx    1 root     root           23 Mai  2 10:56 libgthread-1.2.so.0 -> 
libgthread-1.2.so.0.0.8
-rwxr-xr-x    1 root     root        36742 Mai  2 10:56 libgthread-1.2.so.0.0.8
-rw-r--r--    1 root     root        32906 Mai  2 10:56 libgthread.a
-rwxr-xr-x    1 root     root          697 Mai  2 10:56 libgthread.la
lrwxrwxrwx    1 root     root           23 Mai  2 10:56 libgthread.so -> 
libgthread-1.2.so.0.0.8
-rw-r--r--    1 root     root       487990 Mai  2 15:16 libmidgard.a
-rwxr-xr-x    1 root     root          745 Mai  2 15:16 libmidgard.la
lrwxrwxrwx    1 root     root           19 Mai  2 15:16 libmidgard.so -> 
libmidgard.so.3.1.0
lrwxrwxrwx    1 root     root           19 Mai  2 15:16 libmidgard.so.3 -> 
libmidgard.so.3.1.0
-rwxr-xr-x    1 root     root       236653 Mai  2 15:16 libmidgard.so.3.1.0
-rwxr-xr-x    1 root     root        64496 Mai  2 13:35 libz.a
drwxr-xr-x   23 root     root         4096 Mai  2 14:54 php

ll /usr/local/include
-rw-r--r--    1 root     root         1956 Mai  2 15:16 apache.h
-rw-r--r--    1 root     root        26371 Mai  2 10:58 expat.h
-rw-r--r--    1 root     root        90817 Mai  2 10:56 glib.h
-rw-r--r--    1 root     root         3431 Mai  2 10:56 gmodule.h
drwxr-xr-x    2 root     root         4096 Mai  2 16:54 midgard
-rw-r--r--    1 root     root        20510 Mai  2 15:16 midgard.h
drwxr-xr-x    7 root     root         4096 Mai  2 14:54 php
-rw-r--r--    1 root     root         2228 Mai  2 15:16 select_db.h
-rw-r--r--    1 root     root          953 Mai  2 15:16 tablenames.h
-rw-r--r--    1 root     root         7810 Mai  2 13:35 zconf.h
-rw-r--r--    1 root     root        40898 Mai  2 13:35 zlib.h

thanks
Midgardnewbie


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to