[mapserver-dev] Problem when compiling 6.2.0 beta 2 for RPM

Peter Hopfgartner peter.hopfgartner at r3-gis.com
Wed Sep 5 08:14:47 PDT 2012


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

-- 
Peter Hopfgartner
web  : http://www.r3-gis.com




More information about the mapserver-dev mailing list