From: Colin Sampaleanu Date: 2003-07-25T04:53:33+09:00 Subject: Re: ruby 1.8.0 preview4 Ben Giddings wrote: >On Thu July 24 2003 4:03 am, Yukihiro Matsumoto wrote: > > >>I'm sure we still have problems left. Braves, try and find errors, on >>as many platforms as possible, please. >> >> > >Compiling on RedHat 9: > >gcc -fPIC -g -O2 -I. -I/usr/local/ruby-1.8.0 -I/usr/local/ruby-1.8.0 >-I/usr/local/ruby-1.8.0/ext/openssl -DHAVE_OPENSSL_CRYPTO_H -DHAVE_UNISTD_H >-DHAVE_SYS_TIME_H -DHAVE_EVP_MD_CTX_CREATE -DHAVE_EVP_MD_CTX_CLEANUP >-DHAVE_EVP_MD_CTX_DESTROY -DHAVE_PEM_DEF_CALLBACK -DHAVE_EVP_MD_CTX_INIT >-DHAVE_HMAC_CTX_INIT -DHAVE_HMAC_CTX_CLEANUP -DHAVE_X509_CRL_SET_VERSION >-DHAVE_X509_CRL_SET_ISSUER_NAME -DHAVE_X509_CRL_SORT >-DHAVE_X509_CRL_ADD0_REVOKED -DHAVE_CONF_GET1_DEFAULT_CONFIG_FILE >-DHAVE_BN_MOD_SQR -DHAVE_BN_MOD_ADD -DHAVE_BN_MOD_SUB >-DHAVE_CONF_GET1_DEFAULT_CONFIG_FILE -DHAVE_VA_ARGS_MACRO >-DHAVE_OPENSSL_OCSP_H -DHAVE_ST_FLAGS -DHAVE_RB_OBJ_INIT_COPY -c ossl.c >In file included from /usr/include/openssl/ssl.h:179, > from ossl.h:34, > from ossl.c:11: >/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 ossl.h:34, > from ossl.c:11: >/usr/include/openssl/kssl.h:132: parse error before "krb5_enctype" >/usr/include/openssl/kssl.h:134: parse error before "FAR" >... > >ben% locate krb5.h >/usr/kerberos/include/gssapi/gssapi_krb5.h >/usr/kerberos/include/krb5.h > >It looks like /usr/kerberos/include isn't in the include path. Configure >should probably catch that, right? I configured it as ./configure >--prefix=/usr/local/ruby-1.8.0-preview4 > >Btw, would it make sense to change the top-level directory in the tar file to >"ruby-1.8.0-src" so that if people want to install to /usr/local/ruby-1.8.0 >they can do so more easily? > > This is basically RedHat's screwup, as far as I'm concerned. Pretty well every app I've tried to build under RedHat 9, which uses OpenSSL, has broken on the build in the same fashion (and I've had to manually include the kerberos include dir). I think it's because previously (RedHat 8.0 and under) OpenSSL did not have a dependency on Kerberos...