[Ubuntu] Re: problem building GRASS add-ons

Taylor Hermes trhermes at gmail.com
Thu Sep 30 18:33:07 EDT 2010


Looks like I made it as far as the manual building, when it failed:

make htmlcmd
make[1]: Entering directory
`/home/trhermes/GRASS/grass-addons/raster/r.stream.order'
make /usr/lib/grass64/docs/html/r.stream.order.html
HTMLSRC=/usr/lib/grass64/bin/r.stream.order
make[2]: Entering directory
`/home/trhermes/GRASS/grass-addons/raster/r.stream.order'
make[2]: `/usr/lib/grass64/docs/html/r.stream.order.html' is up to date.
make[2]: Leaving directory
`/home/trhermes/GRASS/grass-addons/raster/r.stream.order'
make[1]: Leaving directory
`/home/trhermes/GRASS/grass-addons/raster/r.stream.order'
make mancmd
make[1]: Entering directory
`/home/trhermes/GRASS/grass-addons/raster/r.stream.order'
make /usr/lib/grass64/man/man1/r.stream.order.1
MANSRC=/usr/lib/grass64/docs/html/r.stream.order.html
make[2]: Entering directory
`/home/trhermes/GRASS/grass-addons/raster/r.stream.order'
mkdir -p /usr/lib/grass64/man/man1
GRASS_PERL=/usr/bin/perl VERSION_NUMBER=6.4.0RC6 sh
/build/buildd/grass-6.4.0~rc6/tools/g.html2man/g.html2man
/usr/lib/grass64/docs/html/r.stream.order.html
/usr/lib/grass64/man/man1/r.stream.order.1 1
sh: Can't open /build/buildd/grass-6.4.0~rc6/tools/g.html2man/g.html2man
make[2]: *** [/usr/lib/grass64/man/man1/r.stream.order.1] Error 2
make[2]: Leaving directory
`/home/trhermes/GRASS/grass-addons/raster/r.stream.order'
make[1]: *** [mancmd] Error 2
make[1]: Leaving directory
`/home/trhermes/GRASS/grass-addons/raster/r.stream.order'
make: *** [cmd] Error 2

How do I confirm that the module compiled?



2010/9/30 Hamish <hamish_b at yahoo.com>:
> Taylor wrote:
>> I tried make
>> MODULE_TOPDIR=/usr/lib/grass64
>> ARCH_DISTDIR=/usr/lib/grass64, and this is what I got...
>>
>> gcc -I/usr/lib/grass64/include  -Wall -g -O
> ...
>> ogr_api.h: No such file or directory
>
> you need the libgdal1-dev package installed.
> ( see `apt-file search ogr_api.h` )
>
> the grass-dev package should be depending on that I guess.
> right now it only depends on libproj-dev:
>  http://packages.debian.org/sid/grass-dev
>
>
> Hamish
>
> ps- I've made some experimental improvements to g.extension in
> grass 6.5svn yesterday, and altered the 'make install' target
> to try and set the install dir automatically so you can avoid
> the MODULE_TOPDIR=/usr/lib/grass64 stuff in future. we'll get
> there..
>
>
>
>
>


More information about the Ubuntu mailing list