------------------------------
Message: 8
Date: Fri, 30 May 2008 20:58:46 +0100
From: Glynn Clements <glynn@gclements.plus.com>
Subject: Re: [GRASS-user] Problems with compiling
To: mihastaut@yahoo.co.uk
Cc: grass-user@lists.osgeo.org
Message-ID: <18496.23670.624930.475175@cerise.gclements.plus.com>
Content-Type: text/plain; charset=us-ascii
Miha Staut wrote:
> Recently I have upgraded my system to Fedora Core 9. Running the
> configure script on a fresh 6.3.0 download did not report any problems
> but make did not compile any modules at all. Errors are too numerous
> to post them on the mailing list and trying to interpret them by a
> definite non-expert did not help a lot.
Post the first few errors (the actual error messages from the "make"
output, not the directories from error.log).
Often, a key library (e.g. libgis) will fail to compile, so everything
which requires that library fails to link.
-- Glynn Clements <glynn@gclements.plus.com>
2c worth.
- Library management isn't great; moving to OpenSuse from a Ubuntu distribution, reinstalling 6.3 nearly broke my brain! OpenSuse installs similarly to the Fedora set, I think.
As well as the listed dependencies, there is (as Glynn said) a bunch of dependent libraries. Forgive the Suse-specific names, get the rights ones for Fedora instead.
gdal-1.5.1-5.1.i586.rpm
geos-3.0.0-1openSuSE10.3.i586.rpm
geos-devel-3.0.0-1openSuSE10.3.i586.rpm
libgdal-devel-1.5.1-5.1.i586.rpm
libgdal-grass-1.4.3-2.6.i586.rpm
libgdal0-1.5.1-5.1.i586.rpm
libgeos-devel-3.0.0-13.2.i586.rpm
libgeos0-3.0.0-13.2.i586.rpm
libgeos0-3.0.0-14.1.i586.rpm
libproj-devel-4.6.0-1.3.i586.rpm
libproj0-4.6.0-1.3.i586.rpm
proj-4.4.9-1suse10.0.i586.rpm
proj-4.6.0-1openSuSE10.3.i586.rpm
proj-devel-4.6.0-1openSuSE10.3.i586.rpm
proj4-4.6.0-1.3.i586.rpm
unixODBC-2.2.11-1.src.rpm
unixODBC-devel-2.2.11-1.i386.rpm
wxPython-common-gtk2-unicode-2.8.7.1-13.1.i586.rpm
wxPython2.8-devel-gtk2-unicode-2.8.7.1-13.1.i586.rpm
wxPython2.8-gtk2-unicode-2.8.7.1-13.1.i586.rpm
This should get your failure list down to a manageable amount ...
Richard Chirgwin
Markus Neteler wrote:
Richard,
On Fri, May 30, 2008 at 11:32 PM, Richard Chirgwin
<rchirgwin@ozemail.com.au> wrote:
...
- Library management isn't great;
... Library management where?
oops. I meant "dependency management", not a Grass critique, a more general issue for Linux users ... Thanks for the corrections below, I kept a couple of files too many didn't I?
My approach ended up being the crash-through-or-crash; install a package, check the fail message, install the dependency, install the next package, get the fail message ... The reason for taking things this way is that although some dependencies are listed as "optional", yum or rpm see things differently.
A very strong warning for OpenSuse users looking at Grass-GIS, by the way. Do not use the YAST GUI to install; it won't work.
RC
...
libgeos-devel-3.0.0-13.2.i586.rpm
libgeos0-3.0.0-13.2.i586.rpm <---------------- |
libgeos0-3.0.0-14.1.i586.rpm <<-- problem - ?
libproj-devel-4.6.0-1.3.i586.rpm
libproj0-4.6.0-1.3.i586.rpm
proj-4.4.9-1suse10.0.i586.rpm <<-- problem -- |
proj-4.6.0-1openSuSE10.3.i586.rpm <--------- ?
proj-devel-4.6.0-1openSuSE10.3.i586.rpm
proj4-4.6.0-1.3.i586.rpm
you seem to have some conflicts there...
Markus
Richard Chirgwin wrote:
oops. I meant "dependency management", not a Grass critique, a more
general issue for Linux users ...
I take it you've never tried Debian then 
really the packaging is only as good as the spec/control file info, the same applies to the cygwin packages etc. Debian is so "good" at this not because the technology is behind the package management there is so good*, it is because the packaging rules are rather explicit, strict, and enforced.
[*] it may be, but that's besides the point
I do not know if the SuSE packages are build using the spec from the GRASS source code, but you could check the rpm/ source code dir and submit any fixes you have.
http://trac.osgeo.org/grass/browser/grass/trunk/rpm
Hamish
Hamish wrote:
Richard Chirgwin wrote:
oops. I meant "dependency management", not a Grass critique, a more general issue for Linux users ...
I take it you've never tried Debian then 
really the packaging is only as good as the spec/control file info, the same applies to the cygwin packages etc. Debian is so "good" at this not because the technology is behind the package management there is so good*, it is because the packaging rules are rather explicit, strict, and enforced.
[*] it may be, but that's besides the point
I do not know if the SuSE packages are build using the spec from the GRASS source code, but you could check the rpm/ source code dir and submit any fixes you have.
http://trac.osgeo.org/grass/browser/grass/trunk/rpm
Hamish
I think you may be flattering my expertise if you think I'm competent for source code fixes! 
I should however say, wrt YaST on OpenSuSE, that it's very ignorant of Grass and only returns a very ancient version (5.0.3-120).
Rc
Hamish:
> I do not know if the SuSE packages are build using the
spec from the GRASS source code, but you could check the
rpm/ source code dir and submit any fixes you have.
>
> http://trac.osgeo.org/grass/browser/grass/trunk/rpm
Richard Chirgwin wrote:
I think you may be flattering my expertise if you think
I'm competent for source code fixes! 
I don't think it's quite as hard as you might think- just to look at the text file and see what's there. Anyway I encourage all to explore it even if you are not comfortable with making too many changes.
The package dependency part of the spec file seems fairly clear. e.g.:
http://trac.osgeo.org/grass/browser/grass/trunk/rpm/suse/grass-6.1.cvs-1suse.spec
....
Requires: gdal >= 1.3
Requires: tcl >= 8.3
Requires: tk >= 8.3
Requires: proj >= 4.4.9
....
adding another is just opening it up in a text editor and typing the line.
But it is probably better to sync that with Otto's 6.3.0 version before doing any more, as the GRASS svn copy is way out of date.
I should however say, wrt YaST on OpenSuSE, that it's
very ignorant of Grass and only returns a very ancient version
(5.0.3-120).
Hmm, maybe someone could work on getting Otto's OpenSuSE packages into that.
http://download.opensuse.org/repositories/Application:/Geo/
(no idea)
Hamish
Hi,
good idea - we could update ./rpm/suse from time to time. I don't have svn
access for grass but I can send you the spec files, if you like. Who would be
the contact person, I can send the files to? Would that be ok?
Attached you find the current spec file and the patch which comments the
wxpythion v.digit module for the grass 6.3. The same files are available in
the /src folder via the Application:/Geo/ repository. It works for OpenSuSE
10.2, 10.3 and openSUSE_Factory.
regards,
Otto
On Fri, 30 May 2008 23:01:26 -0700 (PDT)
Hamish <hamish_b@yahoo.com> wrote:
Hamish:
> > I do not know if the SuSE packages are build using the
> spec from the GRASS source code, but you could check the
> rpm/ source code dir and submit any fixes you have.
> >
> > http://trac.osgeo.org/grass/browser/grass/trunk/rpm
Richard Chirgwin wrote:
> I think you may be flattering my expertise if you think
> I'm competent for source code fixes! 
I don't think it's quite as hard as you might think- just to look at the text
file and see what's there. Anyway I encourage all to explore it even if you are
not comfortable with making too many changes.
The package dependency part of the spec file seems fairly clear. e.g.:
http://trac.osgeo.org/grass/browser/grass/trunk/rpm/suse/grass-6.1.cvs-1suse.spec
....
Requires: gdal >= 1.3
Requires: tcl >= 8.3
Requires: tk >= 8.3
Requires: proj >= 4.4.9
....
adding another is just opening it up in a text editor and typing the line.
But it is probably better to sync that with Otto's 6.3.0 version before doing
any more, as the GRASS svn copy is way out of date.
> I should however say, wrt YaST on OpenSuSE, that it's
> very ignorant of Grass and only returns a very ancient version
> (5.0.3-120).
Hmm, maybe someone could work on getting Otto's OpenSuSE packages into that.
http://download.opensuse.org/repositories/Application:/Geo/
(no idea)
Hamish
_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user
(attachments)
grass-6.3.0_wx-vdigit.patch (468 Bytes)
grass.spec (7.23 KB)
On Mon, Jun 2, 2008 at 11:42 AM, Otto Dassau <otto.dassau@gmx.de> wrote:
Hi,
good idea - we could update ./rpm/suse from time to time. I don't have svn
access for grass but I can send you the spec files, if you like. Who would be
the contact person, I can send the files to? Would that be ok?
Attached you find the current spec file and the patch which comments the
wxpythion v.digit module for the grass 6.3. The same files are available in
the /src folder via the Application:/Geo/ repository. It works for OpenSuSE
10.2, 10.3 and openSUSE_Factory.
... submitted to 6.4.svn
Markus