[mapserver-users] MapServer 6.4 Released

Alan Boudreault aboudreault at mapgears.com
Tue Sep 24 08:14:29 PDT 2013


Andy,

Effectively, debian maintainers have made a patch for the install 
directory (perl and ruby). Here's the perl patch:

http://anonscm.debian.org/gitweb/?p=pkg-grass/mapserver.git;a=blob;f=debian/patches/perl-mapscript-install.patch;h=2a639cf50f09541d5d9db7c3bfa918261174f0c9;hb=HEAD

Is is related to your issue?

Alan

On 13-09-17 04:55 PM, andy wrote:
> On 9/17/2013 3:15 PM, andy wrote:
>> On 9/17/2013 9:09 AM, thomas bonfort wrote:
>>> The MapServer team is pleased to announce the release of MapServer
>>> 6.4, along with the joint release of MapCache 1.2.
>>>
>>> Details of the new features, migration instructions, and download
>>> links can be found on the dedicated announcement page at
>>> http://www.mapserver.org/development/announce/6-4.html .
>>>
>>> cheers,
>>> The MapServer PSC
>>
>> I start with:
>>
>> cmake -DCMAKE_INSTALL_PREFIX=/tmp/map  -DWITH_PERL=1  ..
>>
>> it runs ok, and displays:
>>
>> -- Will install files to /tmp/map
>> -- Configuring done
>> -- Generating done
>>
>> then I run make, which compiles fine.  But "make install" has a problem
>> with mapscript and tries to copy it to /usr/local/lib64, not /tmp/map.
>>
>> [ 90%] Built target mapserver
>> [ 90%] Built target legend
>> [ 91%] Built target mapserv
>> [ 92%] Built target msencrypt
>> [ 92%] Built target scalebar
>> [ 93%] Built target shp2img
>> [ 94%] Built target shptree
>> [ 95%] Built target shptreetst
>> [ 96%] Built target shptreevis
>> [ 97%] Built target sortshp
>> [ 98%] Built target tile4ms
>> [100%] Built target perlmapscript
>> Install the project...
>> -- Install configuration: ""
>> -- Installing: /tmp/map/bin/sortshp
>> -- Set runtime path of "/tmp/map/bin/sortshp" to
>> "/tmp/map/lib:/usr/local/pg93/lib:/usr/local/lib"
>> -- Installing: /tmp/map/bin/shptree
>> -- Set runtime path of "/tmp/map/bin/shptree" to
>> "/tmp/map/lib:/usr/local/pg93/lib:/usr/local/lib"
>> -- Installing: /tmp/map/bin/shptreevis
>> -- Set runtime path of "/tmp/map/bin/shptreevis" to
>> "/tmp/map/lib:/usr/local/pg93/lib:/usr/local/lib"
>> -- Installing: /tmp/map/bin/msencrypt
>> -- Set runtime path of "/tmp/map/bin/msencrypt" to
>> "/tmp/map/lib:/usr/local/pg93/lib:/usr/local/lib"
>> -- Installing: /tmp/map/bin/legend
>> -- Set runtime path of "/tmp/map/bin/legend" to
>> "/tmp/map/lib:/usr/local/pg93/lib:/usr/local/lib"
>> -- Installing: /tmp/map/bin/scalebar
>> -- Set runtime path of "/tmp/map/bin/scalebar" to
>> "/tmp/map/lib:/usr/local/pg93/lib:/usr/local/lib"
>> -- Installing: /tmp/map/bin/tile4ms
>> -- Set runtime path of "/tmp/map/bin/tile4ms" to
>> "/tmp/map/lib:/usr/local/pg93/lib:/usr/local/lib"
>> -- Installing: /tmp/map/bin/shptreetst
>> -- Set runtime path of "/tmp/map/bin/shptreetst" to
>> "/tmp/map/lib:/usr/local/pg93/lib:/usr/local/lib"
>> -- Installing: /tmp/map/bin/shp2img
>> -- Set runtime path of "/tmp/map/bin/shp2img" to
>> "/tmp/map/lib:/usr/local/pg93/lib:/usr/local/lib"
>> -- Installing: /tmp/map/bin/mapserv
>> -- Set runtime path of "/tmp/map/bin/mapserv" to
>> "/tmp/map/lib:/usr/local/pg93/lib:/usr/local/lib"
>> -- Installing: /tmp/map/lib/libmapserver.so.6.4.0
>> -- Installing: /tmp/map/lib/libmapserver.so.1
>> -- Installing: /tmp/map/lib/libmapserver.so
>> -- Set runtime path of "/tmp/map/lib/libmapserver.so.6.4.0" to
>> "/tmp/map/lib:/usr/local/pg93/lib:/usr/local/lib"
>> -- Installing: /usr/local/lib64/perl5/auto/mapscript/mapscript.so
>> CMake Error at mapscript/perl/cmake_install.cmake:38 (FILE):
>>    file INSTALL cannot copy file
>>
>> "/home/andy/gis/mapserver/mapserver-6.4.0/buid/mapscript/perl/mapscript.so"
>>
>>    to "/usr/local/lib64/perl5/auto/mapscript/mapscript.so".
>> Call Stack (most recent call first):
>>    cmake_install.cmake:273 (INCLUDE)
>>
>> make: *** [install] Error 1
>>
>> Any hints how I might fix this?
>>
>> -Andy
>>
>>
>
> In mapscript/perl/CMakeLists.txt, how about stripping the leading '/' so
> that INSTALL() has a relative path instead of absolute:
>
> set(CUSTOM_PERL_SITE_ARCH_DIR ${PERL_SITEARCH} CACHE DIR "Custom
> installation directory for perl binary extension
> # strip leading slash so INSTALL() uses CMAKE_INSTALL_PREFIX
> string(SUBSTRING ${CUSTOM_PERL_SITE_ARCH_DIR} 1 -1
> CUSTOM_PERL_SITE_ARCH_DIR)
>
>
> Maybe?
>
> -Andy
>
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users


-- 
Alan Boudreault
http://www.mapgears.com/


More information about the mapserver-users mailing list