[GRASS-dev] Please update "Compile on Ubuntu" page in Wiki

Pierre Roudier pierre.roudier at gmail.com
Mon Sep 3 14:54:11 PDT 2012


Hi Markus,

Here is my configure script for grass_trunk on (X)ubuntu 12.04:

./configure --enable-64bit--with-libs=/usr/lib64 \
  --with-cxx \
  --with-readline \
  --with-freetype=yes --with-freetype-includes="/usr/include/freetype2/" \
  --enable-largefile=yes \
  --with-proj-share=/usr/share/proj/ \
  --with-geos=/usr/bin/geos-config \
  --with-cairo \
  --with-tcltk-includes="/usr/include/tcl8.5/" \
  --with-wxwidgets \
  --with-postgres=yes --with-postgres-includes=/usr/include/postgresql \
  --with-sqlite=yes --with-sqlite-includes=/usr/include
--with-sqlite-libs=/usr/lib \
  --with-blas=yes --with-blas-includes=/usr/include/
--with-blas-libs=/usr/lib/ \
  --with-mysql=yes  --with-mysql-includes=/usr/include/mysql
--with-mysql-libs=/usr/lib \
  --with-odbc=yes \
  --with-liblas=no \
  --with-pthread \
  --with-openmp \
  --with-lapack \
  --enable-w11

Note that I have to use this trick:
http://osgeo-org.1560.n6.nabble.com/Problem-compiling-ximgview-in-the-latest-grass-trunk-tp4987855p4988331.html
because of this bug: http://trac.osgeo.org/grass/ticket/1713 .

Hope this helps,

Pierre

2012/9/4 Vaclav Petras <wenzeslaus at gmail.com>:
> Hi,
>
> as I remember the pacakage list was ok when I was compiling grass 6
> and 7 on Ubuntu 12.04. I only added numpy but now it seems that
> python-imaging package for PIL is missing too (probably needed only
> for preview in Cartographic Composer).
>
> But I'm using different configure command parameters. I was always
> afraid to change the command on the wiki because I don't understand it
> completely.
>
> Anyway here is my "script_configure.sh" which I used for grass 6.4 on
> Ubuntu 12.04:
>
> export CFLAGS="-ggdb -Wall -Werror-implicit-function-declaration"
> export CXXFLAGS="-g -Wall"
> ./configure --prefix=/usr/local \
>  --with-postgres --with-postgres-includes=/usr/include/postgresql \
>  --with-mysql --with-mysql-includes=/usr/include/mysql/ \
>  --with-gdal \
>  --with-proj \
>  --with-proj-share=/usr/share/proj \
>  --with-motif \
>  --with-nls \
>  --with-readline \
>  --with-cxx \
>  --x-includes=/usr/include/ \
>  --x-libraries=/usr/lib/ \
>  --with-freetype --with-freetype-includes=/usr/include/freetype2 \
>  --with-sqlite \
>  --with-odbc \
>  --with-wxwidgets \
>  --with-tcltk-includes=/usr/include/tcl/ --with-tcltk-libs=/usr/lib/ \
>  --with-geos \
>  --with-pthread \
>  --enable-largefile \
>  --with-python=/usr/bin/python2.7-config \
>  --with-ffmpeg \
>  --with-ffmpeg-includes="/usr/include/libavcodec
> /usr/include/libavformat /usr/include/libswscale" \
>  --with-cairo
>
> Only difference for 10.04 is that I don't have to specify X libs
> paths, python is 2.6 and some thing with ffmpeg paths I guess.
>
> I'm using UbuntuGIS unstable but I'm not sure if this makes a difference.
>
> Sorry for being not so helpful.
>
> Vaclav
>
>
> On 3 September 2012 20:04, Markus Neteler <neteler at osgeo.org> wrote:
>> Hi,
>>
>> greetings from the GeoSTAT 2012 with many GRASS interested people.
>> Since the official GRASS Ubuntu package is too old, some of them
>> want to recompile. But also this page seesm to be wrong/outdated:
>>
>> http://grass.osgeo.org/wiki/Compile_and_Install_Ubuntu
>>
>> Can any Ubuntu-savvy person please update it (ehm, urgently, thanks,
>> the course is tomorrow...).
>>
>> thanks
>> Markus
>> _______________________________________________
>> grass-dev mailing list
>> grass-dev at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/grass-dev
> _______________________________________________
> grass-dev mailing list
> grass-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-dev



-- 
Scientist
Landcare Research, New Zealand


More information about the grass-dev mailing list