Hi, I thought this might help some people. Also Anatol a small patch for
you in here :)

This is a basic howto on how I use midgard with redhat 8.0.

1. Apache & PHP.
I use apache & mod_ssl recompiled from stock rh 7.3. You have to change
the buildrequirements a bit to get it working. Edit the apache.spec file
and change the BuildPrereq entry to:
BuildPrereq: db4-devel, expat-devel, findutils, gdbm-devel, mm-devel

This is because RH has changed some of the rpm names and now uses db4
instead of db3 by default.

PHP. I used the SRPM from this site: http://www.aucs.org/rpmcenter/.

2. Midgard-lib
I use Anatols rpms. Just get the srpm for 1.4.4 and do a normal
recompile. 

3. Mod_midgard
Same here, but you need to make a small modification on the specfile:
Basicly run autoconf in the builddir to get it working. (se patch).

4. midgard-php4
Just rebuild the rpm.

This works for me (tm).

Tarjei
--- mod_midgard_OR.spec 2002-12-20 17:01:38.000000000 +0100
+++ mod_midgard_OR.spec.orig    2002-12-20 17:12:35.000000000 +0100
@@ -25,7 +25,6 @@
 
 %build
 LIB="-L/usr/lib/mysql -lmidgard -lmysqlclient"
-autoconf
 ./configure --prefix=/usr  --with-host-i686-pc-linux-gnu --with-apxs=/usr/sbin/apxs
 DEF='-DMIDGARD_RPM_RELEASE=\"\\\"${RPM_PACKAGE_RELEASE}\\\"\"' make
 

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

Reply via email to