[Opendnssec-user] Another Ruby error..
Carlos M. Martinez
carlos at lacnic.net
Fri Feb 18 18:26:09 UTC 2011
Jeez, just when I thought my Ruby issues were over...
This is the message I'm currently receiving when running "ods-ksmutil
setup":
> [opendnssec at vm3-lab2 ~]$ ./bin/ods-ksmutil setup
> *WARNING* This will erase all data in the database; are you sure? [y/N] y
> SQLite database set to: /home/opendnssec/var/opendnssec/kasp.db
> fixing permissions on file /home/opendnssec/var/opendnssec/kasp.db
> zonelist filename set to /home/opendnssec/etc/opendnssec/zonelist.xml.
> kasp filename set to /home/opendnssec/etc/opendnssec/kasp.xml.
> Repository SoftHSM found
> No Maximum Capacity set.
> RequireBackup NOT set; please make sure that you know the potential
> problems of using keys which are not recoverable
> <internal:lib/rubygems/custom_require>:29:in `require':
> /home/opendnssec/lib/opendnssec/kasp_checker.rb:403: syntax error,
> unexpected ',', expecting tASSOC (SyntaxError)
> ... [{publish_safety_secs , "Keys/PublishSafety"}, {reti...
> ... ^
> /home/opendnssec/lib/opendnssec/kasp_checker.rb:403: syntax error,
> unexpected ',', expecting '}'
> ...y_secs , "Keys/PublishSafety"}, {retire_safety_secs, "Keys/R...
> ... ^
> /home/opendnssec/lib/opendnssec/kasp_checker.rb:403: syntax error,
> unexpected ']', expecting keyword_end
> ...ety_secs, "Keys/RetireSafety"}].each {|pair|
> ... ^
> /home/opendnssec/lib/opendnssec/kasp_checker.rb:470: syntax error,
> unexpected '}', expecting keyword_end
> /home/opendnssec/lib/opendnssec/kasp_checker.rb:478: syntax error,
> unexpected '}', expecting keyword_end
> from <internal:lib/rubygems/custom_require>:29:in `require'
> from /home/opendnssec/bin/ods-kaspcheck:29:in `<main>'
> Couldn't run kaspcheck, will carry on
> Policy default found
> Info: converting P1Y to seconds; M interpreted as 31 days, Y
> interpreted as 365 days
This with all configs as default...
Any ideas?
regards
Carlos
On 2/17/11 12:39 PM, Carlos M. Martinez wrote:
> Hello all, I think I have solved the issue for me. If anyone is
> interested, read below:
>
>> On 16 Feb 2011, at 13:51, Carlos M. Martinez wrote:
>>
>>>> configure: Detecting common OpenDNSSEC settings
>>>> checking for ruby... /home/opendnssec/bin/ruby
>>>> checking for ruby library syslog... ok
>>>> checking for ruby library openssl... ok
>>>> checking for ruby library xsd/datatypes... not found
>>>> configure: error: Ruby library 'xsd/datatypes' not found
>>>> configure: error: ./configure failed for auditor
> Apparently xsd/datatypes.rb is part of a gem called XSD4R. I could not
> find a way to install XSD4R alone, but installing another gem called
> SOAP4R solved the problem as it appears to include XSD4R.
>
> I had previously installed a gem called xmlparser, so it may or may not
> be needed, I'm not exactly sure.
>
> So, my solution in the end was:
>
> gem install -r rake
> -- had install xmlparser from source due to my non-standard install
> location (it could not find expat and libxml2)
> gem install -r soap4r
>
> Warm regards,
>
> Carlos
>
--
Carlos M. Martinez
LACNIC I+D
PGP KeyID 0xD51507A2
Phone: +598-2604-2222 ext. 4419
-------------- next part --------------
A non-text attachment was scrubbed...
Name: carlos.vcf
Type: text/x-vcard
Size: 204 bytes
Desc: not available
URL: <http://lists.opendnssec.org/pipermail/opendnssec-user/attachments/20110218/f1c9e008/attachment.vcf>
More information about the Opendnssec-user
mailing list