[Mono-dev] error compiling mod_mono 1.2.5 with apache 1.3
Marek Habersack
grendello at gmail.com
Wed Sep 26 06:46:19 EDT 2007
On Wed, 26 Sep 2007 11:33:33 +0200, César González <cesar at eureka-sistemas.com>
scribbled:
> Hi Marek,
>
> Marek Habersack escribió:
> > What is the version of apr 1.3 uses? 0.9.x?
> >
> >
> On debian, apache-dev (version 1.3.34) depends on apache2-common, wich
> depends on libapr1-dev (1.2.7).
In which case the compile should work, since it's the new APR.
> Anyway, I have tested mod_mono 1.2.5 with apr 0.9 and change mod_mono.h
> to not to include unixd.h (apache 2 file). The error with these changes
> is the following :
>
> mod_mono.c:99: error: expected specifier-qualifier-list before 'apr_shm_t'
> mod_mono.c:121: error: expected specifier-qualifier-list before
> 'apr_lockmech_e'
> mod_mono.c:128: error: 'APR_LOCK_FCNTL' undeclared here (not in a function)
>
> Seems that mod_mono is not compatible with the old api 0.9.
This is weird, though. I've just downloaded the apr 0.9.16 tarball and it
contains the apr_shm.h include file, which defines apr_shm_t and
apr_proc_mutex.h which contains APR_LOCK_FCNTL. Can you tell me the exact
(Debian) version of all the packages you tested it with? I will download them
and see what's inside (I'm installing etch right now, too)
best regards,
marek
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 194 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20070926/91f53c97/attachment.bin
More information about the Mono-devel-list
mailing list