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 Linux相关产品iso镜像下载【百度云】【更新7.2】

RedHat Enterprise Server 6.7 for i386 Boot Disk: rhel-server-6.7-i386-boot.iso SHA-256 Checksum: ...
  • yaer123
  • yaer123
  • 2016年01月06日 16:49
  • 39806

Linux【Red Hat】——samba服务器的配置

一、简介   Samba是一个能让Linux系统应用Microsoft网络通讯协议的软件,而SMB是Server Message Block的缩写,即为服务器消息块 ,SMB主要是作为Microso...
  • liaoxu02
  • liaoxu02
  • 2015年06月20日 10:59
  • 1089

红帽 Red Hat Linux相关产品iso镜像下载【百度云】

不为什么,就为了方便搜索,特把红帽EL 5、EL6、EL7 的各版本整理一下,共享出来。 预发布 6.9 : RedHat Enterprise Server 6.9 for x86_64: ...
  • qinglu
  • qinglu
  • 2017年07月07日 11:50
  • 2540

Red Hat Enterprise Linux Server release 5.6 安装 MongoDB 2.6.4

1:下载 [jifeng@jifeng04 ~]$ wget http://downloads.mongodb.org/linux/mongodb-linux-x86_64-2.6.4.tgz --...
  • wind520
  • wind520
  • 2014年09月03日 14:30
  • 1886

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
  • 1052

Linux(Red Hat Enterprise Linux 6)安装Oracle(12c Release 2)数据库

Linux(Red Hat Enterprise Linux 6)安装Oracle(12c Release 2)数据库
  • timyao17
  • timyao17
  • 2017年03月30日 17:32
  • 569

How To Install And Configure Ganglia On Red Hat Enterprise Linux 5---YUM 安装篇

 How To Install And Configure Ganglia On Red Hat Enterprise Linux 5Filed under: Linux, SysAdmin — ...
  • superxgl
  • superxgl
  • 2011年02月07日 17:28
  • 671

VNC 服务端的安装、配置和使用(Red Hat Enterprise Linux AS4)

【转自:http://book.51cto.com/art/200804/70724.htm】 VNC概述 VNC(virtual network computing),是...
  • nivana999
  • nivana999
  • 2012年02月02日 15:09
  • 786

Red Hat Enterprise Linux AS 5服务器配置 vsftpd

一、安装和启动 1.可用以下命令查询是否已安装: 程序代码 #rpm -qa|grep vsftpd  ---检测系统中是否已经安装了vsftpd,如果没有安装则提示not install th...
  • suiyi_vs_yongyuan
  • suiyi_vs_yongyuan
  • 2012年04月08日 14:40
  • 308

Red Hat Enterprise Linux 4 AS 下简单svnserve配置及使用 (svn version 1.1.4)

1.假设SVN数据库目录为/home/svn/projects 2.启动svn     svnserve -d --listen-port 9999 -r /home/svn/projec...
  • cywosp
  • cywosp
  • 2012年03月26日 09:15
  • 1246
内容举报
返回顶部
收藏助手
不良信息举报
您举报文章:Build Resin on "Red Hat Enterprise Linux AS release 3 (Taroon)"
举报原因:
原因补充:

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