免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 3382 | 回复: 3
打印 上一主题 下一主题

solaris10 for sparc下想编译mrtg有什么简单办法。 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-12-08 23:44 |只看该作者 |倒序浏览
原始安装的solaris里缺少gd这个东西,想编译gd却缺少其他不少lib,编译出错。在sunfreeware上下了个安装pkg来装,结果能装上去,但是configure mrtg时还是出错说没有 gd。

论坛徽章:
0
2 [报告]
发表于 2006-12-09 08:42 |只看该作者
Sounds like the configure can\'t find your gd library. Try ./configure --with-gd=/usr/local/src/gd , substitute /usr/local/src/gd with your the path of where your gd library resides. The procedure is described in mrtg-unix-guide from mrtg.org. Depending on what pkgs are installed on your system, you may miss other libraries.

论坛徽章:
0
3 [报告]
发表于 2006-12-28 13:20 |只看该作者
还是找不到。\r\n
\r\nchecking for gdImageGif in -lgd... no\r\nchecking for gdImagePng in -lgd... no\r\nchecking for gdImagePng_jpg in -lgd... no\r\nchecking for gdImagePng_jpg_ft in -lgd... no\r\nchecking for gdImageGd in -lgd... no\r\n\r\n

论坛徽章:
0
4 [报告]
发表于 2007-03-16 17:47 |只看该作者
我跟楼主遇到同样的问题,系统是solaris10 for x86\r\n照着mrtg-unix-guide配\r\n从sunfreeware上下的zlib,libpng,gd的二进制包\r\nconfigure的时候include和lib都指定的很明确,如下\r\n./configure --prefix=/usr/local/mrtg-2 --with-gd-lib=/usr/local/lib --with-gd-inc=/usr/local/include/ --with-z-lib=/usr/local/lib --with-z-inc=/usr/local/include/ --with-png-lib=/usr/local/lib --with-png-inc=/usr/local/include/\r\n\r\n错误提示如下,就是过不去,无法生成Makefile文件,谁能指点一下\r\n\r\nchecking for gdImageGif in -lgd... no\r\nchecking for gdImagePng in -lgd... no\r\nchecking for gdImagePng_jpg in -lgd... no\r\nchecking for gdImagePng_jpg_ft in -lgd... no\r\nchecking for gdImageGd in -lgd... no\r\nchecking gd.h usability... yes\r\nchecking gd.h presence... yes\r\nchecking for gd.h... yes\r\n\r\n** Ooops, one of many bad things happened:\r\n\r\n   a)  You don\'t have the GD library installed.\r\n       Get it from http://www.boutell.com, compile it and\r\n       use either --with-gd-lib=DIR and --with-gd-inc=DIR to specify\r\n       its location. You might also have to use --with-z-inc,\r\n             --with-z-lib and --with-png-inc, --with-png-lib for gd\r\n             versions 1.6 and higher.  Check config.log for more\r\n       information on the problem.\r\n\r\n   b)  You have the GD library installed, but not the gd.h\r\n       header file.  Download the source (see above) and use\r\n       --with-gd-inc=DIR to specify where the file can be found.\r\n\r\n   c)  You have the library and the header file installed, but\r\n       you also have a shared GD library in the same directory. \r\n       Remove the shared library files and/or links (e.g. \r\n       libgd.so.2.0.0, libgd.so and libgd.so.2).  This is especially\r\n             likely if you\'re using a recent (post 1.8.4) version of GD\r\n       and didn\'t configure it with --disable-shared.\r\n\r\n   d)  You have gd library installed and also it\'s headers, but you are\r\n       missing libpng (and headers) or freetype (and headers)\r\n       (mrtg does not use freetype, but if your copy of gd is precompiled\r\n       against it, you have to install it ...
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP