[Live-demo] 3.0 rc3 update

Alex Mandel tech_dev at wildintellect.com
Mon Mar 8 01:05:43 PST 2010


Hamish wrote:
> re. 3.0rc3 build log errors
> -
> 
> install_R: needed standard LAPACK lib installed for compiles  (fixed in svn)
> install_udig: broken URLs, mixed versions  (fixed in svn)
> gvSIG: typo in enviro variable; echo -e  (fixed in svn)
> 
> (and a couple more that were my fault that I won't bore you with :)
> 
> 
> I'm still working on making the icons->menus more robust, including this
> error:
>   ls: cannot access *geonetwork.desktop: No such file or directory
> 
> 
> 
> 
> still needed:
> 
> openjump
> =========
> 31809:ERROR: install_main_docs.sh: missing doc/descriptions/openjump_description.html
> 
> maptiler
> =========
> 31822:ERROR: install_main_docs.sh: missing doc/descriptions/maptiler_description.html
> 
> 
> 
> install_main_docs.sh
> =======================
> moved before install_desktop.sh so wombat sign help icon exists and thus
> can be added to the panel menu
> 
> this error for every $APP:
> sed: -e expression #1, char 72: unknown option to `s'
> 
> I think it is on this line, but I'm not sure what it is exactly:
>   sed -i -e 's/<body>/<body> <div class="header"><div class="banner"><a ...
> 
I already fixed that one, and reran the docs script, hence the separate
docs install log.

> 
> 
> shell scripting tips o' the day:
> 
> ${VARIABLE} does not protect against special chars (spaces) in path & file names.
> e.g.:
> $ DIRNAME="a b"
> $ mkdir ${DIRNAME}
> $ ls
> a/  b/
> 
> (not "a b/")
> 
> ${} is mostly useful for separating from legal variable-name chars which
> aren't a part of it, e.g. underscores:
>    ${VARIABLE}_description.txt
> 
> 
> sed will take any char as the field sep, if "/" is not convinient due
> to excessive \quoting. for example:
>   `sed -e 's+before+after+'`  or  `sed -e 's|before|after|'`
> 
> 
> feel free to add \n and \t to the /after/ side of the sed search & replace
> to make the output formatting nicer.
> 
> 
> 
> Hamish

We actually can get rid of those sed statements if we put togther a bash
section that gets the list of *description.html and the loops over that
list adding pre.html before and post.html after.

I think Cameron was short on time to figure out how to do it.

Thanks,
Alex




More information about the Osgeolive mailing list