Не удалось собрать Xuggle на Ubuntu x64? - PullRequest
1 голос
/ 27 февраля 2012

После загрузки исходного кода из GIT-хаба Я устанавливаю переменные среды как Xuggle YouTube Video так сказал

   export XUGGLE_HOME=/usr/local
   export PATH=$XUGGLE_HOME/bin:$PATH
   export LD_LIBRARY_PATH=$XUGGLE_HOME

Тогда я просто запустил тест муравья командой

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

Ответы [ 2 ]

1 голос
/ 29 февраля 2012

Убедитесь, что у вас установлен gcc / g ++:

sudo apt-get install g++
0 голосов
/ 03 апреля 2012

вы можете попробовать отключить его в: Пользователи / siva / Downloads / xuggle-xuggle-xuggler-dbd82d2 / mk / buildtools / buildhelper.xml: 1149:

строка 1149 должна быть установлена ​​в ложь

...