Build Resin on "Red Hat Enterprise Linux AS release 3 (Taroon)"

原创 2004年08月06日 15:47:00

$  cat /etc/issue

$  Red Hat Enterprise Linux AS release 3 (Taroon)

先编译好apache,加上 --enable-module=so --enable-module=rewrite 参数

然后build resin-2.1.13。

在该版本的linux上编译resin-2*会提示

$  make
[...]
/usr/include/openssl/kssl.h:169: syntax error before "enctype"
In file included from spamc/utils.h:28,
                 from spamc/libspamc.c:20:
/usr/include/openssl/ssl.h:909: syntax error before "KSSL_CTX"
/usr/include/openssl/ssl.h:931: syntax error before '}' token
In file included from /usr/include/openssl/ssl.h:179,
                 from spamc/utils.h:28,
                 from spamc/utils.c:40:
/usr/include/openssl/kssl.h:72:18: krb5.h: No such file or directory
In file included from /usr/include/openssl/ssl.h:179,
                 from spamc/utils.h:28,
                 from spamc/utils.c:40:
/usr/include/openssl/kssl.h:134: syntax error before "krb5_enctype"
/usr/include/openssl/kssl.h:136: syntax error before '*' token
/usr/include/openssl/kssl.h:137: syntax error before '}' token
/usr/include/openssl/kssl.h:149: syntax error before "kssl_ctx_setstring"
/usr/include/openssl/kssl.h:149: syntax error before '*' token
/usr/include/openssl/kssl.h:150: syntax error before '*' token
[...]

产生问题原因:

In this case, the Kerberos include files are in /usr/kerberos/include, so you need to modify the make line appropriately:

解决方法:

The solution is to either add the Kerberos headers to gcc's header search path, or prevent OpenSSL from trying to use the Kerberos includes in the first place. To tell OpenSSL you really don't want kerberos, just run

export LOCALDEFS="-DOPENSSL_NO_KRB5"
(as suggested by Ken Murchison on info-cyrus) before you run ./configure. Alternately, you can tell gcc where to find the Kerberos includes so that it'll stop complaining:

export C_INCLUDE_PATH="/usr/kerberos/include"
If neither of these work, make sure you have the Kerberos development libraries installed ( you should have if you have openssl-devel, but one never does know ...). If you run rpm -q openssl-devel krb5-devel you should get a result like:

openssl-devel-0.9.7a-23
krb5-devel-1.3.1-6

在Red Hat Enterprise Linux AS release 3 (Taroon) 配置TOMCAT

在Red Hat Enterprise Linux AS release 3 (Taroon) 配置TOMCAT安装JDK我自己安装的是jdk1.5.0_09版本 在目录/usr/java/jdk1....
  • xuejiayue1105
  • xuejiayue1105
  • 2007-03-01 17:39:00
  • 1477

oracle for linux

  • 2014年08月01日 17:57
  • 61KB
  • 下载

yum源,系统版本:Red Hat Enterprise Linux Server release 6.8 (Santiago)

  • 2017年10月27日 10:55
  • 2KB
  • 下载

Red Hat Enterprise Linux AS release 4 (Nahant Update 4)yum及libaio安装

Red Hat Enterprise Linux AS release 4 (Nahant Update 4)简称as4.Linux上常用的安装和升级工具主要有yum和apt,其中yum能更好的解决r...
  • symgdwyh
  • symgdwyh
  • 2010-07-28 14:05:00
  • 6826

lunix常用命令和技巧(Red Hat Enterprise Linux Server release 6.2)

查看系统版本cat \etc\redhat-release查询进程ps -aux|more查看磁盘df -h #M df -k #kb查看内存free -m cat /proc/meminfoCPUc...
  • Kmodmy
  • Kmodmy
  • 2016-04-14 12:27:43
  • 1183

Red Hat Enterprise Linux Server release 5.5 (Tikanga) 逻辑卷 在线扩展

和之前版本的区别e2fsck -f /dev/volume-test/voresize2fs /dev/volume-test/vo
  • sustwct
  • sustwct
  • 2010-12-31 10:43:00
  • 1176

Red Hat Enterprise Linux Server release 7.1 (Maipo) 安装gcc 的几种方式

linux中没有默认安装的gcc,网上查找了一番,问题还是很多 [root@localhost local]# gcc bash: gcc: command not found... red hat中...
  • jianm_liu
  • jianm_liu
  • 2017-10-23 11:04:41
  • 866

Red Hat Enterprise Linux Server release 6.3 实现双网卡绑定

Red Hat Enterprise Linux Server release 6.3 实现双网卡绑定 查看OS版本 # cat /etc/issue Red Hat Enterprise Linu...
  • levy_cui
  • levy_cui
  • 2016-04-13 10:21:07
  • 723

Red Hat Enterprise Linux Server release 6.4 x64 安装 yum 源

本想将mongodb安装到redhat中,yum不能使用,看网上说可以另外安装。 试了几次网上的,没有成功。看着看着也发现规律,知道怎么改了。 先把自带的卸载: rpm -aq | grep yu...
  • kk185800961
  • kk185800961
  • 2015-05-01 13:58:41
  • 9071

Red Hat Enterprise Linux AS 4 Update 3 (x86) 开始提供下载了

以下URL已经过期,如果需要下载,请自行到Red Hat网站注册一下,申请一个试用的激活号,激活后就可以下载了。 ...
  • nizhigang2000
  • nizhigang2000
  • 2006-04-24 10:02:00
  • 3930
收藏助手
不良信息举报
您举报文章:Build Resin on "Red Hat Enterprise Linux AS release 3 (Taroon)"
举报原因:
原因补充:

(最多只允许输入30个字)