[GRASS-user] installing grass trunk to jaunty

mitch reflexeos at yahoo.it
Wed Apr 29 15:53:14 EDT 2009


hi maning, i haven't been playing so much with it (busy)
but i got grass7 svn work on jaunty

gdal and proj from synaptic


DEPENDENCIES


sudo apt-get install build-essential \
flex \
lesstif2-dev \
libfftw3-dev \
libglu1-mesa-dev \
libglu1-xorg-dev \
libpng12-dev \
libpq-dev \
unixodbc-dev \
doxygen \
libmysqlclient15-dev \
graphviz \
libcairo2-dev \
bison \
libncurses5-dev \
zlib1g-dev \
libjpeg62-dev \
libgdal1-dev \
libtiff4-dev \
libgcc1 \
tcl8.4-dev \
tk8.4-dev \
fftw3-dev \
libfreetype6-dev \
libavcodec-dev \
libxmu-dev \
libreadline5 \
libreadline5-dev \
python2.5-dev \
python-wxversion \
swig \
libwxbase2.8-0 \
libwxbase2.8-dbg \
libwxbase2.8-dev \
libwxgtk2.8-0 \
libwxgtk2.8-dbg \
libwxgtk2.8-dev \
python-wxgtk2.8 \
wx2.8-doc \
wx2.8-examples \
wx2.8-headers \
wx2.8-i18n \
python-numpy \
sqlite3 \
libsqlite3-dev \
python-opengl


svn checkout https://svn.osgeo.org/grass/grass/trunk grass_trunk
(wherever you want...i did it in /usr/local/src)



CFLAGS="-g -Wall" ./configure \
--with-gdal=/usr/local/bin \
-with-tcltk-includes=/usr/include/tcl8.4 \
--with-sqlite \
--with-cxx \
--with-fftw \
--with-freetype=yes \
--with-freetype-includes=/usr/include/freetype2 \
--with-readline \
--with-opengl-includes=/usr/include/GL \
--with-python=/usr/bin/python2.5-config \
--with-wxwidgets=/usr/bin/wx-config \
--enable-largefile=yes \
--with-proj-includes=/usr/include \
--with-proj-share=/usr/share/proj \
--with-proj-libs=/usr/lib




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

  Source directory:            /usr/local/src/grass_trunk
  Build directory:             /usr/local/src/grass_trunk
  Installation directory:      ${prefix}/grass-7.0.svn
  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

  NVIZ:                       yes

  BLAS support:               no
  C++ support:                yes
  Cairo support:              yes
  DWG support:                no
  FFMPEG support:             no
  FFTW support:               yes
  FreeType support:           yes
  GDAL support:               yes
  GEOS support:               no
  JPEG support:               yes
  LAPACK support:             no
  Large File support (LFS):   yes
  MySQL support:              no
  NLS support:                no
  ODBC support:               no
  OGR support:                yes
  OpenGL support:             yes
  PNG support:                yes
  PostgreSQL support:         no
  Python support:             yes
  Readline support:           yes
  SQLite support:             yes
  Tcl/Tk support:             yes
  wxWidgets support:          yes
  TIFF support:               yes
  X11 support:                yes
  Regex support:              yes
  POSIX thread support:       no



sudo make


Errors in:
No errors detected.
(hopefully :-))

sudo make install


this is what i did (indeed you can change parameters in ./configure)
....btw community, AM I RIGHT?...did i miss something or include to
much? :-) (suggestion appreciated)


another question:
what do i have to do exactly to update?

svn up
./configure (including the same parameters of the previous
installation?)
make 
make install (again?)

..or there is another way to do it?


cheers,
mitch



On Thu, 2009-04-30 at 01:28 +0800, maning sambale wrote:
> Compiling from source following:
> 
> http://grass.osgeo.org/wiki/Compile_and_Install#Ubuntu
> 
> I am somehow stuck here:
> ./configure --enable-gpl --enable-libvorbis --enable-libtheora \
>             --enable-liba52 --enable-libdc1394 --enable-libgsm \
>             --enable-libmp3lame --enable-libfaad --enable-libfaac \
>             --enable-libxvid --enable-pthreads --enable-libx264 \
>             --enable-shared
> 
> Unknown option "--enable-liba52".
> See ./configure --help for available options.
> 
> 
> ps.
> in the GRASS dependencies:
> I think "bpng12-dev" should be "libpng12-dev"
> 
> sudo apt-get install grass build-essential flex bison libncurses5-dev
> zlib1g-dev \
> libjpeg62-dev libgdal1-dev libtiff4-dev libgcc1 bpng12-dev tcl8.4-dev
> tk8.4-dev fftw3-dev \
> libfreetype6-dev libavcodec-dev libxmu-dev gdal-bin libreadline5
> libreadline5-dev \
> make python-dev python-wxversion swig
> 
> 



More information about the grass-user mailing list