A customer of mine still uses Ubuntu 12.04 x86_64 as a software development environment, even though Ubuntu 16.04 x86_64 is available as of this posting.
When configuring the alsa-utils 1.1.2 package the following error happens:
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
The same configuration completes successfully on Ubuntu 16.04 x86_64.
What is the best way to debug this error?
The configure command is:
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
Check the config.log
file that is generated, it'll show how the build command that tried to make a test program link with libpanel
failed.