LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1003|回复: 12

关于在bugzilla中使用postfix作为MTA的问题

[复制链接]
发表于 2003-9-26 17:59:57 | 显示全部楼层 |阅读模式
环境:RH9+bugzilla1.74.1+postfix-1.1.11-11
服务器双网卡,一个是静态IP,一个是局域网IP。
现在在bugzilla中new一个bug,commit以后就会报如下错误。
我已经卸载了RH9中自带的sendmail,当前的postfix也是使用RH9中自带的
应该如何解决?

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
 楼主| 发表于 2003-9-26 18:03:31 | 显示全部楼层
另外想给perl安装GD模块,但是下载之后安装出现以下错误
[root@linux9 bugzilla]# cd GD-2.07
[root@linux9 GD-2.07]# ls
bdf_scripts  demos  GD.pm     Makefile.PL  qd.pl             README.unix
blib         GD     GD.xs     MANIFEST     README            t
ChangeLog    GD.c   Makefile  pm_to_blib   README.QUICKDRAW  typemap
[root@linux9 GD-2.07]# perl Makefile.PL

NOTICE: This module requires libgd 2.0.12 or higher.
        it will NOT work with earlier versions.
        See www.cpan.org for versions of GD that are compatible
        with earlier versions of libgd.

Type perl Makefile.PL -h for command-line option summary

Where is libgd installed? [/usr/lib]

Please choose the features that match how libgd was built:
Build JPEG support? [y]
Build FreeType support? [y]
Build XPM support? [y]

If you experience compile problems, please check the @INC, @LIBPATH and @LIBS
arrays defined in Makefile.PL and manually adjust, if necessary.

WARNING: CAPI is not a known parameter.
Writing Makefile for GD

