Thomas wrote:
> 
> Hi,
> 
> I tried to setup Midgard on my Debian potato system, using debian apache
> and debian mysql.
> 
> I had no big problems building midgard-lib, midgard-data and
> mod-midgard, but i do not manage to buil midgard-php.
> 
> The first problem i had, was a little one, gcc did not find the httpd.h,
> file, I had to add /usr/include/apache-1.3/ in the include path, in
> Makefile.
> Maybe you'll want to correct the problem in next release.
Could you post your ./configure options? 

> Next problem is :
> # make
> gcc -g -O2 -O2   -I. -I. -I/usr/include/apache-1.3
> -I/usr/local/src/midgard/include  -I/usr/include/mysql    -c
> functions/midgard.c -o functions/midgard.o
> functions/midgard.c: In function `php3_midgard_rcfg':
> functions/midgard.c:71: `php3_rqst' undeclared (first use in this
> function)
> functions/midgard.c:71: (Each undeclared identifier is reported only
> once
> functions/midgard.c:71: for each function it appears in.)
> functions/midgard.c: In function `php3_midgard_template':
> functions/midgard.c:145: `APLOG_MARK' undeclared (first use in this
> function)
> functions/midgard.c:145: `APLOG_INFO' undeclared (first use in this
> function)
> functions/midgard.c:145: `APLOG_NOERRNO' undeclared (first use in this
> function)
> functions/midgard.c:146: `php3_rqst' undeclared (first use in this
> function)
> functions/midgard.c: In function `php3_mgd_auth_midgard':
> functions/midgard.c:2891: `php3_rqst' undeclared (first use in this
> function)
> make: *** [functions/midgard.o] Error 1
It seems that configure can't find actual APACHE headers. What Apache's
layout you're used when installed Apache? There is no layout named
'Debian' in config.layout of Apache source distribution, what layout
you're selected?
PHP's configure script should seek for Apache's installation and find
its headers and apxs script but it seems it failed.

As for Debian setup of Midgard, please search archive of this mailing
list for January, Emile posted notes about his experience for compiling
Midgard (and Midgard/PHP of cause) on Debian.
-- 
Sincerely yours, 
Alexander Bokovoy 
<!-- 2:450/144.58 --- bokovoyATminsk.lug.net --- FractalsAtTheEdge -->

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