天天看點

ubuntu 編譯vlc android 總結

出錯問題:

1. 提示gettext版本不對

The AM_GNU_GETTEXT_VERSION declaration in your configure.ac
               file requires the infrastructure from gettext- but this version
               is older. Please upgrade to gettext- or newer.
           

gettext -V 差看本地版本低于0.19.3

按要求下載下傳 https://launchpad.net/ubuntu/+source/gettext/0.19.7-2ubuntu3

解壓後進入目錄,執行如下目錄

./configure
make
make install (權限不夠加sudo即可)
           

2.

由于是虛拟機中裝的ubuntu系統,建立共享檔案後,ubuntu中打開共享檔案時,提示“您無通路。。的權限”

sudo usermod -a -G vboxsf yourusernanme
           

3.

Java RunTime Environment (JRE) or Java Development Kit (JDK) must be available in order to run Eclipse. No java virtual machine was found after searching the following locations:

解決辦法是在終端進入你的eclipse目錄,然後輸入:

mkdir jre

cd jre

ln -s 你的JDK目錄/bin bin

4.

configure: error: You need 32-bits luac when using using lua from contrib

解決辦法 :

sudo apt-get install liblua5--dev:i386
sudo apt-get build-dep vlc
           

參考:http://askubuntu.com/questions/365907/configure-error-you-need-32-bits-luac-when-using-using-lua-from-contrib