[GRASS-dev] grass not building against new ffmpeg

Oliver Burger obgr_seneca at mageia.org
Wed Jul 18 06:08:48 PDT 2012


Hi there,

I'm having problems building grass against the new ffmpeg 0.11.1.
configure stops with the error message:
****************************************************************
checking for location of FFMPEG includes... /usr/include/libavcodec 
/usr/include/libavdevice        /usr/include/libavformat 
/usr/include/libavutil   /usr/include/libpostproc /usr/include/libswscale
checking for avcodec.h... yes
checking for avformat.h... yes
checking for swscale.h... yes
checking for location of FFMPEG library...
checking for av_free in -lavutil... yes
checking for avcodec_init in -lavcodec... no
checking for avcodec_init in -lavcodec... no
configure: error: *** Unable to locate FFMPEG library.
****************************************************************

When trying to call autoreconf first, I am getting:
****************************************************************
+ autoreconf -fi
autoheader: warning: missing template: CURSES_MAXY
autoheader: Use AC_DEFINE([CURSES_MAXY], [], [Description])
autoheader: warning: missing template: HAVE_FFMPEG
autoheader: warning: missing template: HAVE_GDAL
autoheader: warning: missing template: HAVE_GEOS
autoheader: warning: missing template: HAVE_KEYPAD
autoheader: warning: missing template: HAVE_LARGEFILES
autoheader: warning: missing template: HAVE_LIBATLAS
autoheader: warning: missing template: HAVE_LIBBLAS
autoheader: warning: missing template: HAVE_LIBLAPACK
autoheader: warning: missing template: HAVE_LONG_LONG_INT
autoheader: warning: missing template: HAVE_OGR
autoheader: warning: missing template: HAVE_PBUFFERS
autoheader: warning: missing template: HAVE_PIXMAPS
autoheader: warning: missing template: HAVE_POSTGRES
autoheader: warning: missing template: HAVE_PQCMDTUPLES
autoheader: warning: missing template: HAVE_SOCKET
autoheader: warning: missing template: HAVE_SQLITE
autoheader: warning: missing template: HAVE_TCLTK
autoheader: warning: missing template: OPENGL_AQUA
autoheader: warning: missing template: OPENGL_WINDOWS
autoheader: warning: missing template: OPENGL_X11
autoheader: warning: missing template: PEEK_XCLOSEIM
autoheader: warning: missing template: STATIC_BUILD
autoheader: warning: missing template: USE_DELTA_FOR_TZ
autoheader: warning: missing template: USE_NLS
autoheader: warning: missing template: _OE_SOCKETS
autoheader: warning: missing template: _POSIX_PTHREAD_SEMANTICS
autoheader: warning: missing template: _REENTRANT
autoheader: warning: missing template: _XOPEN_SOURCE
autoheader: warning: missing template: _XOPEN_SOURCE_EXTENDED
autoreconf: /usr/bin/autoheader failed with exit status: 1
error: Bad exit status from 
/home/rpmbuild/grass/BUILDROOT/rpm-tmp.uyyNPI (%build)
****************************************************************

FYI: configure is called with the following options:
****************************************************************
+ ./configure --build=x86_64-mageia-linux-gnu --prefix=/usr 
--exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin 
--sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include 
--libdir=/usr/lib64 --libexecdir=/usr/lib64 --localstatedir=/var 
--sharedstatedir=/usr/com --mandir=/usr/share/man 
--infodir=/usr/share/info --x-includes=/usr/include 
--x-libraries=/usr/lib64 --host=x86_64-mageia-linux-gnu --enable-64bit 
--with-dbm-includes=/usr/include/gdbm/ --with-postgres 
--with-postgres-includes=/usr/include/ --with-freetype 
--with-freetype-includes=/usr/include/freetype2 --with-motif 
--with-cairo --with-opengl-libs=/usr/lib64 --with-motif-libs=/usr/lib64 
--with-motif-libs=/usr/lib64 --with-motif-includes=/usr/include 
--with-gdal --with-mysql --with-mysql-includes=/usr/include/mysql 
--with-odbc --enable-largefile --with-ffmpeg 
'--with-ffmpeg-includes=/usr/include/libavcodec 
/usr/include/libavdevice        /usr/include/libavformat 
/usr/include/libavutil         /usr/include/libpostproc 
/usr/include/libswscale' --with-curses --with-python 
--with-wxwidgets=/usr/bin/wx-config --with-sqlite --with-cxx 
--with-proj-share=/usr/share/proj --with-nls --with-readline
****************************************************************

Thanks for any hints you might give me...

Oliver


More information about the grass-dev mailing list