Java UbuntuX64上的Xuggle构建失败?
从下载源代码后,我设置了环境变量 如前所述 然后,我简单地通过命令启动ant测试Java UbuntuX64上的Xuggle构建失败?,java,ffmpeg,ubuntu-11.10,xuggle,xuggler,Java,Ffmpeg,Ubuntu 11.10,Xuggle,Xuggler,从下载源代码后,我设置了环境变量 如前所述 然后,我简单地通过命令启动ant测试 ant run-tests 这给了我以下的输出,但最后出现了错误 compile-native-do: [exec] Making all in captive [exec] make[1]: Entering directory `/home/uroot/xuggle/build/native/x86_64-unknown-linux-gnu/captive' [exec] Mak
ant run-tests
这给了我以下的输出,但最后出现了错误
compile-native-do:
[exec] Making all in captive
[exec] make[1]: Entering directory `/home/uroot/xuggle/build/native/x86_64-unknown-linux-gnu/captive'
[exec] Making all in libvo-aacenc
[exec] make[2]: Entering directory `/home/uroot/xuggle/build/native/x86_64-unknown-linux-gnu/captive/libvo-aacenc'
[exec] Incarcerated package configured: ../../../../../captive/libvo-aacenc
[exec] Incarcerating package ../../../../../captive/libvo-aacenc to fake DESTDIR=/home/uroot/xuggle/build/native/x86_64-unknown-linux-gnu/captive
[exec] make[3]: Entering directory `/home/uroot/xuggle/build/native/x86_64-unknown-linux-gnu/captive/libvo-aacenc/csrc'
[exec] make all-am
[exec] make[4]: Entering directory `/home/uroot/xuggle/build/native/x86_64-unknown-linux-gnu/captive/libvo-aacenc/csrc'
[exec] make[4]: Leaving directory `/home/uroot/xuggle/build/native/x86_64-unknown-linux-gnu/captive/libvo-aacenc/csrc'
[exec] make[3]: Leaving directory `/home/uroot/xuggle/build/native/x86_64-unknown-linux-gnu/captive/libvo-aacenc/csrc'
[exec] Incarceration complete: ../../../../../captive/libvo-aacenc
[exec] make[2]: Leaving directory `/home/uroot/xuggle/build/native/x86_64-unknown-linux-gnu/captive/libvo-aacenc'
[exec] Making all in libopencore-amr
[exec] make[2]: Entering directory `/home/uroot/xuggle/build/native/x86_64-unknown-linux-gnu/captive/libopencore-amr'
[exec] Incarcerated package must be reconfigured; regenerating out of date captive Makefile from: ../../../../../captive/libopencore-amr/csrc/configure
[exec] /bin/mkdir -p csrc
[exec] cd csrc && sh ../incarcerate
[exec] Creating release version of libopencore-amr:
[exec] Copying /home/uroot/xuggle/build/native/x86_64-unknown-linux-gnu/captive/../../../../captive/libopencore-amr/csrc to /home/uroot/xuggle/build/native/x86_64-unknown-linux-gnu/captive/libopencore-amr/csrc
[exec] Configuring libopencore-amr with these options: --enable-shared
[exec] checking for a BSD-compatible install... /usr/bin/install -c
[exec] checking whether build environment is sane... yes
[exec] checking for a thread-safe mkdir -p... /bin/mkdir -p
[exec] checking for gawk... no
[exec] checking for mawk... mawk
[exec] checking whether make sets $(MAKE)... yes
[exec] checking how to create a ustar tar archive... gnutar
[exec] checking whether to enable maintainer-specific portions of Makefiles... no
[exec] checking build system type... x86_64-unknown-linux-gnu
[exec] checking host system type... x86_64-unknown-linux-gnu
[exec] checking for g++... no
[exec] checking for c++... no
[exec] checking for gpp... no
[exec] checking for aCC... no
[exec] checking for CC... no
[exec] checking for cxx... no
[exec] checking for cc++... no
[exec] checking for cl.exe... no
[exec] checking for FCC... no
[exec] checking for KCC... no
[exec] checking for RCC... no
[exec] checking for xlC_r... no
[exec] checking for xlC... no
[exec] configure: error: in `/home/uroot/xuggle/build/native/x86_64-unknown-linux-gnu/captive/libopencore-amr/csrc':
[exec] configure: error: C++ compiler cannot create executables
[exec] See `config.log' for more details.
[exec] make[2]: *** [/home/uroot/xuggle/build/native/x86_64-unknown-linux-gnu/captive/libopencore-amr/csrc/Makefile] Error 1
[exec] make[1]: *** [all-recursive] Error 1
[exec] make: *** [all-recursive] Error 1
[exec] checking for C++ compiler default output file name...
[exec] Could not configure library: "/home/uroot/xuggle/build/native/x86_64-unknown-linux-gnu/captive/../../../../captive/libopencore-amr"; you may want to try disabling it or installing your own version
[exec] make[2]: Leaving directory `/home/uroot/xuggle/build/native/x86_64-unknown-linux-gnu/captive/libopencore-amr'
[exec] make[1]: Leaving directory `/home/uroot/xuggle/build/native/x86_64-unknown-linux-gnu/captive'
BUILD FAILED
/home/uroot/xuggle/mk/buildtools/buildhelper.xml:1149: exec returned: 2
确保已安装gcc/g++:
sudo apt-get install g++
确保已安装gcc/g++:
sudo apt-get install g++
您可以尝试在以下位置禁用它: Users/siva/Downloads/xuggle-xuggle-xuggler-dbd82d2/mk/buildtools/buildhelper.xml:1149:
第1149行应设置为false您可以尝试在以下位置禁用它: Users/siva/Downloads/xuggle-xuggle-xuggler-dbd82d2/mk/buildtools/buildhelper.xml:1149: 第1149行应设置为false