發現可以成功安裝的方法了,這邊更新一下安裝成功的方式,一樣是在sumo的官方網站下載,下載的是sumo-src-0.16.0.tar.gz,方法如下:
$ tar zxvf sumo-src-0.16.0.tar.gz $ cd sumo-0.16.0/ $ ./configure ... ... checking for XERCES... no checking for main in -lxerces-c... no configure: error: xerces-lib not found. Specify path with option --with-xerces-libraries=DIR.因為缺了xerces所以沒辦法裝,在這邊可以下載,為了保險起見,還是抓原始檔自己編譯好。