[root@linux9 GD-2.07]# make
gcc -c  -I/usr/local/include -I/usr/local/include/gd -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -march=i386 -mcpu=i686 -g   -DVERSION=\"2.07\" -DXS_VERSION=\"2.07\" -fPIC "-I/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE"  -DHAVE_JPEG -DHAVE_FT -DHAVE_XPM GD.c
GD.xs: In function `newDynamicCtx':
GD.xs:388: structure has no member named `gd_free'
GD.xs: In function `gd_cloneDim':
GD.xs:408: structure has no member named `alpha'
GD.xs:408: structure has no member named `alpha'
GD.xs:414: structure has no member named `thick'
GD.xs:414: structure has no member named `thick'
GD.xs: In function `XS_GD__Image_newFromPngData':
GD.xs:542: structure has no member named `gd_free'
GD.xs: In function `XS_GD__Image_newFromGdData':
GD.xs:561: structure has no member named `gd_free'
GD.xs: In function `XS_GD__Image_newFromGd2Data':
GD.xs:578: structure has no member named `gd_free'
GD.xs: In function `XS_GD__Image_newFromJpegData':
GD.xs:598: structure has no member named `gd_free'
GD.xs: In function `XS_GD__Image_newFromWBMPData':
GD.xs:623: structure has no member named `gd_free'
GD.xs: In function `XS_GD__Image_copyRotate90':
GD.xs:984: invalid lvalue in assignment
GD.xs:984: invalid lvalue in assignment
GD.xs: In function `XS_GD__Image_copyRotate180':
GD.xs:1005: invalid lvalue in assignment
GD.xs:1005: invalid lvalue in assignment
GD.xs: In function `XS_GD__Image_copyRotate270':
GD.xs:1026: invalid lvalue in assignment
GD.xs:1026: invalid lvalue in assignment
GD.xs: In function `XS_GD__Image_copyFlipHorizontal':
GD.xs:1047: invalid lvalue in assignment
GD.xs:1047: invalid lvalue in assignment
GD.xs: In function `XS_GD__Image_copyFlipVertical':
GD.xs:1068: invalid lvalue in assignment
GD.xs:1068: invalid lvalue in assignment
GD.xs: In function `XS_GD__Image_copyTranspose':
GD.xs:1089: invalid lvalue in assignment
GD.xs:1089: invalid lvalue in assignment
GD.xs: In function `XS_GD__Image_copyReverseTranspose':
GD.xs:1110: invalid lvalue in assignment
GD.xs:1110: invalid lvalue in assignment
GD.xs: In function `XS_GD__Image_rotate180':
GD.xs:1130: invalid lvalue in assignment
GD.xs:1130: invalid lvalue in assignment
GD.xs:1131: invalid lvalue in assignment
GD.xs:1131: invalid lvalue in assignment
GD.xs: In function `XS_GD__Image_flipHorizontal':
GD.xs:1148: invalid lvalue in assignment
GD.xs:1148: invalid lvalue in assignment
GD.xs:1149: invalid lvalue in assignment
GD.xs:1149: invalid lvalue in assignment
GD.xs: In function `XS_GD__Image_flipVertical':
GD.xs:1166: invalid lvalue in assignment
GD.xs:1166: invalid lvalue in assignment
GD.xs:1167: invalid lvalue in assignment
GD.xs:1167: invalid lvalue in assignment
GD.xs: In function `XS_GD__Image_stringFT':
GD.xs:1756: `gdFTStringExtra' undeclared (first use in this function)
GD.xs:1756: (Each undeclared identifier is reported only once
GD.xs:1756: for each function it appears in.)
GD.xs:1756: parse error before "strex"
GD.xs:1775: `strex' undeclared (first use in this function)
GD.xs:1779: `gdFTEX_LINESPACE' undeclared (first use in this function)
GD.xs:1783: `gdFTEX_CHARMAP' undeclared (first use in this function)
GD.xs:1785: `gdFTEX_Unicode' undeclared (first use in this function)
GD.xs:1787: `gdFTEX_Shift_JIS' undeclared (first use in this function)
GD.xs:1789: `gdFTEX_Big5' undeclared (first use in this function)
GD.xs:1793: warning: assignment makes pointer from integer without a cast
make: *** [GD.o] Error 1
[root@linux9 GD-2.07]#
 楼主| 发表于 2003-9-26 18:47:19 | 显示全部楼层
给perl安装GD模块的问题解决了,原因是没有安装最新的GDlib
 楼主| 发表于 2003-9-26 18:55:33 | 显示全部楼层
安装完GD之后,bug的图形统计看上去还是不错的
谁能帮我解决一下首贴的问题?解决完了,这个bugzilla系统就很完善了!

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
 楼主| 发表于 2003-9-27 01:54:12 | 显示全部楼层
顶一下
发表于 2003-9-27 10:10:46 | 显示全部楼层
共同关注,Bugzilla如果不修改代码的话,似乎只支持Sendmail,不能使用postfix代替。其实我也是没有配置Sendmail,报错就让它去报了。
 楼主| 发表于 2003-9-27 13:12:47 | 显示全部楼层
问题是报错倒也罢了,只是现在如果报错那么新的bug在数据库里也存不上了,新的comment也添加不上
发表于 2003-9-27 15:46:32 | 显示全部楼层
怎么会这样,我的Bugzilla干脆没有配置任何MTA,提交的时候虽然报个错,但是在数据库里面也能看到提交上去的BUG。要不你把postfix卸了看看?
 楼主| 发表于 2003-9-27 19:21:34 | 显示全部楼层
就是啊,在没有启动postfix之前,bugzilla是好用的,而且连错也不报的,就像没有邮件功能一样,后来我启动了postfix,就开始报错,新的bug也存不上了。现在我已经停下了postfix,并且把bugzilla中的参数sendmailnow也设置成no了,仍然报错。
晕死了,公司等着用啊
 楼主| 发表于 2003-9-27 19:22:32 | 显示全部楼层
最初由 Sworder 发表
怎么会这样,我的Bugzilla干脆没有配置任何MTA,提交的时候虽然报个错,但是在数据库里面也能看到提交上去的BUG。要不你把postfix卸了看看?


bugzilla中有设置MTA的参数吗?postfix是用源码编译安装的,不太容易卸载啊
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表