./configure问题
checking for HAL... Package hal was not found in the pkg-config search path.
Perhaps you should add the directory containing `hal.pc'
to the PKG_CONFIG_PATH environment variable
No package 'hal' found
configure: error: Package requirements (hal) were not met:
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables HAL_CFLAGS
and HAL_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
[root@localhost libopenusb-1.0.1]# find / -iname "hal.pc"
/root/usr/lib/pkgconfig/hal.pc
[root@localhost libopenusb-1.0.1]# export PKG_CONFIG_PATH=/root/usr/lib/pkgconfig
[root@localhost libopenusb-1.0.1]# ./configure