Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Jul 2006 12:07:54 GMT
From:      Mark Evenson <mark.evenson@gmx.at>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/100208: mod_python3 with apache22 fails to run: Undefined symbol "apr_sockaddr_port_get"
Message-ID:  <200607131207.k6DC7sPI003932@www.freebsd.org>
Resent-Message-ID: <200607131210.k6DCAMKl071133@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         100208
>Category:       ports
>Synopsis:       mod_python3 with apache22 fails to run: Undefined symbol "apr_sockaddr_port_get"
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jul 13 12:10:21 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Mark Evenson
>Release:        RELENG_6_1
>Organization:
eTel Austria AG
>Environment:
FreeBSD elvis.intern.etel.at 6.1-RELEASE-p2 FreeBSD 6.1-RELEASE-p2 #0: Thu Jun 22 08:22:40 CEST 2006     evenson@elvis.intern.etel.at:/usr/obj/usr/src/sys/ELVIS  i386

>Description:
mod_python3 (3.2.8) builds but fails to run with apache22.

One gets the following error trying to start apache:

  Undefined symbol "apr_sockaddr_port_get"

--


>From the modpython mailing list message 

  http://www.modpython.org/pipermail/mod_python/2006-April/020806.html

it is a known problem that mod_python 3.2.8 will not work, and suggests using the
branch accessed with 

  svn co http://svn.apache.org/repos/asf/httpd/mod_python/branches/3.2.x

I had tried to use this code last month without success.  I retried it today, and
it seems to work, so something "upstream" has changed.  Get it while its hot...
>How-To-Repeat:

>Fix:
Build the mod_python3 port from the port directory

rm work/.build*
rm work/.config*
rm work/.patch_done* 

svn co http://svn.apache.org/repos/asf/httpd/mod_python/branches/3.2.x

rm work/mod_python-3.2.8
mv 3.2.x work/mod_python-3.2.8

make install

--

FreeBSD ports doesn't have a way to use svn repositories as source locations (we rely on tarballs with single checksums), so in order to make this fix more permanent someone should roll a tarball.  Or wait for mod_python-3.2.9 to get released.  


>Release-Note:
>Audit-Trail:
>Unformatted:



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