[GRASS-user] GRASS and libgeos 3.1.1/3.3.3

2013-09-03 Thread Gary Nobles
Dear list,

I have recently updated Ubuntu to 13.04, now I find when I open grass and
select a mapset I get the following errors:

Error 1
g.proj or projection error... ...libgeos-3.1.1.so: cannot open...

Error 2
Error setting region...

Error 3
same as error 1

So I think the problem is that I have libgeos-3.3.3.so not libgeos-3.1.1.so
So I guess two solutions, either install libgeos-3.1.1 or correct grass to
search for 3.3.3.

How would/should I do this?

Thanks

Gary




--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/GRASS-and-libgeos-3-1-1-3-3-3-tp5075764.html
Sent from the Grass - Users mailing list archive at Nabble.com.
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] GRASS and libgeos 3.1.1/3.3.3

2013-09-03 Thread Hamish
Hi Gary,


 I have recently updated Ubuntu to 13.04, now I find when I open grass and
 select a mapset I get the following errors:
 
 Error 1
 g.proj or projection error... ...libgeos-3.1.1.so: cannot open...
 
 Error 2
 Error setting region...
 
 Error 3
 same as error 1
 
 So I think the problem is that I have libgeos-3.3.3.so not libgeos-3.1.1.so
 So I guess two solutions, either install libgeos-3.1.1 or correct grass to
 search for 3.3.3.
 
 How would/should I do this?

where did you get your GRASS package from? UbuntuGIS?

working here with the stock 6.4.2-2build1 ubuntu grass package on Mint 15
(aka ubu 13.04) all's ok. (but that doesn't depend on geos at all- too old)

if the ubuntuGIS package please file a bug on their PPA or post to ubuntu at
lists.osgeo.org asking for a rebuild.

have a look at available dependencies  versions with:

apt-cache policy grass-core
apt-cache policy libgeos-dev


packages for GEOS 3.1.1 don't seem available on Raring as standard pkgs,
  http://packages.ubuntu.com/search?keywords=libgeos


regards,
Hamish

___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] GRASS and libgeos 3.1.1/3.3.3

2013-09-03 Thread Gary Nobles
Thanks Hamish,

grass-core:
installed 6.4.2-2bui l ch
candicate 6.4.2-2bui l ch
version table:
*** 6.4.2-2bui I ch

libgeos-dev:
installed 3.3.3-1.1
candicate 3.3.3-1.1
version table:
*** 3.3.3-1.1 0

I installed grass through synaptic on Ubuntu (with R and other associated
programs)

Could I remove libgeos and simply install version 3.1.1? Or could I
reinstall GRASS (whilst keeping all my mapsets?)

Thankyou for your help

Gary



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/GRASS-and-libgeos-3-1-1-3-3-3-tp5075764p5075795.html
Sent from the Grass - Users mailing list archive at Nabble.com.
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] GRASS and libgeos 3.1.1/3.3.3

2013-09-03 Thread Hamish
[g.region failing on ubuntu 13.04 causing main startup to fail]

Gary wrote:

T hanks Hamish,
 
 grass-core:
 installed 6.4.2-2bui l ch
 candicate 6.4.2-2bui l ch
 version table:
 *** 6.4.2-2bui I ch
 
 libgeos-dev:
 installed 3.3.3-1.1
 candicate 3.3.3-1.1
 version table:
 *** 3.3.3-1.1 0
 
 I installed grass through synaptic on Ubuntu (with R and other associated
 programs)

That is strange, 6.4.2-2build1 doesn't depend on GEOS.

(apt-cache show grass-core and look at the Depends line)


What version of GDAL are you using? Is that from the standard ubuntu 
repositories?
No PPAs in your list of software sources?

I see g.region only depends on PROJ.4 though, not GDAL..
(what version of the libproj is installed?)


 Could I remove libgeos and simply install version 3.1.1? Or could I
 reinstall GRASS (whilst keeping all my mapsets?)

As far as I can tell a 3.1.1 package doesn't exist.

here are the reverse package dependencies, anything look familiar?

$ apt-cache rdepends libgeos-3.3.3
libgeos-3.3.3
Reverse Depends:
  libgeos-3.3.3:i386
  osmjs
  osm2pgsql
  libgeos-dbg
  libgeos-c1
  libgeos++-dev

$ apt-cache rdepends libgeos-c1   
libgeos-c1
Reverse Depends:
  libgeos-c1:i386
  spatialite-gui
  python-shapely
  python-mpltoolkits.basemap
  python-mapscript
  postgresql-9.1-postgis
  php5-mapscript
  mapserver-bin
  libspatialite3
  libqgis1.7.5
  libplayerwkb3.0
  libmapscript-ruby1.9.1
  libmapscript-ruby1.8
  libmapscript-perl
  libmapnik2-2.0
  libgeos-ruby1.8
  libgeos-dev
  libgeos-dbg
  libgdal1
  cgi-mapserver


confused,
Hamish

___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] GRASS and libgeos 3.1.1/3.3.3

2013-09-03 Thread Hamish
 [g.region failing on ubuntu 13.04 causing main startup to fail]

oops, that was g.proj failing.

 I see g.region only depends on PROJ.4 though, not GDAL..
 (what version of the libproj is installed?)

g.proj depends on GDAL libs which depends on GEOS.

what version of GDAL is installed? 1.9.0-3.1ubuntu1?

$ dpkg -l | grep libgdal



what does this say:

$ ldd /usr/lib/grass64/bin/g.proj | grep geos

?


Hamish

___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user