在Ubuntu 10.4環境下安裝arm-2010q1-188-arm-none-eabi.bin文件

關鍵詞:ARM  Linux  SAM-BA  Ubuntu  arm-none-eabi-gcc  抵岸科技

SAM-BA要定製,故而要安裝arm-none-eabi-gcc。

輸入命令:

chmod +x arm-2010q1-188-arm-none-eabi.bin

./arm-2010q1-188-arm-none-eabi.bin

但在安裝的過程中卻有如下提示:

Checking for required programs: awk grep sed bzip2 gunzip

Preparing to install...

Extracting the JRE from the installer archive...

Unpacking the JRE...

Extracting the installation resources from the installer archive...

Configuring the installer for this system's environment...

 

Launching installer...

 

Invocation of this Java Application has caused an InvocationTargetException. This application will now exit. (LAX)

 

Stack Trace:

java.awt.HeadlessException:

No X11 DISPLAY variable was set, but this program performed an operation which requires it.

        at java.awt.GraphicsEnvironment.checkHeadless(Unknown Source)

        at java.awt.Window.<init>(Unknown Source)

        at java.awt.Frame.<init>(Unknown Source)

        at java.awt.Frame.<init>(Unknown Source)

        at javax.swing.JFrame.<init>(Unknown Source)

        at com.zerog.ia.installer.LifeCycleManager.g(DashoA10*..)

        at com.zerog.ia.installer.LifeCycleManager.h(DashoA10*..)

        at com.zerog.ia.installer.LifeCycleManager.a(DashoA10*..)

        at com.zerog.ia.installer.Main.main(DashoA10*..)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

        at java.lang.reflect.Method.invoke(Unknown Source)

        at com.zerog.lax.LAX.launch(DashoA10*..)

        at com.zerog.lax.LAX.main(DashoA10*..)

This Application has Unexpectedly Quit: Invocation of this Java Application has caused an InvocationTargetException. This application will now exit. (LAX)

增加環境變量:

export DISPLAY=localhost:0

解決如下提示:

No X11 DISPLAY variable was set, but this program performed an operation which requires it.

安裝時輸入如下命令:

./arm-2010q1-188-arm-none-eabi.bin -i console

萬ERROR休矣!!!

發佈了20 篇原創文章 · 獲贊 3 · 訪問量 5萬+
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章