[GRASS-dev] Re: [GRASS-user] CVA installation
Benjamin Ducke
benjamin.ducke at ufg.uni-kiel.de
Tue Jun 27 02:50:16 EDT 2006
Gary,
GEM does not compile GRASS. It compiles the source code for
r.cva which is structured much like GRASS, so it looks very similar
on screen. It then installs the compiled r.cva into the same
directory where your GRASS was installed.
You should not have to pass any compile-time options, as your
GRASS capabilities will not be touched.
Does the configuration abort with an error if you don't have
postgresql installed?
Best,
Benjamin
gary wrote:
> I ran gem with a -v option. It looks like when I run gem, it trys to
> compile GRASS, which is fine with me. However, I need to pass some flags
> to GRASS such as -without-postgres. Is there some hook in GEM to send
> options to control GRASS compilation.
>
>
> Benjamin Ducke wrote:
>
>> Gary,
>>
>> several things:
>>
>> 1. The version of r.cva on my homepage was hopelessly outdated. You
>> would not get that to compile on a recent version of GRASS CVS.
>> Sorry about this. I just updated the file on my homepage. It will
>> from now on *only* work with GRASS 6.1 CVS. Please download that
>> version and try again.
>> I have tested it with my CVS install (ca. 4-5 days old) and it
>> works without problems.
>>
>> 2. See my comments below:
>>
>>> linux:/usr/localsrc/grass61cvs/extman/gem-1.0.rc5 # ./gem
>>> --install=/usr/localsrc/grass61cvs/cva/AdvancedViewshedAnalysis.tar.gz
>>> --grass=/usr/localsrc/grass61cvs/grass-6.1.cvs_src_snapshot_2006_06_18
>>> Uncompressing files...DONE.
>>> Checking extension...DONE.
>>>
>>> WARNING: GRASS version unknown. Extension might not work after
>>> installation.
>>
>>
>>
>> this looks bad. Are you 100% sure that the path you have specified
>> with --grass= points to the install dir not the GRASS sources?
>> If it is the right path, then there must be a file etc/VERSIONNUMBER
>> which contains a single line reading:
>>
>> 6.1.cvs
>>
>> this is the version information for your GRASS installation and GEM
>> needs to be able to read this file.
>>
>>> Configuring...DONE.
>>> Segmentation fault
>>> linux:/usr/localsrc/grass61cvs/extman/gem-1.0.rc5 # ./gem
>>> --install=/usr/localsrc/grass61cvs/cva/AdvancedViewshedAnalysis.tar.gz
>>> --grass=/usr/localsrc/grass61cvs/grass-6.1.cvs_src_snapshot_2006_06_18
>>> Uncompressing files...DONE.
>>> Checking extension...DONE.
>>>
>>> WARNING: GRASS version unknown. Extension might not work after
>>> installation.
>>> Configuring...DONE.
>>> Segmentation fault
>>
>>
>>
>> (same thing here, although I admit GEM crashes a bit ungracefully ...)
>>
>> Make sure you have the right path.
>>
>> Also, try to copy AdvancedViewshedAnalysis.tar.gz to the same
>> directory that GEM is installed in and install it from there.
>>
>> If problems persist, I need a more detailed error log in order to
>> be able to help you.
>>
>> Do:
>>
>> ./gem --grass=[path] -vi [extension] &> log.txt
>>
>> and email me 'log.txt'
>>
>> Good luck,
>>
>> Benjamin
>>
>>>
>>> _______________________________________________
>>> grassuser mailing list
>>> grassuser at grass.itc.it
>>> http://grass.itc.it/mailman/listinfo/grassuser
>>>
>>>
>>
>
>
--
Benjamin Ducke, M.A.
Archäoinformatik
(Archaeoinformation Science)
Institut für Ur- und Frühgeschichte
(Inst. of Prehistoric and Historic Archaeology)
Christian-Albrechts-Universität zu Kiel
Johanna-Mestorf-Straße 2-6
D 24098 Kiel
Germany
Tel.: ++49 (0)431 880-3378 / -3379
Fax : ++49 (0)431 880-7300
www.uni-kiel.de/ufg
More information about the grass-dev
mailing list