[GRASS-user] wiki page for compiling on Ubuntu

Dear all,
I started a wiki page on compiling on Ubuntu including the changes I needed on recent versions:
http://grass.osgeo.org/wiki/Compile_and_Install_Ubuntu

Please feel free to add your observations.

Kind regards,
Timmie

On 13/06/09 14:17, Tim Michelsen wrote:

Dear all,
I started a wiki page on compiling on Ubuntu including the changes I needed on recent versions:
http://grass.osgeo.org/wiki/Compile_and_Install_Ubuntu

Please feel free to add your observations.

I think it would be better to work here:

http://grass.osgeo.org/wiki/Compile_and_Install#Ubuntu

Moritz

I think it would be better to work here:

http://grass.osgeo.org/wiki/Compile_and_Install#Ubuntu

Yes.

But as my instructions differ from what people used on the LTS version, I though
to start a new page.

I have nothing against combining things.
Let's use the new page to develop a guide for
* current LTS
* current release

and then merge it back to the main page.

any suggestions & edits welcome.

BTW, where do I report errors with the UbuntuGIS PPA packages?

Best regards,
Timmie

BTW, where do I report errors with the UbuntuGIS PPA packages?

I guess here

http://lists.osgeo.org/mailman/listinfo/ubuntu

-- Giovanni --

I guess here

http://lists.osgeo.org/mailman/listinfo/ubuntu

I put it here:
https://bugs.launchpad.net/ubuntu/+source/geos/+bug/387299

What to do under the current situation if libgeos does not work:

1) open synaptic
2) search for geos
3) select the package libgeos-c1
4) menu package -> force version -> select the "jaunty" version (not PPA)
5) apply changes
6) select the package libgeos-c1
7) secure version

BTW, where do I report errors with the UbuntuGIS PPA packages?

Here are more infos:
http://lists.osgeo.org/pipermail/ubuntu/2009-May/000016.html

On 15/06/09 12:58, Timmie wrote:

I think it would be better to work here:

http://grass.osgeo.org/wiki/Compile_and_Install#Ubuntu

Yes.

But as my instructions differ from what people used on the LTS version, I though
to start a new page.

I have nothing against combining things.
Let's use the new page to develop a guide for
* current LTS
* current release

and then merge it back to the main page.

I don't really see the need for that. A Wiki is a live document, no need to work on a draft somewhere else, but oh well...

any suggestions & edits welcome.

Generally, on any Debian-derived distro I would always recommend using the 'fakeroot dpkg-buildpackage' route, instead of e.g. checkinstall. The Debian-GIS project provides debian/ folders for most GRASS versions. Using those ensures that you packages fits better into the normal Debian(/Ubuntu) structure and also why not use these great tools when they are available.

Here's the general procedure I generally recommend:

- apt-get install fakeroot
- apt-get build-dep grass #to install all necessary dependencies
- mkdir grass_builddir #create the build directory
- cd grass_builddir
- download and unpack desired GRASS source code
- follow instructions in debian/README, using either svn://svn.debian.org/pkg-grass/packages/grass/trunk/debian or a relevant tag, such as svn://svn.debian.org/pkg-grass/packages/grass/tags/6.4.0~rc5-1/debian
- in the GRASS source directory: 'fakeroot dpkg-buildpackage'
- if the compilation works well: move up one directory (cd ..)
- sudo dpkg -i *.deb #to install all deb packages just created

Feel free to add this to the wiki, if you think this relevant.

Moritz