|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
如果您觉得本篇CentOSLinux教程讲得好,请记得点击右边漂浮的分享程序,把好文章分享给你的好朋友们!Centos6.2装置libpng毛病信息configure:error:ZLibnotinstalled
在编译libpng-1.5.8.tar.gz的时分报错,configure:error:ZLibnotinstalled,我是利用的以下包举行编译的
zlib-1.2.6.tar.gzlibpng-1.5.8.tar.gz
办理***:
1.进进zlib-1.2.6的源文件目次,实行下令makeclean,扫除zlib;
2.从头设置./configure,前面不要接--prefix参数;
3.编译make&&装置makeinstall;
4.进进libpng-1.5.8目次,实行下令./configure--prefix=/usr/local/libpng;
5.编译make&&装置makeinstall;
6.装置乐成;
make[2]:Leavingdirectory`/tmp/libpng-1.5.8
test-z"/usr/local/libpng/share/man/man3"||/bin/mkdir-p"/usr/local/libpng/share/man/man3"
/usr/bin/install-c-m644libpng.3libpngpf.3/usr/local/libpng/share/man/man3
test-z"/usr/local/libpng/share/man/man5"||/bin/mkdir-p"/usr/local/libpng/share/man/man5"
/usr/bin/install-c-m644png.5/usr/local/libpng/share/man/man5
test-z"/usr/local/libpng/include/libpng15"||/bin/mkdir-p"/usr/local/libpng/include/libpng15"
/usr/bin/install-c-m644pnglibconf.h/usr/local/libpng/include/libpng15
test-z"/usr/local/libpng/lib/pkgconfig"||/bin/mkdir-p"/usr/local/libpng/lib/pkgconfig"
/usr/bin/install-c-m644libpng15.pc/usr/local/libpng/lib/pkgconfig
test-z"/usr/local/libpng/include/libpng15"||/bin/mkdir-p"/usr/local/libpng/include/libpng15"
/usr/bin/install-c-m644png.hpngconf.h/usr/local/libpng/include/libpng15
makeinstall-data-hook
make[2]:Enteringdirectory`/tmp/libpng-1.5.8
cd/usr/local/libpng/include;rm-fpng.hpngconf.hpnglibconf.h
cd/usr/local/libpng/include;ln-slibpng15/png.hpng.h
cd/usr/local/libpng/include;ln-slibpng15/pngconf.h
pngconf.h
cd/usr/local/libpng/include;ln-slibpng15/pnglibconf.h
pnglibconf.h
cd/usr/local/libpng/lib/pkgconfig;rm-flibpng.pc
cd/usr/local/libpng/lib/pkgconfig;ln-slibpng15.pclibpng.pc
make[2]:Leavingdirectory`/tmp/libpng-1.5.8
make[1]:Leavingdirectory`/tmp/libpng-1.5.8
[root@centoslibpng-1.5.8]#
目次已创建:
[root@centostmp]#cd/usr/local/libpng/
[root@centoslibpng]#ls
binincludelibshare
[root@centoslibpng]#
如果您觉得本篇CentOSLinux教程讲得好,请记得点击右边漂浮的分享程序,把好文章分享给你的好朋友们! |
|