在 Ubuntu 12.04 上编译 oggvideotools 0.9

在 Ubuntu 12.04 上编译 oggvideotools 0.9

我正在尝试编译oggvideotools 0.9在 Ubuntu 12.04 服务器上(0.8 在 ubuntu 存储库中,但我想要当前的 0.9 主干版本)

svn co https://oggvideotools.svn.sourceforge.net/svnroot/oggvideotools oggvideotools
cd oggvideotools/trunk
./autogen.sh

以下是我得到的结果:

System has changed to run under cmake 

-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Looking for include files HAVE_BZERO_H
-- Looking for include files HAVE_BZERO_H - not found.
-- Looking for include files HAVE_STDINT_H
-- Looking for include files HAVE_STDINT_H - found
-- checking for module 'theoradec>=1.1'
--   found theoradec, version 1.1.1
-- checking for module 'theoraenc>=1.1'
--   found theoraenc, version 1.1.1
-- checking for module 'vorbis>=1.2.3'
--   found vorbis, version 1.3.2
-- checking for module 'vorbisenc>=1.2.3'
--   found vorbisenc, version 1.3.2
-- checking for module 'ogg>=1.1.0'
--   found ogg, version 1.2.2
-- Theora encoder library found
-- Theora decoder library found
-- Vorbis library found
-- Vorbis encoder library found
-- ogg library found
-- GD library and header found
Creating config.h
Libraries are: theoraenc;theoradec;ogg;theoradec;ogg;vorbis;m;ogg;vorbisenc;vorbis;m;ogg;ogg;GD_LIBRARY-NOTFOUND
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
GD_INCLUDE
   used as include directory in directory /var/www/doc.topcleanpackaging.com/extensions/oggvideotools/trunk
   used as include directory in directory /var/www/doc.topcleanpackaging.com/extensions/oggvideotools/trunk/src
   used as include directory in directory /var/www/doc.topcleanpackaging.com/extensions/oggvideotools/trunk/docs
   used as include directory in directory /var/www/doc.topcleanpackaging.com/extensions/oggvideotools/trunk/scripts
GD_LIBRARY
    linked by target "oggvideotools" in directory /var/www/doc.topcleanpackaging.com/extensions/oggvideotools/trunk/src

看来我已经安装了所有依赖项..但仍然无法编译。

您有同样的问题吗?

谢谢。

答案1

我已经成功构建它了,这是我结账后所做的事情。

sudo apt-get build-dep oggvideotools
./autogen.sh

我希望我早点学会 build-dep 命令,这样我就可以省去编译程序的很多麻烦。它会下载构建包所需的所有依赖项。

相关内容