Subject: Re: viewCVS and Subversion.... and mod_python and Apache2 and libtool !
To: Eric Gillespie <tech-pkg@netbsd.org>
From: Jean-Luc Wasmer <jl.netbsd@wasmer.ca>
List: tech-pkg
Date: 06/16/2003 19:25:28
> > To run viewCVS on Apache2 (SVN needs Apache2), I need to install
> > mod_python 3 or higher. The only mod_python package available is
> > mod_python 2.7.6 for Apache 1.x).
>
> Whoa there, not true by any stretch of the imagination.  I didn't
> even know it worked with mod_python.  Standard viewcvs
> installations use CGI.

I know... like there's no mod_sh for shell script CGIs.
Let me rephrase:
"To have the maximum performance with viewCVS on Apache2 (SVN needs
Apache2), I need to install mod_python 3 or higher."


> > I tried to install mod_python 3.0.3 but I get these errors:
>
> Hmm, sucks that it's not in pkgsrc.  Want to provide a package?

OK. But first I need to have a successful install.

> This appears to be the problem:
>
> 0 ap2-python% pkg_info -L python22-2.2.2 | grep libpython
> /usr/pkg/lib/python2.2/config/libpython2.2.a
>
> Why don't we have a shared libpython?  What do other systems
> have?  libtool is right to refuse to link this static archive
> into the shared object it is building.  You cannot portably put
> non-PIC code into a shared object.  Or does libpython2.2.a
> contain PIC code?

Well it's not a libtool archive.

JL