From owner-freebsd-ports@FreeBSD.ORG Mon Apr 27 15:03:30 2009 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5349210656C3 for ; Mon, 27 Apr 2009 15:03:30 +0000 (UTC) (envelope-from mikes@siralan.org) Received: from arvo.suso.org (arvo.suso.org [66.244.94.5]) by mx1.freebsd.org (Postfix) with ESMTP id 04C828FC2F for ; Mon, 27 Apr 2009 15:03:29 +0000 (UTC) (envelope-from mikes@siralan.org) Received: from c-98-220-3-224.hsd1.in.comcast.net (c-98-220-3-224.hsd1.in.comcast.net [98.220.3.224]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by arvo.suso.org (Postfix) with ESMTP id 96B178805E; Mon, 27 Apr 2009 15:03:01 +0000 (GMT) Date: Mon, 27 Apr 2009 11:02:52 -0400 (EDT) From: "Michael L. Squires" X-X-Sender: mikes@familysquires.net To: Wesley Shields In-Reply-To: <20090426020432.GC50348@atarininja.org> Message-ID: <20090427105153.A41244@familysquires.net> References: <20090318175949.GA56048@bewilderbeast.blackhelicopters.org> <20090424134928.K63938@familysquires.net> <20090424195309.GA50348@atarininja.org> <20090426020432.GC50348@atarininja.org> MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="-1160921188-1625050488-1240844572=:41244" Cc: ports@freebsd.org, sebastian.guarino@gmail.com, Jarrod Sayers , "Michael W. Lucas" Subject: Re: Nagios segfault on startup when embedded perl is enabled on 7.1-stable/i386 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Apr 2009 15:03:30 -0000 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. ---1160921188-1625050488-1240844572=:41244 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed The attached file is a hack of the unofficial natios 3.0.6 patch for nagios-devel (nagios 3.1.0). The patch allows nagios to start up with the embedded perl option in use. The perl version installed on this system (7.2-PRERELEASE; Supermicro P6DCE+ with two 2Ghz Xeon processors) is perl 5.10. My understanding is that only some instances of nagios run into problems with embedded perl; if you have that problem with nagios-devel then the attched patch file may allow you to continue. Thanks for all the help; I'd be happy to be of assistance if any testing is needed. I'm new to nagios, but have some familiarity with FreeBSD and the ports system. Mike Squires UN*X at home Since 1986 ---1160921188-1625050488-1240844572=:41244 Content-Type: TEXT/PLAIN; charset=US-ASCII; name=patch-base__utils.c.in Content-Transfer-Encoding: BASE64 Content-ID: <20090427110252.B41244@familysquires.net> Content-Description: unofficial nagios-devel patch Content-Disposition: attachment; filename=patch-base__utils.c.in LS0tIGJhc2UvdXRpbHMuYy5vcmlnCTIwMDktMDQtMjUgMTk6NDA6MTAuMDAw MDAwMDAwIC0wNDAwDQorKysgYmFzZS91dGlscy5jCTIwMDktMDQtMjUgMTk6 NDA6MTAuMDAwMDAwMDAwIC0wNDAwDQpAQCAtMzY2MCw3ICszNjYwLDcgQEAN CiAvKiBpbml0aWFsaXplcyBlbWJlZGRlZCBwZXJsIGludGVycHJldGVyICov DQogaW50IGluaXRfZW1iZWRkZWRfcGVybChjaGFyICoqZW52KXsNCiAjaWZk ZWYgRU1CRURERURQRVJMDQotCWNoYXIgKmVtYmVkZGluZ1tdPXsgIiIsICIi IH07DQorCXZvaWQgKiplbWJlZGRpbmc7DQogCWludCBleGl0c3RhdHVzPTA7 DQogCWNoYXIgKnRlbXBfYnVmZmVyPU5VTEw7DQogCWludCBhcmdjPTI7DQpA QCAtMzY3NSw4ICszNjc1LDExIEBADQogCQl9DQogDQogCWVsc2V7DQotDQot CQllbWJlZGRpbmdbMV09cDFfZmlsZTsNCisJCWVtYmVkZGluZyA9ICh2b2lk ICoqKW1hbGxvYygyKnNpemVvZihjaGFyICopKTsNCisJCWlmKGVtYmVkZGlu Zz09TlVMTCkNCisJCQlyZXR1cm4gRVJST1I7DQorCQkqZW1iZWRkaW5nPXN0 cmR1cCgiIik7DQorCQkqKGVtYmVkZGluZysxKT1zdHJkdXAocDFfZmlsZSk7 DQogDQogCQl1c2VfZW1iZWRkZWRfcGVybD1UUlVFOw0KIA0K ---1160921188-1625050488-1240844572=:41244--