報錯資訊:
首先,在執行./configure時,留意最後輸出結果保證正常執行完成,正常完成應該是沒有error字元的,例如:
如果報:Unable to find ImageMagick,安裝ImageMagick和libmagickwand-dev
如果報: error: no suitable Python interpreter found
說明沒有python環境或現有python和zbar需要的版本不一緻,如果沒有涉及到python,添加參數--without-python
如果報:configure: error: test for video support failed!
rebuild your kernel to include video4linux support or
configure --disable-video to skip building video support.
添加--disable-video 參數
例如我的最後執行./configure參數: