[Qgis-developer] [Mac OSX] Build error with CMake 2.6

Tim Sutton tim at linfiniti.com
Fri Jun 6 09:49:29 EDT 2008


Hi Tom

Thanks for this! Testing now...

Regards

Tim

2008/6/6 Tom Elwertowski <telwertowski at comcast.net>:
> Tom Elwertowski wrote:
>>
>> CMake 2.4 and 2.6 appear somewhat incompatible, at least for Macs.
>>
>> Regarding Contents/CMakeLists.txt, I am baffled by the quote processing.
>
> I upgraded the Mac Info.plist generation process to use a cmake script
> containing CONFIGURE_FILE rather running grep/sed. Magnus Homann improved
> the generation of qgssvnversion.h by doing this awhile ago. Using the same
> technique for inserting the svn revision number here avoids solving the
> CMake 2.6 quoting mystery.
>
> Tom
>
>
>> Tim Sutton wrote:
>>>
>>> Hi Folks
>>>
>>> I've been testing out CMake 2.6.0 which recently came out. On mac I  get
>>> everything to build except it croaks at the end with this:
>>>
>>> Linking CXX shared module libquickprintplugin.so
>>> [100%] Built target quickprintplugin
>>> /bin/sh: -c: line 1: unexpected EOF while looking for matching ``'
>>> /bin/sh: -c: line 2: syntax error: unexpected end of file
>>> make[2]: *** [src/mac/Contents/CMakeFiles/Info.plist] Error 2
>>> make[1]: *** [src/mac/Contents/CMakeFiles/Info.plist.dir/all] Error 2
>>> make: *** [all] Error 2
>>>
>>> It seems it has  problem parsing the bash commands in the src/mac/
>>> Contents/CMakeLists.txt. Is this something you are easily able to fix  Tom?
>>> I had a poke at it but all I can figure out is that cmake seems  to be
>>> wrapping the expression in "" or something, but I couldnt  figure out how to
>>> resolve the issue.
>>>
>>> Regards
>>
>> _______________________________________________
>> Qgis-developer mailing list
>> Qgis-developer at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/qgis-developer
>>
>
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer
>



-- 
Tim Sutton
QGIS Project Steering Committee Member - Release Manager
Visit http://qgis.org for a great open source GIS
openModeller Desktop Developer
Visit http://openModeller.sf.net for a great open source ecological
niche modelling tool
Home Page: http://tim.linfiniti.com
Skype: timlinux
Irc: timlinux on #qgis at freenode.net


More information about the Qgis-developer mailing list