Is anyone successfully using dag's keepalived-1.1.10-1.1.el3.rf on centos 3.4?
It's giving me some strange issues (LVS Topology never shows up, even though I can manually set it w/ ipvsadm)
Attempting to rebuild it has been less than successful, as anyone who tries will see in their appropriate BUILD/keepalived-1.1.10/config.log and in the rpmbuild output. It complains about openssl and kssl.h... (see bellow) However, I have the latest openssl-devel and krb5-devel rpms installed.
Before I spend any more time on this. I'd love to know if anyone is actually successfully using it, has rebuild it or it's just me....
Thanks -Joe
rpmbuild -bb keepalived-1.1.10-rf.spec
snip
checking openssl/ssl.h usability... no checking openssl/ssl.h presence... no checking for openssl/ssl.h... no configure: error: !!! OpenSSL is not properly installed on your system. !!! !!! Can not include OpenSSL headers files. !!! error: Bad exit status from /var/tmp/rpm-tmp.10617 (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.10617 (%build) [root@directort SPECS]# rm /usr/include/openssl/krb5.h rm: remove regular file `/usr/include/openssl/krb5.h'? yes [root@directort SPECS]# rpm -q openssl-devel openssl-devel-0.9.7a-33.12 [root@directort SPECS]# rpm -q krb5-devel krb5-devel-1.2.7-38 [root@directort SPECS]#
[root@directort redhat]# cat BUILD/keepalived-1.1.10/config.log | grep kssl.h /usr/include/openssl/kssl.h:72:18: krb5.h: No such file or directory /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 /usr/include/openssl/kssl.h:151: syntax error before '*' token /usr/include/openssl/kssl.h:151: syntax error before '*' token /usr/include/openssl/kssl.h:152: syntax error before '*' token /usr/include/openssl/kssl.h:153: syntax error before "kssl_ctx_setprinc" /usr/include/openssl/kssl.h:153: syntax error before '*' token /usr/include/openssl/kssl.h:155: syntax error before "kssl_cget_tkt" /usr/include/openssl/kssl.h:155: syntax error before '*' token /usr/include/openssl/kssl.h:157: syntax error before "kssl_sget_tkt" /usr/include/openssl/kssl.h:157: syntax error before '*' token /usr/include/openssl/kssl.h:159: syntax error before "kssl_ctx_setkey" /usr/include/openssl/kssl.h:159: syntax error before '*' token /usr/include/openssl/kssl.h:161: syntax error before "context" /usr/include/openssl/kssl.h:162: syntax error before "kssl_build_principal_2" /usr/include/openssl/kssl.h:162: syntax error before "context" /usr/include/openssl/kssl.h:165: syntax error before "kssl_validate_times" /usr/include/openssl/kssl.h:165: syntax error before "atime" /usr/include/openssl/kssl.h:167: syntax error before "kssl_check_authent" /usr/include/openssl/kssl.h:167: syntax error before '*' token /usr/include/openssl/kssl.h:169: syntax error before "enctype" /usr/include/openssl/kssl.h:72:18: krb5.h: No such file or directory
On Mon, 21 Feb 2005, Joe Sauer wrote:
Is anyone successfully using dag's keepalived-1.1.10-1.1.el3.rf on centos 3.4?
It's giving me some strange issues (LVS Topology never shows up, even though I can manually set it w/ ipvsadm)
Attempting to rebuild it has been less than successful, as anyone who tries will see in their appropriate BUILD/keepalived-1.1.10/config.log and in the rpmbuild output. It complains about openssl and kssl.h... (see bellow) However, I have the latest openssl-devel and krb5-devel rpms installed.
Before I spend any more time on this. I'd love to know if anyone is actually successfully using it, has rebuild it or it's just me....
Like explained in the FAQ (http://dag.wieers.com/home-made/apt/FAQ.php#E1), you need to build with
--define "dist el3"
and you need to have the kernel-source package installed in order to build the ipvs support. Please compare it with my buildlogs if you want to understand how I am building this in more detail.
Can't help with the problem you have though :/
Kind regards, -- dag wieers, dag@wieers.com, http://dag.wieers.com/ -- [all I want is a warm bed and a kind word and unlimited power]
On Tue, 2005-02-22 at 00:40 +0100, Dag Wieers wrote:
Like explained in the FAQ (http://dag.wieers.com/home- made/apt/FAQ.php#E1), you need to build with
--define "dist el3"
and you need to have the kernel-source package installed in order to build the ipvs support. Please compare it with my buildlogs if you want to understand how I am building this in more detail.
Can't help with the problem you have though :/
Kind regards,
That did indeed fix the build issues.
Thank you Dag.
-Joe
The topology issue is basically due to fact the default package is being build w/o IPVS; which I found a bit odd but it makes sense if you only need the vrrp framework.
However I've so far been unsuccessful in building it w/ IPVS support.
exporting IPVS_SUPPORT="_WITH_LVS_" and setting $enable_lvs wasn't working in the spec file, before the configure line, nor did setting these in the configure.in.
From build output, it looks like the actual issue is that it's missing a
path to the included ip_vs.h in SOURCES/keepalived-1.1.10/debian/include/net/ip_vs.h or the one in the kernel source, which is very odd, but if I copy it to where it is included it still complains about usability, so something else is going on.
any assistance or suggestions greatly appreciated.
http://dag.wieers.com/packages/keepalived/keepalived-1.1.10-1.rf.src.rpm
Thanks. -Joe
On Mon, 2005-02-21 at 15:56 -0800, Joe Sauer wrote:
On Tue, 2005-02-22 at 00:40 +0100, Dag Wieers wrote:
Like explained in the FAQ (http://dag.wieers.com/home- made/apt/FAQ.php#E1), you need to build with
--define "dist el3"
and you need to have the kernel-source package installed in order to build the ipvs support. Please compare it with my buildlogs if you want to understand how I am building this in more detail.
Can't help with the problem you have though :/
Kind regards,
That did indeed fix the build issues.
Thank you Dag.
-Joe
Dag problem found:
diff keepalived-1.1.10-rf.spec keepalived-1.1.10-rf.spec.orig 5c5 < %{!?kernel:%define kernel %(rpm -q kernel-source --qf '% {RPMTAG_VERSION}-%{RPMTAG_RELEASE}\n' | tail -1)} ---
%{!?kernel:%define kernel %(rpm --quiet -q kernel-source --qf '%
{RPMTAG_VERSION}-%{RPMTAG_RELEASE}' | tail -1)}
grumble
-Joe
On Tue, 2005-02-22 at 09:28 -0800, Joe Sauer wrote:
The topology issue is basically due to fact the default package is being build w/o IPVS; which I found a bit odd but it makes sense if you only need the vrrp framework.
However I've so far been unsuccessful in building it w/ IPVS support.
exporting IPVS_SUPPORT="_WITH_LVS_" and setting $enable_lvs wasn't working in the spec file, before the configure line, nor did setting these in the configure.in.
From build output, it looks like the actual issue is that it's missing a
path to the included ip_vs.h in SOURCES/keepalived-1.1.10/debian/include/net/ip_vs.h or the one in the kernel source, which is very odd, but if I copy it to where it is included it still complains about usability, so something else is going on.
any assistance or suggestions greatly appreciated.
http://dag.wieers.com/packages/keepalived/keepalived-1.1.10-1.rf.src.rpm
Thanks. -Joe
On Mon, 2005-02-21 at 15:56 -0800, Joe Sauer wrote:
On Tue, 2005-02-22 at 00:40 +0100, Dag Wieers wrote:
Like explained in the FAQ (http://dag.wieers.com/home- made/apt/FAQ.php#E1), you need to build with
--define "dist el3"
and you need to have the kernel-source package installed in order to build the ipvs support. Please compare it with my buildlogs if you want to understand how I am building this in more detail.
Can't help with the problem you have though :/
Kind regards,
That did indeed fix the build issues.
Thank you Dag.
-Joe
On Tue, 22 Feb 2005, Joe Sauer wrote:
Dag problem found:
diff keepalived-1.1.10-rf.spec keepalived-1.1.10-rf.spec.orig 5c5 < %{!?kernel:%define kernel %(rpm -q kernel-source --qf '% {RPMTAG_VERSION}-%{RPMTAG_RELEASE}\n' | tail -1)}
%{!?kernel:%define kernel %(rpm --quiet -q kernel-source --qf '%
{RPMTAG_VERSION}-%{RPMTAG_RELEASE}' | tail -1)}
Actually the --quiet is necessary, and the \n is definitely required. Somehow it used to work without that.
I fixed it now and new packages will hit the mirror as soon as my ISP has applied my request to increase bandwidth.
-- dag wieers, dag@wieers.com, http://dag.wieers.com/ -- [all I want is a warm bed and a kind word and unlimited power]
On Wed, 23 Feb 2005, Dag Wieers wrote:
On Tue, 22 Feb 2005, Joe Sauer wrote:
Dag problem found:
diff keepalived-1.1.10-rf.spec keepalived-1.1.10-rf.spec.orig 5c5 < %{!?kernel:%define kernel %(rpm -q kernel-source --qf '% {RPMTAG_VERSION}-%{RPMTAG_RELEASE}\n' | tail -1)}
%{!?kernel:%define kernel %(rpm --quiet -q kernel-source --qf '%
{RPMTAG_VERSION}-%{RPMTAG_RELEASE}' | tail -1)}
Actually the --quiet is necessary, and the \n is definitely required. Somehow it used to work without that.
I have to correct myself. The --quiet here is suspending all output (not only error output), so the fix is more complex now.
-- dag wieers, dag@wieers.com, http://dag.wieers.com/ -- [all I want is a warm bed and a kind word and unlimited power]