LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Problem compiling keepalived+LVS on rh9

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: Problem compiling keepalived+LVS on rh9
From: Ajit Kashyap <ajitkashyap@xxxxxxxxx>
Date: Fri, 19 Sep 2003 11:23:02 -0700 (PDT)
I'm a newbie to keepalived although I did sucessfully
test lvs on redhat 8.0 box. I'm trying to install
keepalived on a RedHat 9.0 server and during
./configure I used to get below mentioned error...

  !!! OpenSSL is not properly installed on your
system. !!!
  !!! Can not include OpenSSL headers files.          
 !!!

After going through config.log I came to know that
keepalived was unable to find file krb5.h even though
it was present under /usr/include/openssl I latter
manually copied this to /usr/include and
/usr/include/linux and then ./configure ran fine but
now make does not run. It reports the error given
below. I have openssl-0.9.7a-5 and trying keepalived
1.1.2. I was succesfully able to patch and install lvs
1.0.9.

Would appreciate your help. Thank you.

Ajit

----------------------------------------

/usr/include/openssl/kssl.h:132: parse error before
"krb5_enctype"
/usr/include/openssl/kssl.h:134: parse error before
"FAR"
/usr/include/openssl/kssl.h:135: parse error before
'}' token
/usr/include/openssl/kssl.h:147: parse error before
"kssl_ctx_setstring"
/usr/include/openssl/kssl.h:147: parse error before
'*' token
/usr/include/openssl/kssl.h:148: parse error before
'*' token
/usr/include/openssl/kssl.h:149: parse error before
'*' token
/usr/include/openssl/kssl.h:149: parse error before
'*' token
/usr/include/openssl/kssl.h:150: parse error before
'*' token
/usr/include/openssl/kssl.h:151: parse error before
"kssl_ctx_setprinc"
/usr/include/openssl/kssl.h:151: parse error before
'*' token
/usr/include/openssl/kssl.h:153: parse error before
"kssl_cget_tkt"
/usr/include/openssl/kssl.h:153: parse error before
'*' token
/usr/include/openssl/kssl.h:155: parse error before
"kssl_sget_tkt"
/usr/include/openssl/kssl.h:155: parse error before
'*' token
/usr/include/openssl/kssl.h:157: parse error before
"kssl_ctx_setkey"
/usr/include/openssl/kssl.h:157: parse error before
'*' token
/usr/include/openssl/kssl.h:159: parse error before
"context"
/usr/include/openssl/kssl.h:160: parse error before
"kssl_build_principal_2"
/usr/include/openssl/kssl.h:160: parse error before
"context"
/usr/include/openssl/kssl.h:163: parse error before
"kssl_validate_times"
/usr/include/openssl/kssl.h:163: parse error before
"atime"
/usr/include/openssl/kssl.h:165: parse error before
"kssl_check_authent"
/usr/include/openssl/kssl.h:165: parse error before
'*' token
/usr/include/openssl/kssl.h:167: parse error before
"enctype"
In file included from ../include/check_data.h:34,
                 from ../include/check_api.h:29,
                 from layer4.c:27:
/usr/include/openssl/ssl.h:909: parse error before
"KSSL_CTX"
/usr/include/openssl/ssl.h:931: parse error before '}'
token
make[2]: *** [layer4.o] Error 1
make[2]: Leaving directory
`/usr/local/src/keepalived-1.1.2/keepalived/core'
make[1]: *** [all] Error 1
make[1]: Leaving directory
`/usr/local/src/keepalived-1.1.2/keepalived'
make: *** [all] Error 2



__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
<Prev in Thread] Current Thread [Next in Thread>