[ELGIS] Problem when compiling 6.2.0 beta 2 for RPM

Peter Hopfgartner peter.hopfgartner at r3-gis.com
Wed Sep 5 06:41:38 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.

I've attached the results file from mock.

How did other packagers handle this?

Regards,

Peter

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: mapserver-6.2.0-beta2-build.log
Type: text/x-log
Size: 365921 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/el/attachments/20120905/e3b03473/attachment-0001.bin>


More information about the el mailing list