-----Original Message-----
From: pp [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 27, 2003 2:06 PM
To: [EMAIL PROTECTED]
Subject: Re: [midgard-user] midgard-data install problem


"Bill Hults" <[EMAIL PROTECTED]> wrote:

> 1. When I try to restart httpd after adding Include
> /pathto/midgard-data.conf it fails with
> 'Invalid command Midgard database'

|MidgardDatabase db_name user pass
The command is in the file correctly but Apache sees it as a syntax error.
The error message talks about a possible missing module which is why I tried
moving on to mod_midgard.


> 2. It doesn't create the example files.

|example files?
Just the images I see.


> I also am having a problem with mod_midguard. When I run configure it
errors
> trying to find midgard.h even though I entered the complete path in the
> configure file.

|--with-midgard=/path/to/bin/midgard-config
That didn't help. Here's the log file from configure -

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/lib/glib/include -I/usr/include/mysql -I/usr/local/includ
e  -L/usr/local/lib  -L/usr/lib/mysql -lmysqlclient  -lexpat -lm -lz -lcrypt
 -lglib -lmidgard
conftest.c  -L/usr/local/lib  -L/usr/lib/mysql -lmysqlclient  -lexpat -lm -l
z -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/lib/glib/include -I/usr/include/mysql -I/usr/local/includ
e  -L/usr/local/lib  -L/usr/lib/mysql -lmysqlclient  -lexpat -lm -lz -lcrypt
 -lglib -lmidgard
conftest.c  -L/usr/local/lib  -L/usr/lib/mysql -lmysqlclient  -lexpat -lm -l
z -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/lib/glib/include -I/usr/include/mysql -I/usr/local/includ
e  -L/usr/local/lib  -L/usr/lib/mysql -lmysqlclient  -lexpat -lm -lz -lcrypt
 -lglib -lmidgard
conftest.c -lmidgard   -L/usr/local/lib  -L/usr/lib/mysql -lmysqlclient  -le
xpat -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/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/lib/glib/include -I/usr/include/mysql -I/usr
/local/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/lib/glib/include -I/usr/include/mysql -I/usr/local/in
clude 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/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 1071 "configure"
#include "confdefs.h"
#include <midgard/midgard.h>


Piotras

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

This e-mail was scanned by RAV Antivirus. (www.ravantivirus.com)

This e-mail was scanned by RAV Antivirus. (www.ravantivirus.com)

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

Reply via email to