[mapserver-dev] Problem when compiling 6.2.0 beta 2 for RPM
Stephan Meißl
stephan at meissl.name
Wed Sep 5 08:38:38 PDT 2012
On Wed, 2012-09-05 at 17:14 +0200, Peter Hopfgartner wrote:
> When building an RPM package, the files get typically installed into a
> build directory, which can be placed anywhere in the file system.
> In the "make install" phase of the RPM build process, a get to the
> point where:
>
> /bin/sh ../../libtool --mode=install /usr/bin/install -c _mapscript.la
> /builddir/build/BUILDROOT/mapserver-6.2.0-0.beta2.el6.x86_64`/usr/bin/python
> -c "from distutils.sysconfig import get_python_lib; print
> get_python_lib(1)"`
> libtool: install: error: cannot install `_mapscript.la' to a directory
> not ending in /usr/lib64/python2.6/site-packages
> make[1]: Leaving directory
> `/builddir/build/BUILD/mapserver-6.2.0-beta2/mapscript/python'
>
> where it complains that the target dir is not a subdir of
> /usr/lib64/python2.6/site-packages.
>
> How did other packagers handle this?
>
> Regards,
>
> Peter
>
Hi Peter,
that's odd, I thought this has been resolved (see [1]), at least I had a
somehow working spec file then (see [2]).
What does your spec file look like?
cu
Stephan
[1] https://github.com/Schpidi/mapserver/commit/6e60a7e85bbdebc9c375fd18feb3ed72be19616b
[2] http://osgeo-org.1560.n6.nabble.com/RPMs-from-trunk-td4902205.html
More information about the mapserver-dev
mailing list