I've just compiled all of Midgard on FreeBSD 4.2-STABLE
(actually, uname reports it as 4.3 RC #3), using your version of 
PHP4 (midgard-php4-1.4.1-1) and Apache 1.3.12

Compile went successfully, once all problems with iconv, expat etc 
had been resolved.

Unfortunately, I've run into two problems:

The more serious one is that Midgard won't run the Asgard site - 
or, presumable anything else. Apache starts happily, and serves 
up regular and PHP pages, but go to /admin, /asgard or whatever 
and it barfs. It _did_ prompt me for the default username and 
password before doing so, so it must have been recognising 
something, but as soon as I'm through that, Apache closes the 
connection. Tried it with telnet to see if there is anything at all; 
nothing.

Here's what it puts in the Apache error log:
/usr/libexec/ld-elf.so.1: 
/usr/local/lib/php/extensions/no-debug-non-zts-20001214/midgard.so: Undefined symbol 
"mgd_isroot"

My second problem is that compiling --with-sitegroups made 
Apache fail its configtest. I did check that I'd used the --with-
sitegroups option on all of midgard-lib, mod_midgard and midgard-
php4 - and even made clean, configured and re-make installed, just 
to make sure. But this isn't going to be an issue until I can get it 
working at all.

Possible clues (possibly red herrings, I'm too newbie to tell):

* I see that libphp4.so wasn't updated when I built midgard-php. Is 
that right?

* I had to copy expat.h and iconv.h into the base directory for 
midgard-php for it to compile; it couldn't find it in 
/usr/local/include/midgard or /usr/local/midgard/include/midgard; 
don't know why not but could be unrelated problem due to 
FreeBSD ports being not what you're expecting (had to struggle 
through getting Midgard to recognise that they're there).

Any help gratefully received.

Cheers,

Malcolm.


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

Reply via email to