On Wed, Jul 11, 2012 at 1:34 PM, Johannes Radinger <[email protected]> wrote:
> Hi,
>
> after sucessfully compiling, installing and working with GRASS on MacOS I am 
> working now as well on Ubuntu (12.04) and want to compile GRASS (6.4SVN 
> revision 52364). Hence I tried to follow the corresponding wiki to install 
> all the depencies. There are some problems with following dependecnies:
>
> E: Unable to locate package sip4
> E: Package 'python-sip4' has no installation candidate
> E: Unable to locate package python-sip4-dev
> E: Unable to locate package libpngwriter0-dev

(no idea about these...)

> Anyway I tried to run configure which works:
>
> GRASS is now configured for:  i686-pc-linux-gnu
...
>   FFMPEG support:             yes
...

ok

> Running make ends in some Errors:
> Errors in:
> /usr/local/src/grass64_release/lib/ogsf
...
>
> The first error in detail:
> radinger@grassgis:/usr/local/src/grass64_release/lib/ogsf$ make
> gcc -I/usr/local/src/grass64_release/dist.i686-pc-linux-gnu/include  -g    
> -fPIC   -DPACKAGE=\""grasslibs"\" -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/grass64_release/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: In function ‘add_video_stream’:
> gsd_img_mpeg.c:61:5: warning: ‘av_new_stream’ is deprecated (declared at 
> /usr/include/libavformat/avformat.h:1604) [-Wdeprecated-declarations]
> gsd_img_mpeg.c:69:21: error: ‘CODEC_TYPE_VIDEO’ undeclared (first use in this 
> function)
> gsd_img_mpeg.c:69:21: note: each undeclared identifier is reported only once 
> for each function it appears in
> gsd_img_mpeg.c:100:5: warning: ‘quality’ is deprecated (declared at 
> /usr/include/libavformat/avformat.h:667) [-Wdeprecated-declarations]
...

Perhaps it is related to this ticket?
http://trac.osgeo.org/grass/ticket/1423

You could apply the patch locally and let us know if it helps.

Markus
_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to