It's not impossible :) anyway it does work with these changes specifically for
debian.

debian hints for midgard 1.4 from CVS

apt-get install libxmltok1 libxmltok1-dev
(dont forget the mysqlclient6-dev & mysqlclient6-dev)
for lib!
/configure
modify Makefile change the CPPFLAGS,& LIBS to... 
CPPFLAGS =  -I/usr/include/mysql -I/usr/include/xmltok
LDFLAGS =  -L/usr/lib/mysql
LIBS = -lm -lglib -lz -lcrypt -lmysqlclient -lxmlparse -lxmltok


If you are not using  sitegroups

mod_midgard.c has 2 references to mgd_set_sitegroup which are not wrapped in
#if HAVE_MIDGARD_SITEGROUPS

#endif 

this needs adding :) - it will compile however apache will complain later :)


this should get lib and mod compiled

for php my configure line!
 ./configure '--with-apxs' '--with-mysql' '--with-pgsql' '--with-midgard'
'--with-imap'
 - if you want postgres, you have to add 
   -I/usr/include/postgresql to the INCLUDE line!



thanks all

regards

alan

-- 
Technical Director
Linux Center (HK) Ltd.
www.hklc.com



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