Error building ruby-1.8.2_4 port

Garrett Cooper yanefbsd at gmail.com
Fri Dec 26 08:42:16 UTC 2008


On Dec 25, 2008, at 16:03, David Fleck <david.fleck at mchsi.com> wrote:

> Background:
>
> I have a 6.4-RELEASE system, that I have just freebsd-update'ed to  
> 7.0-RELEASE.  So far, I've run the first two 'freebsd-update  
> install' commands, and am now trying to update the few ports I have  
> installed. So,
> since ruby isn't installed yet, and I need that to run portupgrade,  
> I am trying to build the ruby port.  It bombs with this error:
>
> cc -fPIC -O2 -fno-strict-aliasing -pipe    -fPIC -I. -I../.. - 
> I../../. -I../.././ext/openssl -DHAVE_UNISTD_H -DHAVE_SYS_TIME_H - 
> DHAVE_ASSERT_H -DHAVE_OPENSSL_SSL_H -DHAVE_OPENSSL_CONF_API_H - 
> DHAVE_BN_MOD_ADD -DHAVE_BN_MOD_SQR -DHAVE_BN_MOD_SUB - 
> DHAVE_BN_PSEUDO_RAND_RANGE -DHAVE_BN_RAND_RANGE - 
> DHAVE_CONF_GET1_DEFAULT_CONFIG_FILE - 
> DHAVE_EVP_CIPHER_CTX_SET_PADDING -DHAVE_EVP_CIPHERFINAL_EX - 
> DHAVE_EVP_CIPHERINIT_EX -DHAVE_EVP_DIGESTFINAL_EX - 
> DHAVE_EVP_DIGESTINIT_EX -DHAVE_EVP_MD_CTX_CLEANUP - 
> DHAVE_EVP_MD_CTX_CREATE -DHAVE_EVP_MD_CTX_DESTROY - 
> DHAVE_EVP_MD_CTX_INIT -DHAVE_HMAC_CTX_CLEANUP -DHAVE_HMAC_CTX_INIT - 
> DHAVE_PEM_DEF_CALLBACK -DHAVE_X509V3_SET_NCONF - 
> DHAVE_X509_CRL_ADD0_REVOKED -DHAVE_X509_CRL_SET_ISSUER_NAME - 
> DHAVE_X509_CRL_SET_VERSION -DHAVE_X509_CRL_SORT -DHAVE_VA_ARGS_MACRO  
> -DHAVE_OPENSSL_ENGINE_H -DHAVE_ENGINE_ADD - 
> DHAVE_ENGINE_LOAD_BUILTIN_ENGINES -DHAVE_ENGINE_GET_DIGEST - 
> DHAVE_ENGINE_GET_CIPHER -DHAVE_ENGINE_CLEANUP -DHAVE_OPENSSL_OCSP_H - 
> DHAVE_ST_FLAGS -DHAVE_ST_ENGINE -DHAVE_ST_SINGLE -c ossl_x509store.c
> ossl_x509store.c: In function 'ossl_x509stctx_set_time':
> ossl_x509store.c:541: error: 'X509_STORE_CTX' has no member named  
> 'flags'
> *** Error code 1
>
> I've uninstalled and reinstalled the openssl-0.9.8a port, and done a  
> 'make clean' in /usr/ports/lang/ruby18, but this error still  
> occurs.  I've seen hints (e.g., https://savannah.cern.ch/bugs/? 
> 32304) that this is because there are changes in openssl that aren't  
> accounted for in ruby.  Anyway, what's the best way to proceed right  
> now to get the port installed?
>
> --
> David Fleck
> david.fleck at mchsi.com

Is compat6x support enabled in the kernel and from ports yet?
-Garrett


More information about the freebsd-ports mailing list