Re: [MacPorts] #36480: kerberos5: error: expected declaration specifiers before ‘__AVAILABILITY_INTERNAL__MAC_10_0_DEP__MAC_10_8’

pipp8 cattaneo at dia.unisa.it
Wed Oct 31 04:00:29 PDT 2012


I had a similar problem installing Kerberos5 on mountain lion with several
other ports installed (incouded OopenSSL). 

"... --->  Building kerberos5
Error: org.macports.build for port kerberos5 returned: command execution
failed
Error: Failed to install kerberos5
Please see the log file for port kerberos5 for details:
   
/opt/local/var/macports/logs/_usr_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_kerberos5/kerberos5/main.log"

Looking at logs and sources, I got:
pkinit_crypto_openssl.c: In function ‘decode_data’:
pkinit_crypto_openssl.c:3662: error: too many arguments to function
‘EVP_PKEY_decrypt’

Actually and old post  https://trac.macports.org/ticket/25816
<https://trac.macports.org/ticket/25816>   suggested to add the last
parameter buf_len in function called at the same line 3662.

I just removed this parameter snf  the file and the all project get compiled
correctly.

Is this the right solution ?

Thank you



--
View this message in context: http://mac-os-forge.2317878.n4.nabble.com/MacPorts-36480-kerberos5-problem-to-install-tp195975p198637.html
Sent from the MacPorts - Tickets mailing list archive at Nabble.com.


More information about the macports-tickets mailing list