On Wed, 2003-09-24 at 21:20, Tarjei Huse wrote:
> Hi, I'm trying to compile midgard with midrepository on a box using a
> openpkg setup and midgard from cvs. I get the following compile error:
> 
> perl: warning: Setting locale failed.
> perl: warning: Please check that your locale settings:
>         LANGUAGE = "no_NO",
>         LC_ALL = (unset),
>         LC_CTYPE = "iso_8859_1",
>         LANG = "no_NO"
>     are supported and installed on your system.
> perl: warning: Falling back to the standard locale ("C").

The above is not an error, but you may want to act upon it.

> mod_midgard.c: In function `midgard_create_request_config':
> mod_midgard.c:650: error: structure has no member named
> `preparser_active'
> apxs:Break: Command failed with rc=1
> make: *** [mod_midgard.so] Error 1
> 
> Any ideas what is wrong?

The structure midgard_request_config, defined in midgard/apache.h
(midgard-lib), should contain 'int preparser_active;' amongst a funload
of other things. I would guess that your installed
$PREFIX/include/midgard/apache.h is an older version. Find it, destroy
it, recompile and install midgard-lib, then try again on mod_midgard.

wkr,

-- 
Envida                     http://www.envida.net/
Armand A. Verstappen       Graadt van Roggenweg 328
[EMAIL PROTECTED]       3531 AH Utrecht
tel: +31 (0)30 298 2255    Postbus 19127
fax: +31 (0)30 298 2111    3501 DC Utrecht

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to