Hello, 
 
I have a similar pb on mandrake9.0. tried all --with-* that i can 
imagine... 
 
Apache 1.3.26 (Mandrake Linux/6.1mdk) 
mod_midgard-1.4.3 
 
 
# ./configure --with-apxs=/usr/sbin/apxs 
--with-midgard-config=/usr/local/bin/midgard-config 
creating cache ./config.cache 
checking for midgard-config... /usr/local/bin/midgard-config 
checking for a BSD compatible install... /usr/bin/install -c 
checking for static Apache module build... no 
checking for apxs... /usr/sbin/apxs 
checking for /etc/mandrake-release... Mandrake Linux release 9.0 
(dolphin) for i586 found - using special setup 
checking for library containing g_string_new... none required 
checking for library containing crypt... none required 
checking for mgd_connect in -lmidgard... yes 
checking how to run the C preprocessor... /lib/cpp 
checking for midgard/midgard.h... no 
configure: error: Midgard header file midgard.h not found 
 
************************************************************** 
 
$ cat config.log 
This file contains any messages produced by compilers while 
running configure, to aid debugging if configure makes a mistake. 
 
configure:537: checking for midgard-config 
configure:634: checking for a BSD compatible install 
configure:689: checking for static Apache module build 
configure:737: checking for apxs 
configure:786: checking for /etc/mandrake-release 
configure:800: checking for library containing g_string_new 
configure:818: cc -o conftest    -I/usr/include/glib-1.2 
-I/usr/lib/glib/include -I/usr/include/mysql -I/usr/local/include  - 
L/usr/local/lib  -lmysqlclient  -lexpat -lm -lz -lcrypt -lglib 
-lmidgard conftest.c  -L/usr/local/lib  -lmysqlclient  -lexpat 
 -lm -lz -lcrypt -lglib -lmidgard 1>&5 
cc1: warning: changing search order for system directory 
"/usr/local/include" 
cc1: warning:   as it has already been specified as a non-system 
directory 
configure:862: checking for library containing crypt 
configure:880: cc -o conftest    -I/usr/include/glib-1.2 
-I/usr/lib/glib/include -I/usr/include/mysql -I/usr/local/include  - 
L/usr/local/lib  -lmysqlclient  -lexpat -lm -lz -lcrypt -lglib 
-lmidgard conftest.c  -L/usr/local/lib  -lmysqlclient  -lexpat 
 -lm -lz -lcrypt -lglib -lmidgard 1>&5 
