mp3播放器madplay移植过程发生错误
在配置libid3tag-0.15.1b,错误信息(一):
checking zlib.h usability... no
checking zlib.h presence... no
checking for zlib.h... no
configure: error: zlib.h was not found
*** You must first install zlib (libz) before you can build this package.
*** If zlib is already installed, you may need to use the CPPFLAGS
*** environment variable to specify its installed location, e.g. -I<dir>.
从上面的错误信息提示,可以知道要安装zlib库。
解决办法:
1、下载zlib-1.2.3.tar.gz,然后解压:tar xjf zlib-1.2.3.tar.gz
2、在zlib-1.2.3目录下执行: