Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Apr 2008 00:51:10 -0700
From:      "Philippe M. Chiasson" <gozer@apache.org>
To:        "Philip M. Gollucci" <pgollucci@p6m7g8.com>
Cc:        ports@freebsd.org, dev@perl.apache.org
Subject:   Re: [ANNOUNCE] mod_perl-2.0.4
Message-ID:  <480C476E.6080307@apache.org>
In-Reply-To: <4809234D.3070001@p6m7g8.com>
References:  <4806F933.5060306@apache.org> <4807D373.9000808@p6m7g8.com> <4807E48E.40305@apache.org> <4807E941.80009@p6m7g8.com> <480858F0.6040604@apache.org> <4809234D.3070001@p6m7g8.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig17AC4187277ECA3156B94FCC
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: quoted-printable

Philip M. Gollucci wrote:
> Philippe M. Chiasson wrote:
> | Philip M. Gollucci wrote:
> |> Philippe M. Chiasson wrote:
> |> |>
> |>
> http://tinderbox-i386.p6m7g8.net/tb/errors/8.0-FreeBSD/mod_perl2-2.0.4,=
3.log
>=20
> |>
> |>
> |> FWIW, also on 7.0
> |>
> http://tinderbox-i386.p6m7g8.net/tb/errors/7.0-FreeBSD/mod_perl2-2.0.4,=
3.log
>=20
> |>
> |> | What's in xs/modperl_xs_typedefs.h:67 ? (it's generated, so I can
> |> easily
> |> | tell)
> |>
> |> ~From the 8-current tree:
> |> http://p6m7g8.com/modperl_xs_typedefs.h
> |
> | I don't have a FreeBSD machine handy, so, Philip, is there any chance=
 you
> | could try and figure out a little more about what's going on?
> You do now, account info in offlist e-mail.
>=20
> |
> | Something is tripping up the compiler, so maybe
> | apache/include/apr_thread_rwlock.h has something funky in there (or i=
sn't
> | even there)
> My APR was compiled without Threads (/var/db/pkg/apr-nothr)

Sounds like a problem with APR without threads.

> I'll look at tweaking the detection.

I think this patch to a bit of *magical* code should do the trick.

Index: lib/ModPerl/BuildMM.pm
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- lib/ModPerl/BuildMM.pm      (revision 648960)
+++ lib/ModPerl/BuildMM.pm      (working copy)
@@ -359,7 +359,7 @@

      $apr_config ||=3D $build->get_apr_config();

-    if ($path =3D~ m/(Thread|Global)Mutex/) {
+    if ($path =3D~ m/(Thread|Global)(Mutex|RWLock)/) {
          return unless $apr_config->{HAS_THREADS};
      }

Feels like something that doesn't belong in there, but rather in the
configuration somewhere in xs/maps...

--=20
Philippe M. Chiasson     GPG: F9BFE0C2480E7680 1AE53631CB32A107 88C3A5A5
http://gozer.ectoplasm.org/       m/gozer\@(apache|cpan|ectoplasm)\.org/


--------------enig17AC4187277ECA3156B94FCC
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIDEduyzKhB4jDpaURAiUDAKC6q1xjF7wnzM/Sv0lnjCW8h+8AUgCeI3G5
p/CKFYLSFFLECkxT3mfQ+Y8=
=DWnh
-----END PGP SIGNATURE-----

--------------enig17AC4187277ECA3156B94FCC--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?480C476E.6080307>