cc1: warning: changing search order for system directory 
"/usr/local/include" 
cc1: warning:   as it has already been specified as a non-system 
directory 
configure:923: checking for mgd_connect in -lmidgard 
configure:942: cc -o conftest    -I/usr/include/glib-1.2 
-I/usr/lib/glib/include -I/usr/include/mysql -I/usr/local/include  - 
L/usr/local/lib  -lmysqlclient  -lexpat -lm -lz -lcrypt -lglib 
-lmidgard conftest.c -lmidgard   -L/usr/local/lib  -lmysqlclie 
nt  -lexpat -lm -lz -lcrypt -lglib -lmidgard 1>&5 
cc1: warning: changing search order for system directory 
"/usr/local/include" 
cc1: warning:   as it has already been specified as a non-system 
directory 
configure:985: checking how to run the C preprocessor 
configure:1006: cc -E   -I/usr/include/glib-1.2 
-I/usr/lib/glib/include -I/usr/include/mysql -I/usr/local/include 
conftest.c 
>/dev/null 2>conftest.out 
cpp0: warning: changing search order for system directory 
"/usr/local/include" 
cpp0: warning:   as it has already been specified as a non-system 
directory 
configure: failed program was: 
#line 1000 "configure" 
#include "confdefs.h" 
#include <assert.h> 
Syntax Error 
configure:1023: cc -E -traditional-cpp   -I/usr/include/glib-1.2 
-I/usr/lib/glib/include -I/usr/include/mysql -I/usr/local/in 
clude conftest.c >/dev/null 2>conftest.out 
/usr/include/sys/cdefs.h:31: #error "You need a ISO C conforming 
compiler to use the glibc headers" 
configure: failed program was: 
#line 1017 "configure" 
#include "confdefs.h" 
#include <assert.h> 
Syntax Error 
configure:1040: cc -nologo -E   -I/usr/include/glib-1.2 
-I/usr/lib/glib/include -I/usr/include/mysql -I/usr/local/include 
con 
ftest.c >/dev/null 2>conftest.out 
cc: unrecognized option `-nologo' 
cpp0: warning: changing search order for system directory 
"/usr/local/include" 
cpp0: warning:   as it has already been specified as a non-system 
directory 
configure: failed program was: 
#line 1034 "configure" 
#include "confdefs.h" 
#include <assert.h> 
Syntax Error 
configure:1066: checking for midgard/midgard.h 
configure:1076: /lib/cpp   -I/usr/include/glib-1.2 -I/us                               
            
.c >/dev/null 2>conftest.out 
cpp0: warning: changing search order for system director 
cpp0: warning:   as it has already been specified as a n 
configure: failed program was: 
#line 1071 "configure" 
#include "confdefs.h" 
#include <midgard/midgard.h> 
 
 
******************************* 
 
$ ls /usr/local/include/midgard 
apache.h  authfailure.h  internal.h  midgard.h  pageresolve.h  
parser.h  select_db.h  tablenames.h 
 
Thanks for any help. 
 
didier 
 
--- In [EMAIL PROTECTED], "Scott G. Brauer" <[EMAIL PROTECTED]> wrote: 
> Piotras, 
>  
> I'm running from apache source version 1.3.26. 
>  
> Ok.  Here is the new problem.  I am attempting to compile 
mod_midgard-1.4.3  
> and get the error message: 
>     configure: error: Midgard header file midgard.h not found. 
>  
> I can't figure this one out. 
>  
> The config.log file is below. 
> 
**********************************************************************************************************
 
>  
> $cat config.log 
> This file contains any messages produced by compilers while 
> running configure, to aid debugging if configure makes a mistake. 
>  
> configure:537: checking for midgard-config 
> configure:560: checking for midgard-config 
> configure:634: checking for a BSD compatible install 
> configure:689: checking for static Apache module build 
> configure:737: checking for apxs 
> configure:786: checking for /etc/mandrake-release 
> configure:800: checking for library containing g_string_new 
> configure:818: cc -o conftest    -I/usr/local/include/glib-1.2  
> -I/usr/local/lib/glib/include -I/usr/local/mysql/include/mysql  
> -I/usr/local/include  
> -I/usr/local/midgard/include  -L/usr/local/midgard/lib  
> -L/usr/local/mysql/lib/mysql -lmysqlclient -L/usr/local/lib  
-lexpat -lm  
> -lz -lcrypt -L/usr/local/lib -lglib -lmidgard  
> conftest.c  -L/usr/local/midgard/lib  -L/usr/local/mysql/lib/mysql  
> -lmysqlclient -L/usr/local/lib  -lexpat -lm -lz -lcrypt 
-L/usr/local/lib  
> -lglib -lmidgard 1>&5 
> cc1: warning: changing search order for system directory 
"/usr/local/include" 
> cc1: warning:   as it has already been specified as a non-system 
directory 
> configure:862: checking for library containing crypt 
> configure:880: cc -o conftest    -I/usr/local/include/glib-1.2  
> -I/usr/local/lib/glib/include -I/usr/local/mysql/include/mysql  
> -I/usr/local/include  
> -I/usr/local/midgard/include  -L/usr/local/midgard/lib  
> -L/usr/local/mysql/lib/mysql -lmysqlclient -L/usr/local/lib  
-lexpat -lm  
> -lz -lcrypt -L/usr/local/lib -lglib -lmidgard  
> conftest.c  -L/usr/local/midgard/lib  -L/usr/local/mysql/lib/mysql  
> -lmysqlclient -L/usr/local/lib  -lexpat -lm -lz -lcrypt 
-L/usr/local/lib  
> -lglib -lmidgard 1>&5 
> cc1: warning: changing search order for system directory 
"/usr/local/include" 
> cc1: warning:   as it has already been specified as a non-system 
directory 
> configure:923: checking for mgd_connect in -lmidgard 
> configure:942: cc -o conftest    -I/usr/local/include/glib-1.2  
> -I/usr/local/lib/glib/include -I/usr/local/mysql/include/mysql  
> -I/usr/local/include  
> -I/usr/local/midgard/include  -L/usr/local/midgard/lib  
> -L/usr/local/mysql/lib/mysql -lmysqlclient -L/usr/local/lib  
-lexpat -lm  
> -lz -lcrypt -L/usr/local/lib -lglib -lmidgard conftest.c  
> -lmidgard   -L/usr/local/midgard/lib  -L/usr/local/mysql/lib/mysql  
> -lmysqlclient -L/usr/local/lib  -lexpat -lm -lz -lcrypt 
-L/usr/local/lib  
> -lglib -lmidgard 1>&5 
> cc1: warning: changing search order for system directory 
"/usr/local/include" 
> cc1: warning:   as it has already been specified as a non-system 
directory 
> configure:985: checking how to run the C preprocessor 
> configure:1006: cc -E   -I/usr/local/include/glib-1.2  
> -I/usr/local/lib/glib/include -I/usr/local/mysql/include/mysql  
> -I/usr/local/include -I/usr/local/midgard/include conftest.c 
>/dev/null  
> 2>conftest.out 
> cpp0: warning: changing search order for system directory 
"/usr/local/include" 
> cpp0: warning:   as it has already been specified as a non-system 
directory 
> configure: failed program was: 
> #line 1000 "configure" 
> #include "confdefs.h" 
> #include <assert.h> 
> Syntax Error 
> configure:1023: cc -E -traditional-cpp   
-I/usr/local/include/glib-1.2  
> -I/usr/local/lib/glib/include -I/usr/local/mysql/include/mysql  
> -I/usr/local/include -I/usr/local/midgard/include conftest.c 
>/dev/null  
> 2>conftest.out 
> /usr/include/sys/cdefs.h:31: #error "You need a ISO C conforming 
compiler  
> to use the glibc headers" 
> configure: failed program was: 
> #line 1017 "configure" 
> #include "confdefs.h" 
> #include <assert.h> 
> Syntax Error 
> configure:1040: cc -nologo -E   -I/usr/local/include/glib-1.2  
> -I/usr/local/lib/glib/include -I/usr/local/mysql/include/mysql  
> -I/usr/local/include -I/usr/local/midgard/include conftest.c 
>/dev/null  
> 2>conftest.out 
> cc: unrecognized option `-nologo' 
> cpp0: warning: changing search order for system directory 
"/usr/local/include" 
> cpp0: warning:   as it has already been specified as a non-system 
directory 
> configure: failed program was: 
> #line 1034 "configure" 
> #include "confdefs.h" 
> #include <assert.h> 
> Syntax Error 
> configure:1066: checking for midgard/midgard.h 
> configure:1076: /lib/cpp   -I/usr/local/include/glib-1.2  
> -I/usr/local/lib/glib/include -I/usr/local/mysql/include/mysql  
> -I/usr/local/include -I/usr/local/midgard/include conftest.c 
>/dev/null  
> 2>conftest.out 
> cpp0: warning: changing search order for system directory 
"/usr/local/include" 
> cpp0: warning:   as it has already been specified as a non-system 
directory 
> configure: failed program was: 
> #line 1071 "configure" 
> #include "confdefs.h" 
> #include <midgard/midgard.h> 
>  
>  
> 
*******************************************************************************************
 
