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
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
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
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
On Sep 22, 2008, at 4:28 AM, 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!! 
Have you considered using my frameworks? I make them so you don't have to mess around with this (and it doesn't matter that I use the stable GRASS 6.3 for GDAL - GRASS 6.4 doesn't care, and 6.3 has everything GDAL needs).
-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/
The equator is so long, it could encircle the earth completely once.
It looks like you figured it out, but any further questions about building Qgis should go to the Qgis list.
There is a wiki page at the Qgis site (duplicated in text form in the Qgis source) with everything you need to know for building Qgis.
On Sep 22, 2008, at 5:14 AM, Elvis Dowson wrote:
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
-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/
The equator is so long, it could encircle the earth completely once.
On Sep 22, 2008, at 6:46 AM, William Kyngesburye wrote:
On Sep 22, 2008, at 4:28 AM, 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!! 
Have you considered using my frameworks? I make them so you don't have to mess around with this (and it doesn't matter that I use the stable GRASS 6.3 for GDAL - GRASS 6.4 doesn't care, and 6.3 has everything GDAL needs).
+1