![](/img/trans.png)
[英]Ada compiler crashes with “Ada compiler not installed on this system.” after downgrading gcc version
[英]Pascal compiler not installed on this system?
我正在嘗試運行一個程序,在它的描述中顯示它需要“免費的GCC(C)和GPC(Pascal)編譯器”。 我正在運行32位Ubuntu 10.04,並安裝了軟件包“ GPC-4.1”和“ GPC”。
我已經檢查了我的gpc版本:
$ gpc --version
gpc 20070904, based on gcc-4.1.3 20080704 (prerelease) (Ubuntu 2.1-4.1.2-27ubuntu2)
所以我相信GPC已成功安裝。但是當我運行該程序時,它仍然顯示:
gcc: /home/source/fmopt.pas: Pascal compiler not installed on this system
cc1: error: unrecognized command line option "-fautomake"
我想念什么? 謝謝!
請試試
sudo apt-get update
sudo apt-get install build-essential
上面的命令應為ubuntu安裝所有必要的構建工具,例如Gnu編譯器集合(gcc)工具等。 無論您的系統缺少什么,我想這些命令都有可能修復它。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.