[GRASS-user] Re: Unable to select EPSG code for location

RichardC richtcooper at hotmail.com
Tue May 1 23:40:41 EDT 2012


I'm finding that the issue remains after re-installing PROJ from source and
running sudo make distclean.

Method:
Uninstalled package version of PROJ from system and installed from source as
per http://grass.osgeo.org/wiki/Compile_and_Install_Ubuntu but using latest
version of PROJ

sudo svn co http://svn.osgeo.org/metacrs/proj/branches/4.8/proj/
sudo wget -c http://download.osgeo.org/proj/proj-datumgrid-1.5.zip
sudo mv proj-datumgrid-1.5.zip /usr/local/src/proj/nad
cd /usr/local/src/proj/nad
sudo ./configure
sudo make
sudo make install
sudo make distclean

Then configure, make and make install of GRASS

./configure \
--with-tcltk-includes="/usr/include/tcl8.5/" \
--with-tcltk-libs="/usr/lib/tcl8.5" \
--enable-debug \
--enable-largefile \
--with-libs=/usr/lib64 \
--with-proj-share="/usr/share/proj/" \
--with-cxx \
--with-readline \
--with-freetype=yes \
--with-freetype-includes="/usr/include/freetype2/" \
--enable-largefile=yes \
--with-geos=yes \
--with-cairo \
--with-wxwidgets \
--with-postgres=yes \
--with-postgres-includes="/usr/include/postgresql/" \
--with-sqlite=yes \
--with-python=yes \
--with-opengl-libs=/usr/include/GL \
--with-ffmpeg=yes \
--with-ffmpeg-includes="/usr/include/libavcodec /usr/include/libavformat
/usr/include/libswscale" \
--with-lapack=yes \
--with-nls=yes \
--with-motif=yes \
--with-readline=yes \
--with-python=yes \
--with-proj=yes \
--with-blas --with-lapack --with-cxx \

OUTPUT:

GRASS is now configured for:  i686-pc-linux-gnu

  Source directory:            /home/rcooper/Downloads/grass642/grass-6.4.2
  Build directory:             /home/rcooper/Downloads/grass642/grass-6.4.2
  Installation directory:      ${prefix}/grass-6.4.2
  Startup script in directory: ${exec_prefix}/bin
  C compiler:                  gcc -g -Wall 
  C++ compiler:                c++ -g -O2
  Building shared libraries:   yes
  64bit support:               no
  OpenGL platform:             X11

  MacOSX application:         no
  MacOSX architectures:       
  MacOSX SDK:                 
  Tcl/Tk NVIZ:                yes
  BLAS support:               yes
  C++ support:                yes
  Cairo support:              yes
  DWG support:                no
  FFMPEG support:             yes
  FFTW support:               yes
  FreeType support:           yes
  GDAL support:               yes
  GEOS support:               yes
  GLw support:                no
  JPEG support:               yes
  LAPACK support:             yes
  Large File support (LFS):   yes
  Motif support:              yes
  MySQL support:              no
  NLS support:                yes
  ODBC support:               no
  OGR support:                yes
  OpenGL support:             yes
  PNG support:                yes
  PostgreSQL support:         yes
  Python support:             yes
  Readline support:           yes
  SQLite support:             yes
  Tcl/Tk support:             yes
  wxWidgets support:          yes
  TIFF support:               yes
  X11 support:                yes

Then sudo make and sudo make install.

Start GRASS by running the command 'grass64' from a terminal.

Path to EPSG code files: /usr/local/share/proj/epsg


--
View this message in context: http://osgeo-org.1560.n6.nabble.com/Unable-to-select-EPSG-code-for-location-tp4715353p4945223.html
Sent from the Grass - Users mailing list archive at Nabble.com.


More information about the grass-user mailing list