CPAN GD module install failure using Cygwin

北城以北 提交于 2019-12-05 09:02:59

I believe you have two versions of the GD library installed. One in /usr and one in /usr/local. It's using the header file from /usr and the shared libraries from /usr/local. The hint is this.

** WARNING: found gd.h header file in /usr/include/gd.h, but it is expected at /usr/local/include/gd.h. This may cause compile errors! **

You probably have only the GD runtime (shared library) installed in /usr/local. In desperation, GD.pm is grabbing the headers from the default location in /usr.

Try installing both the libgd3 and libgd-devel Cygwin packages and removing whatever parts of libgd is in /usr/local. In particular, make sure which gdlib-config points at /usr/bin/gdlib-config.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!