>  
> $ls /usr/local/midgard/include/midgard 
> apache.h 
> authfailure.h 
> internal.h 
> midgard.h 
> pageresolve.h 
> parser.h 
> select_db.h 
> tablenames.h 
>  
>  
>  
> At 11:45 AM 10/29/2002 +0200, you wrote: 
>  
>  
> >pp wrote: 
> > > 
> > > "Scott G. Brauer" <[EMAIL PROTECTED]> wrote: 
> > > 
> > > > This is most likely something simple that is driving me 
nuts. 
> > > > 
> > > > I am trying to compile mod-midgard-1.4.3 on RedHat 8.0. 
> > > 
> > > What is Apache and Mysql version in RH8? 
> > > 
> > 
> >RH8 has apache 2 as default, that would propably cause 
problems... 
> > 
> > > Piotras 
> > > 
> > > 
--------------------------------------------------------------------- 
> > > To unsubscribe, e-mail: [EMAIL PROTECTED] 
> > > For additional commands, e-mail: [EMAIL PROTECTED] 
> > 
> >-- 
> >Eero af Heurlin                 [EMAIL PROTECTED] 
> >Consultant Partner              Tel: +358 (0)20 198 6035 
> >Nemein Solutions Oy             http://www.nemein.com/ 
> > 
> >Nadmin Studio and Midgard support at +358-20-198 6050 / 
> >[EMAIL PROTECTED] 
> > 
> 
>--------------------------------------------------------------------- 
> >To unsubscribe, e-mail: [EMAIL PROTECTED] 
> >For additional commands, e-mail: [EMAIL PROTECTED] 
>  
> Scott G. Brauer 
> President 
> Computing Solutions by Design, Inc. 
> [EMAIL PROTECTED] 
> www.csbd.com 
>  
>  
>  
> 
--------------------------------------------------------------------- 
> To unsubscribe, e-mail: [EMAIL PROTECTED] 
> For additional commands, e-mail: [EMAIL PROTECTED] 


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

Reply via email to