I'm up to compiling midgard-php and this is what I've found so far;


glib:
. The FreeBSD packages installation of glib installs glib-config as
glib<nn>-config (glib12-config in my case) to allow multiple glib installs.  I
symlinked glib12-config to glib-config to fix that.


iconv:
. I downloaded and installed iconv-2.0.  It worked without any problems.


expat:
. downloaded and installed easy.


There are probably FreeBSD packages for iconv and expat but I don't have them
so I can't say if they will change the installs below.


midgard-lib:
. iconv not found (configure.in patch fixed that)
. unistd.h replacement in repligard/main.c


midgard-data:
. in configure, ps -C doesn't work on FreeBSD.  I modified it to 'ps -acx |
grep mysqld' which worked fine although is probably FreeBSD specific. :(

. dbinstall assumes /bin/bash (should probably be /bin/sh unless it uses bash
specifics, I changed it to /usr/local/bin/bash where I had bash installed so I
didn't test that).


mod_midgard:
. The check for libmidgard includes a redundant '-lglib'.  This makes it fail
the check.  The correct glib stuff is already there from the glib-config
command earlier.  The check fails because glib is actually installed as
libglib12.so, not libglib.so so it actually needs -lglib12, but that is taken
care of by glib-config.


midgard_php:
. Just starting and it's failing on libmidgard again.  Looks like the
reduntant -lglib problem again but it's nearly 1 am here and I'm off to bed.
:)  I'll try some more tomorrow night.


So far so good! :)


Carl.


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

Reply via email to