I have been able to compile all the i.landsat.toar C code so far in
v7, but it does something strange with the html (old description.html
renamed i.landsat.toar.html in v7).
-----------
access: No such file or directory
ERROR: LOCATION <<
/home/icwater/grass_trunk/dist.x86_64-unknown-linux-gnu/demolocation
>> not available
make: *** [i.landsat.toar.tmp.html] Error 1
rm i.landsat.toar.tmp.html
-----------
What is the reason?
Thank you,
Yann
--
Yann Chemin
Senior Spatial Hydrologist
www.csu.edu.au/research/icwater
M +61-4-3740 7019
I should have a look at the html file again, maybe some formating has
changed from v6 to v7.
On 14 October 2010 14:46, Yann Chemin <yann.chemin@gmail.com> wrote:
Hello,
I have been able to compile all the i.landsat.toar C code so far in
v7, but it does something strange with the html (old description.html
renamed i.landsat.toar.html in v7).
-----------
access: No such file or directory
ERROR: LOCATION <<
/home/icwater/grass_trunk/dist.x86_64-unknown-linux-gnu/demolocation
>> not available
make: *** [i.landsat.toar.tmp.html] Error 1
rm i.landsat.toar.tmp.html
-----------
What is the reason?
Thank you,
Yann
--
Yann Chemin
Senior Spatial Hydrologist
www.csu.edu.au/research/icwater
M +61-4-3740 7019
--
Yann Chemin
Senior Spatial Hydrologist
www.csu.edu.au/research/icwater
M +61-4-3740 7019
Similar to what is already done for etc/fontcap. We should probably be
doing something similar for Platform.make, although that can be
overridden on the command line when running make.
Similar to what is already done for etc/fontcap. We should probably be
doing something similar for Platform.make, although that can be
overridden on the command line when running make.
FWIW, this should be fixed in r43905. The only remaining references to
the source directory should be GRASS_HOME, config.status, comments in
the ctypes wrappers and debug info in binaries.
Actually, you also need r43906, otherwise the g.mapset documentation
uses <srcdir>/dist.<arch>/demolocation as the default database and
location.
Note to developers: *don't* use context-sensitive values for option
defaults unless you have some plan to ensure that the documentation
generated by --html-description isn't bogus.
Similar to what is already done for etc/fontcap. We should probably be
doing something similar for Platform.make, although that can be
overridden on the command line when running make.
FWIW, this should be fixed in r43905. The only remaining references to
the source directory should be GRASS_HOME, config.status, comments in
the ctypes wrappers and debug info in binaries.
Actually, you also need r43906, otherwise the g.mapset documentation
uses <srcdir>/dist.<arch>/demolocation as the default database and
location.
Note to developers: *don't* use context-sensitive values for option
defaults unless you have some plan to ensure that the documentation
generated by --html-description isn't bogus.
--
Glynn Clements <glynn@gclements.plus.com>
--
Yann Chemin
Senior Spatial Hydrologist
www.csu.edu.au/research/icwater
M +61-4-3740 7019
Thank you Glynn that seems to be resolved,
A last error comes up now:
------------------------
root@SeeePC:/home/yann/grass_yann/imagery/i.landsat.toar# make
VERSION_NUMBER=7.0.svn
/home/yann/grass_yann/dist.i686-pc-linux-gnu/tools/g.html2man.py
/home/yann/grass_yann/dist.i686-pc-linux-gnu/docs/html/i.landsat.toar.html
/home/yann/grass_yann/dist.i686-pc-linux-gnu/man/man1/i.landsat.toar.1
/home/yann/grass_yann/dist.i686-pc-linux-gnu/docs/html/i.landsat.toar.html:133:0:
Error (IndexError('pop from empty list',)): </p>
g.html2man.py requires that the HTML file is structurally valid.
The i.landsat.toar.html file isn't valid; it contains bogus </p> tags.
This appears to arise from the use of <ul>, which is a block element
and thus cannot occur within <p>. The effecti is as if a </p> tag was
inserted immediately before the <ul> tag. The subsequent explicit </p>
tag doesn't match any open <p> tag, resulting in the error.
You can fix the error by adding a <p> tag immediately after the </ul>.