[GRASS-user] problem to install grass70 on ubuntu 12.04

Thomas Adams tea3rd at gmail.com
Fri Sep 19 19:50:34 PDT 2014


Rashad

I think what I sent you should also work for Ubuntu 12.04 — I don't see
what it should not…

Regards,
Tom

On Fri, Sep 19, 2014 at 4:18 AM, Rashad M <mohammedrashadkm at gmail.com>
wrote:

> Hello Thomas,
>
> On Fri, Sep 19, 2014 at 8:06 AM, Thomas Adams <tea3rd at gmail.com> wrote:
>
>> Rashad,
>>
>> I've only built from source on Ubuntu -- which has been unproblematic for
>> me; I'm using 14.04 currently with GRASS 7.0beta3. Here is what I do:
>>
>
> Is it problematic with Ubuntu 14.04 only or also on 12.04?
>
>>
>> (1)
>>
>> sudo apt-get install \
>>  build-essential \
>>  make flex bison gcc libgcc1 g++ cmake ccache \
>>  python python-dev python-qt4 python-qt4-dev \
>>  python-opengl \To
>>
>>  python-wxversion python-wxtools python-wxgtk2.8 \
>>  python-dateutil libgsl0-dev python-numpy \
>>  wx2.8-headers wx-common libwxgtk2.8-dev libwxgtk2.8-dbg \
>>  libwxbase2.8-dev  libwxbase2.8-dbg \
>>  libncurses5-dev \
>>  zlib1g-dev gettext \
>>  libtiff4-dev \
>>  tcl8.5-dev tk8.5-dev \
>>  libcairo2 libcairo2-dev \
>>  sqlite3 libsqlite3-dev \
>>  libpq-dev \
>>  libreadline6 libreadline6-dev libfreetype6-dev \
>>  txt2tags \
>>  libfftw3-3 libfftw3-dev \
>>  libqt4-core libqt4-dbg libqt4-dev libqt4-gui libqt4-sql
>> libqt4-qt3support \
>>  lsb-qt4 qt4-designer qt4-dev-tools qt4-doc qt4-qtconfig \
>>  libapt-pkg-perl resolvconf \
>>  libjasper-dev \
>>  ruby \
>>  subversion \
>>  libavcodec-dev \
>>  libxmu-dev \
>>  libavformat-dev libswscale-dev \
>>  checkinstall \
>>  libglu1-mesa-dev libxmu-dev
>>
>> It's possible other libs should be included.
>>
>> (2)
>>
>> ./configure  --with-opengl-includes=/usr/include/GL --enable-64bit
>> --with-cxx --with-readline --with-freetype=yes
>> --with-freetype-includes=/usr/include/freetype2/ --enable-largefile=yes
>> --with-opengl-libs=/usr/lib --with-geos=/usr/local/bin/geos-config
>> --with-tcltk-includes=/usr/local/include --with-tcltk-libs=/usr/local/lib
>> --with-sqlite --with-sqlite-includes=/usr/local/include
>> --with-sqlite-libs=/usr/local/lib --with-postgres
>> --with-postgres-includes=/usr/local/pgsql/include
>> --with-postgres-libs=/usr/local/pgsql/lib --with-python
>> --with-wxwidgets=/usr/bin/wx-config --with-proj-includes=/usr/local/include
>> --with-proj-libs=/usr/local/lib --with-proj-share=/usr/local/share/proj
>> --with-gdal=/usr/local/bin/gdal-config
>> --with-proj-includes=/usr/local/include --with-proj-libs=/usr/local/lib
>> --with-netcdf=/usr/local/bin/nc-config --with-blas-libs=/usr/local/lib
>> --with-blas-includes=/usr/local/include/liblas
>> --with-liblas=/usr/local/bin/liblas-config
>>
>> (3) make
>>
>> (4) sudo make install
>>
>> And that's it!
>>
>> Hope this helps...
>>
>> Cheers!
>> Tom
>>
>>
>>
>>
>>
>>
>> On Thu, Sep 18, 2014 at 10:27 AM, Alex Mandel <tech_dev at wildintellect.com
>> > wrote:
>>
>>> Hmm, I don't think libgdal1h and -dev are the same thing. libgdal1h is a
>>> dep of libgdal-dev and gdalbin. libgdal1h is the library and -dev is the
>>> dev files that go with the library.
>>>
>>> There is no libgdal1h-dev (it's libgdal-dev afaik)
>>>
>>> I think the issue is that on ubuntu 12.04 the stock libgdal1-dev
>>> http://packages.ubuntu.com/precise/libgdal1-dev
>>> On stock systems libgdal-dev is an alias for libgdal1-dev
>>>
>>> I'm not really sure what the fix here is, other than making the grass
>>> ppa depend on the ubuntugis ppa, or getting the grass70 package into
>>> ubuntugis and telling people to use that one. Or to copy newer gdal over
>>> from ubuntugis into the grass ppa for Precise.
>>>
>>> Thanks,
>>> Alex
>>>
>>> On 09/18/2014 05:58 AM, Rashad M wrote:
>>> > Hi Markus,
>>> >
>>> > Pushed the proposed changes and waiting for a clean build.
>>> >
>>> > https://code.launchpad.net/~grass/+recipe/grass70-release
>>> >
>>> > On Thu, Sep 18, 2014 at 6:15 PM, Rashad M <mohammedrashadkm at gmail.com>
>>> > wrote:
>>> >
>>> >> Yes,
>>> >>
>>> >> I had this in control file.
>>> >>
>>> >>  libgdal-dev | libgdal1-dev,
>>> >>
>>> >>
>>> http://bazaar.launchpad.net/~grass/grass/grass70_release_debian/view/head:/control
>>> >>
>>> >>
>>> >>
>>> >>
>>> >> On Thu, Sep 18, 2014 at 6:01 PM, Markus Neteler <neteler at osgeo.org>
>>> wrote:
>>> >>
>>> >>> On Wed, Aug 27, 2014 at 10:23 PM, Alex Mandel
>>> >>> <tech_dev at wildintellect.com> wrote:
>>> >>>> libgdal1h does not exist in stock Ubuntu 12.04 but does in 14.04
>>> >>>> It was a name change introduced in Debian/UbuntuGIS to deal with
>>> some
>>> >>>> libtiff build issue.
>>> >>>>
>>> >>>> In order for the package to work it needs to say libgdal1 ||
>>> libgdal1h
>>> >>>> (basically OR).
>>> >>>
>>> >>> ... was this ever implemented in the control file of the PPA?
>>> >>> Still problems are reported.
>>> >>>
>>> >>> thanks,
>>> >>> Markus
>>> >>> _______________________________________________
>>> >>> grass-user mailing list
>>> >>> grass-user at lists.osgeo.org
>>> >>> http://lists.osgeo.org/mailman/listinfo/grass-user
>>> >>>
>>> >>
>>> >>
>>> >>
>>> >> --
>>> >> Regards,
>>> >>    Rashad
>>> >>
>>> >
>>> >
>>> >
>>> >
>>> >
>>> > _______________________________________________
>>> > grass-user mailing list
>>> > grass-user at lists.osgeo.org
>>> > http://lists.osgeo.org/mailman/listinfo/grass-user
>>> >
>>>
>>> _______________________________________________
>>> grass-user mailing list
>>> grass-user at lists.osgeo.org
>>> http://lists.osgeo.org/mailman/listinfo/grass-user
>>>
>>
>>
>>
>
>
> --
> Regards,
>    Rashad
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20140919/576939f2/attachment.html>


More information about the grass-user mailing list