Subject: Re: New package ap2-python
To: None <darcy@NetBSD.org>
From: Marc Recht <marc@geht.de>
List: tech-pkg
Date: 06/11/2004 12:55:28
--Signature=_Fri__11_Jun_2004_12_55_28_+0200_zNksHzYzl8WVD=gz
Content-Type: text/plain; charset=US-ASCII
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

> Actually it is based on the FreeBSD port.  I guess I should look at

You could clean up some FreeBSD ports specific variables like
USE_REINPLACE and MESSAGE should be FreeBSD specific since there's no
libc_r on NetBSD. You also don't need to include apr's buildlink3.mk
directly if you set APCHE_MODULE to yes. I'm not sure aobut the MAKE_ENV
entry and the patch. I don't have these in my pkg and builds and (or
not) works the same, but I didn't test it on any other platform than
NetBSD 2.0_BETA. I'm also not sure if it runs with python23 (without
threads).

> yours for differences.  As for the Mutex errors, I have someone
> setting up the conf file to use the module now.  I will let you know
> what happens.

I just tried it and I am havin the same problems with it: 

[Fri Jun 11 12:45:18 2004] [warn] Init: Session Cache is not configured
[hint: SSLSessionCache]
[Fri Jun 11 12:45:20 2004] [notice] mod_python: Creating 32 session
mutexes based on 6 max processes and 25 max threads.
[Fri Jun 11 12:45:20 2004] [error] (23)Too many open files in system:
mod_python: Failed to create global mutex 26 of 32 (/tmp/mpmtx1452126).
[Fri Jun 11 12:45:20 2004] [error] mod_python: We can probably continue,
but with diminished ability to process session locks.
[Fri Jun 11 12:45:20 2004] [error] mod_python: Hint: On Linux, the
problem may be the number of available semaphores, check 'sysctl
kernel.sem'
[Fri Jun 11 12:45:20 2004] [notice] Digest: generating secret for digest
authentication ...
[Fri Jun 11 12:45:20 2004] [notice] Digest: done
[Fri Jun 11 12:45:20 2004] [emerg] (23)Too many open files in system:
Couldn't create accept lock

(2.0_BETA/python23-pth)

Cheers,
Marc

--Signature=_Fri__11_Jun_2004_12_55_28_+0200_zNksHzYzl8WVD=gz
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (NetBSD)

iD8DBQFAyY+g7YQCetAaG3MRAs3AAJ43fAyXrsRk9J3Qx+vntYxsVId5TQCfaDsx
x6k/M5kGfKJIpvuTTEiTgFE=
=94Cn
-----END PGP SIGNATURE-----

--Signature=_Fri__11_Jun_2004_12_55_28_+0200_zNksHzYzl8WVD=gz--