Hi!

Quoting Emiliano <[EMAIL PROTECTED]>:

> Chen Shiyuan wrote:
> 
> That would work but these header files really should be where
> apxs
> says they are.

Hmm... somehow when I compiled and did a make install from the 
apache-1.3.12 source tarballs, it left the files in the source directory 
and didn't copy over to the /usr/local/apache directory.

I have resorted to manually copying all the .h files over to the 
/usr/local/apache/include directory.

> > And when I tried compiling again, it no longer complains of
> missing files 
> > but :-
> 
> > mgd_apache.c
> >   -o mgd_apache.so mgd_apache.o -L/usr/lib/mysql
> -L/usr/local/lib 
> > -L/usr/lib -L/opt/src/apache_1.3.12/src/lib -lglib -lmidgard 
> > apxs:Break: Command failed with rc=16711680
> > make: *** [mgd_apache.o] Error 1
> > 
> > Do you have any idea how to over come it?
> 
> 
http://www.midgard-project.org/manual/faq.installing.html#FAQ.INSTALLING.
APXS-BREAK

Thanks for the URL. I manually edited /usr/local/apache/bin/apxs and did 
a ./configure followed by make and make install and it copied the 
mod_midgard.so to /usr/local/apache/libexec and added in a few lines into 
my httpd.conf .

All appears to be well and I moved on to compile midgard-php-1.4beta5a 
with --with-midgard and --enable-versioning as I am also using 
php4.0.1pl2 . 

All appears to be well until I encounter the following :-

As my database is on another server, Midgard tries to access via the 
local socket file which is of course non-existent. Do you know how I can 
tell Midgard to query the database server instead?

[Tue Sep  5 23:59:00 2000] [crit] Midgard: Can't connect to local MySQL 
server through socket '/var/lib/mysql/mysql.sock' (111)

BTW, do you have any idea what else is required to make php3 coexist with 
php4? I basically compiled them using 
--with-apxs=/usr/local/apache/bin/apxs and also --enable-versioning. and 
"make install" threw them into the /usr/local/apache/libexec directory.

Thanks!

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