免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
楼主: 周涛
打印 上一主题 下一主题

gd 的安装:高手请近。在线等!!! [复制链接]

论坛徽章:
0
11 [报告]
发表于 2004-01-02 11:13 |只看该作者

gd 的安装:高手请近。在线等!!!

[quote]原帖由 "周涛"]路径没问题[/quote 发表:


相关软件那?

论坛徽章:
0
12 [报告]
发表于 2004-01-02 11:13 |只看该作者

gd 的安装:高手请近。在线等!!!

找个pkg试试。另外,好象sol里带gd吧。

论坛徽章:
0
13 [报告]
发表于 2004-01-02 11:14 |只看该作者

gd 的安装:高手请近。在线等!!!

装了,你可以上来看看呀

论坛徽章:
0
14 [报告]
发表于 2004-01-02 11:17 |只看该作者

gd 的安装:高手请近。在线等!!!

[quote]原帖由 "周涛"]装了,你可以上来看看呀[/quote 发表:


今天不行了,我马上要去驾校学车了
实在不行,就到sunfreeware下载一个二进制的
祝好运

论坛徽章:
0
15 [报告]
发表于 2004-01-02 11:18 |只看该作者

gd 的安装:高手请近。在线等!!!

好呀

论坛徽章:
0
16 [报告]
发表于 2004-01-02 11:24 |只看该作者

gd 的安装:高手请近。在线等!!!

我在CONFIGURE的时候出现:
# ./configure --disable-shared \
--without-freetype\
--without-jpeg \

configure: WARNING: you should use --build, --host, --target
configure: WARNING: invalid host type:  
checking for a BSD-compatible install... config/install-sh -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets $(MAKE)... yes
checking for -gcc... no
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for gcc option to accept ANSI C... none needed
checking for a BSD-compatible install... config/install-sh -c
checking build system type... config.sub: missing argument
Try `config.sub --help' for more information.
configure: error: /bin/bash config/config.sub   failed
# --without-freetype : not found
# --without-jpeg: not found


是为什么呀!

论坛徽章:
1
荣誉版主
日期:2011-11-23 16:44:17
17 [报告]
发表于 2004-01-02 12:08 |只看该作者

gd 的安装:高手请近。在线等!!!

论坛徽章:
1
荣誉会员
日期:2011-11-23 16:44:17
18 [报告]
发表于 2004-01-02 12:41 |只看该作者

gd 的安装:高手请近。在线等!!!

从以上信息可以看出
1、GCC已经装了。
2、README.TXT告诉你应该看看INSTALL这个文件。
3、configure: WARNING: you should use --build, --host, --target
configure: WARNING: invalid host type:
……
# --without-freetype : not found
# --without-jpeg: not found

这些信息是说./configure后面跟的参数不对,答案应该在文件INSTALL里找。

论坛徽章:
0
19 [报告]
发表于 2004-01-02 13:46 |只看该作者

gd 的安装:高手请近。在线等!!!

我重新安装的GD,(安装了sunfreeware上要求的所有的PKG),之后安装成功,下来我在安装MRTG的时候(我安装GD的原因就是我要用mrtg)出现了下面的MESSAGES:
./configure --prefix=/usr/local/mrtg-2

checking for gd.h... yes

** The GD library is required for rateup to compile.
   Get it from http://www.boutell.com, compile it and
   use either --with-gd-lib=DIR and --with-gd-inc=DIR to specify
   its location. You might also have to use --with-z-inc, --with-z-lib
   and --with-png-inc, --with-png-lib for gd versions 1.6 and higher.
   Check config.log for more information on the problem. If your system
   has libgd installed, you probably mis the gd.h header file.

   Consider following the instructions in doc/unix-guide.txt

但是我在/usr/local/include 下找到了gd.h.

是哪里有错误呀!

论坛徽章:
0
20 [报告]
发表于 2004-01-02 13:51 |只看该作者

gd 的安装:高手请近。在线等!!!

俺在RH8上装过,当时是为了安装bugzilla,也遇到过这个问题,后来我是用wget,去网站上安装的,后来,换过低版本的,手工编译也行了
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP