[GRASS-user] Re: Problem cannot find grass-6.4.0 plug in in the qgis-0.11.0 plugin settings

Elvis Dowson elvis.dowson at mac.com
Mon Sep 22 06:14:34 EDT 2008


Ok found out the reason why. You need to explicitly specify the full  
base path, within the application package as follows for GRASS_PREFIX

GRASS_PREFIX=/Applications/GRASS/GRASS-6.4.app/Contents/MacOS
GRASS_INCLUDE_DIR=/Applications/GRASS/GRASS-6.4.app/Contents/MacOS/ 
include

This builds the grass plugin just fine!! :-) Whew!!

On Sep 22, 2008, at 1:47 PM, Elvis Dowson wrote:

> Hi,
>          I tried to rebuild qgis-0.11.0 with the following commands
>
> ccmake CMakeLists.txt
>
> and set the following options
>
> GRASS_PREFIX=/Applications/GRASS/GRASS-6.4.app
> GRASS_INCLUDE_DIR=/Applications/GRASS/GRASS-6.4.app/Contents/MacOS/ 
> include
> WITH_GRASS=ON
>
> But still qgis doesnt detect the gdal-grass plugin. What should I do?
>
> Best regards,
>
> Elvis
>
> On Sep 22, 2008, at 1:28 PM, Elvis Dowson wrote:
>
>> Hi,
>>       I found out that you have to first build gdal without grass  
>> support, then build grass, and then download the gdal-grass plugin  
>> and try to build it with grass.
>>
>> This is outlined here: http://trac.osgeo.org/gdal/wiki/GRASS
>>
>> I then type the following configure command
>>
>> ./configure --with-gdal=/usr/local/bin/gdal-config --with-grass=/ 
>> Applications/GRASS/GRASS-6.4.app/Contents/MacOS
>>
>> And then it configures correctly!! :-)
>>
>> Note that the libraries are located in /Applications/GRASS/ 
>> GRASS-6.4.app/Contents/MacOS/lib but you should just specify  
>> Applications/GRASS/GRASS-6.4.app/Contents/MacOS  (i.e. do not  
>> explicitly specify the lib directory).
>>
>>
>> Best regards,
>>
>> Elvis Dowson
>>
>> On Sep 22, 2008, at 12:16 PM, Elvis Dowson wrote:
>>
>>> Hi,
>>>       I cannot seem to find the grass-6.4.0 plugin in qgis-0.11.0  
>>> plugin preferences.
>>>
>>> Could you tell me where it is normally built and if I have to copy  
>>> the grass-6.4.0 plugin into the qgis-0.11.0 plugin directory?
>>>
>>> Also, which compilation step builds the plugin? The grass-6.4.0 or  
>>> the qgis-0.11.0 one?
>>>
>>> Best regards,
>>>
>>> Elvis Dowson
>>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-user/attachments/20080922/12fb45c7/attachment.html


More information about the grass-user mailing list