2016-11-23 79 views
0

我的一位客戶仍然使用Ubuntu 12.04 x86_64作爲軟件開發環境,儘管Ubuntu 16.04 x86_64在本文中可用。如何在Ubuntu 12.04上調試autoconf失敗構建alsa-utils 1.1.2?

當配置了alsa-utils的1.1.2包下列錯誤發生的情況:

checking panel.h usability... yes 
checking panel.h presence... yes 
checking for panel.h... yes 
checking menu.h usability... yes 
checking menu.h presence... yes 
checking for menu.h... yes 
checking form.h usability... yes 
checking form.h presence... yes 
checking for form.h... yes 
checking for new_panel in -lpanel... no 
configure: error: panel library not found 

相同的配置在Ubuntu 16.04 x86_64的成功完成。

調試此錯誤的最佳方法是什麼?

configure命令是:

configure \ 
    --target=x86_64-buildroot-linux-gnu \ 
    --host=x86_64-buildroot-linux-gnu \ 
    --build=x86_64-pc-linux-gnu \ 
    --prefix=/usr \ 
    --exec-prefix=/usr \ 
    --sysconfdir=/etc \ 
    --localstatedir=/var \ 
    --program-prefix="" \ 
    --disable-dependency-tracking \ 
    --disable-xmlto \ 
    --with-curses=ncurses \ 
    --disable-alsaloop \ 
    --disable-bat 

回答

1

檢查所生成的文件config.log,它會顯示,試圖使測試程序鏈接與libpanel構建命令是如何失敗。