From owner-freebsd-ports@FreeBSD.ORG Thu Dec 15 15:02:08 2005 Return-Path: X-Original-To: ports@freebsd.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4761A16A41F; Thu, 15 Dec 2005 15:02:08 +0000 (GMT) (envelope-from jfb@minet.net) Received: from coliposte.enst-bretagne.fr (coliposte.enst-bretagne.fr [192.108.115.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2F93043D5A; Thu, 15 Dec 2005 15:02:06 +0000 (GMT) (envelope-from jfb@minet.net) Received: from localhost (localhost.localdomain [127.0.0.1]) by coliposte.enst-bretagne.fr (8.12.10/8.12.10/2004.10.03) with ESMTP id jBFF22hR017361; Thu, 15 Dec 2005 16:02:02 +0100 Received: from courrier.rennes.enst-bretagne.fr (f1-clust.rennes.enst-bretagne.fr [193.52.74.16]) by coliposte.enst-bretagne.fr (8.12.10/8.12.10/2004.09.01) with ESMTP id jBFF20SZ017351; Thu, 15 Dec 2005 16:02:00 +0100 Received: from [10.0.0.2] (euphory.maisel.rennes.enst-bretagne.fr [192.168.0.69]) by courrier.rennes.enst-bretagne.fr (8.12.11/8.12.11/2004.01.01) with ESMTP id jBFF1xlS020830; Thu, 15 Dec 2005 16:02:01 +0100 (MET) From: j_f_b To: perky@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Organization: MiNET Date: Thu, 15 Dec 2005 16:01:55 +0100 Message-Id: <1134658915.55827.30.camel@r2d2> Mime-Version: 1.0 X-Mailer: Evolution 2.4.2.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 8bit X-Virus-Scanned: amavisd-new at enst-bretagne.fr Cc: ports@freebsd.org Subject: [FreeBSD Port: mod_python-3.1.4_1] "Undefined symbol" with apache22 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: Thu, 15 Dec 2005 15:02:08 -0000 I updated my apache to the lastest release (2.2.0) but I found a problem with mod python. When apache loads mod_python, I got this error. ## # httpd: Syntax error on line 90 of /usr/local/etc/apache22/httpd.conf: # Cannot load /usr/local/libexec/apache22/mod_python.so into # server: /usr/local/libexec/apache22/mod_python.so: Undefined symbol # "APR_STATUS_IS_SUCCESS" ## looking for a solution to this problem, I found this in apache changelog : ## # Changes with Apache 2.1.1 # *) Remove deprecated/removed APR_STATUS_IS_SUCCESS(). [Justin # Erenkrantz] ## So I removed references to this variable in mod_python code (files : src/filterobject.c and src/connobject.c), I made another tarball of the sources, I changed tarball's size and checksum in the distinfo file. I was ablle to compile the mod_python with those changes and its works fine whereas there were some warnings while compiling. Could those changes be done directly in the ports (with an environnement variable WITH_APACHE22 ?) in order to avoid anyone doing it by himself ? Thanks for your attention Jean-François PS: I am sorry for my poor level in English. I hope you'll be able to understand me ;) !