[Live-demo] Rasdaman build error?

Johan Van de Wauw johan.vandewauw at gmail.com
Sat Feb 19 07:10:27 PST 2011


On Sat, Feb 19, 2011 at 2:28 PM, Hamish <hamish_b at yahoo.com> wrote:
> Hi, I've now had a change to review the script and see why the
> icons didn't make it into the menu.
>
>
> the following changes are needed in the rasdaman installer:
>
> -space on the disc is extraordinarily tight. please remove -dev packages
>  when you are done with them.
Instead of compiling it on the disc, you could consider trying
creating a package and installing that instead. That way build time is
seriously reduced, and its easier to test new versions.

Since you have a configure script this should be straightforward: run
dh_make in a fresh checkout. Choose a single program.
Edit the generated debian/rules file to look like
#!/usr/bin/make -f
%:
        dh $@

override_dh_auto_configure:
        dh_auto_configure -- --prefix=/usr/local --with-logdir=/var/log/rasdaman
And add the packages that are needed for building to debian/control
'Build-depends'

Try building a package: run debian/rules binary in your source directory.

more info:
https://wiki.ubuntu.com/PackagingGuide
www.debian.org/doc/maint-guide (or apt-get install maint-guide)

Anyway, I haven't tried whether it works, but this is the normal procedure.
> -please use /tmp/build_rasdaman/ for your git downloads and build, not the
>  base build dir [./bin/]. Grep many/most other install scripts for examples.
> -to keep the noise down in the live disc's build log, for large files please
>  use wget's --progress=dot:mega option. (-c is not appropriate for unversioned
>  filenames, but -N can help there (n.b. -N doesn't work in combo with -O))
> -do not use "chmod 777 -R". set group ownership to the "users" or "www-data"
>  group and change to g+w. Grep other scripts for examples.
> -use the --quiet flag when you run psql to avoid cluttering the build log.
> -icon files currently double-set the Categories= setting.
> -for the GIS menu to include your app you must copy the .desktop files
>  from /usr/share/applications/ into $USER/Desktop/.
> -for consistency all *.desktop icon files should probably be lowercased,
>  although I've just modified the menu-building script to work with all your
>  icon files in the state they are in now. (but they still need to be copied
>  over to the user's Desktop/ to be included in the menus; see packaging
>  instructions on the wiki*)
>
>
> [*] http://wiki.osgeo.org/wiki/Live_GIS_Add_Project#Packaging_conventions
>
>
>
> thanks,
> Hamish
>
>
>
>
> _______________________________________________
> Live-demo mailing list
> Live-demo at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/live-demo
> http://wiki.osgeo.org/wiki/Live_GIS_Disc
>



More information about the Osgeolive mailing list