[GRASS-dev] G7 compile error:

Johannes Radinger johannesradinger at gmail.com
Tue Jun 18 08:39:53 PDT 2013


Interestingly the compilation was working some days (maybe already weeks)
ago.
I checked ffmpeg and there is a package installed:

ffmpeg version 0.8.6-4:0.8.6-0ubuntu0.12.04.1, Copyright (c) 2000-2013 the
Libav developers
  built on Apr  2 2013 17:00:59 with gcc 4.6.3
*** THIS PROGRAM IS DEPRECATED ***
This program is only provided for compatibility and will be removed in a
future release. Please use avconv instead.

So probably I also need to get the ffmpeg-devel installed. Will check that
tomorrow.

BTW: Can GRASS be configured without ffmpeg support? What is it needed for?

/johannes




On Tue, Jun 18, 2013 at 5:07 PM, Markus Neteler <neteler at osgeo.org> wrote:

> On Tue, Jun 18, 2013 at 4:40 PM, Johannes Radinger
> <johannesradinger at gmail.com> wrote:
> > Hi,
> >
> > I just tried to compile the recent G7 SVN but several error appeared:
> >
> > GRASS GIS 7.0.svn 56779M compilation log
> > --------------------------------------------------
> > Started compilation: Tue Jun 18 16:23:06 CEST 2013
> > --
> > Errors in:
> > /usr/local/src/grass7_trunk/lib/ogsf
>
> ...
> > radinger at grassgis:/usr/local/src/grass7_trunk$ cd
> > /usr/local/src/grass7_trunk/lib/ogsf
> > radinger at grassgis:/usr/local/src/grass7_trunk/lib/ogsf$ make
> > gcc  -g  -fPIC
>  -I/usr/local/src/grass7_trunk/dist.i686-pc-linux-gnu/include
> > -I/usr/local/src/grass7_trunk/dist.i686-pc-linux-gnu/include
> > -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdal
> > -I/usr/include  -DPACKAGE=\""grasslibs"\"     -I/usr/include/libavcodec
> > -I/usr/include/libavformat -I/usr/include/libswscale
> > -I/usr/local/src/grass7_trunk/dist.i686-pc-linux-gnu/include
> > -I/usr/local/src/grass7_trunk/dist.i686-pc-linux-gnu/include -o
> > OBJ.i686-pc-linux-gnu/gsd_img_mpeg.o -c gsd_img_mpeg.c
> > gsd_img_mpeg.c:33:25: fatal error: mathematics.h: No such file or
> directory
> > compilation terminated.
>
> I have that on Fedora 18 in
> rpm -qf /usr/include/ffmpeg/libavutil/mathematics.h
> ffmpeg-devel-1.0.7-1.fc18.x86_64
>
> Perhaps you need to install a similar package for your distro?
> (just guessing)
>
> On F18 it compiles.
>
> Markus
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20130618/ec6949b6/attachment.html>


More information about the grass-dev mailing list