Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I seem to be getting a checksum error, being new to macports and not that great with package mangers in general other then searching and installing.

How would I go about getting past this issue?

--->  Computing dependencies for ruby
--->  Verifying checksum(s) for ruby
Error: Checksum (md5) mismatch for ruby-1.8.7-p334.tar.bz2
Error: Checksum (rmd160) mismatch for ruby-1.8.7-p334.tar.bz2
Error: Checksum (sha1) mismatch for ruby-1.8.7-p334.tar.bz2
***
The non-matching file appears to be HTML. See this page for possible reasons
for the checksum mismatch:
<http://trac.macports.org/wiki/MisbehavingServers>
***
Error: Target org.macports.checksum returned: Unable to verify file checksums
Log for ruby is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_ruby/main.log
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>
share|improve this question
    
The error message contains a link to the likely causes - trac.macports.org/wiki/MisbehavingServers –  Shane Madden Mar 15 '11 at 17:17

2 Answers 2

up vote 1 down vote accepted

Checksum mismatches usually mean the upstream changed the tarball, This is typical for Ruby, where devs seem to be encouraged to stay far, far away from the concept of "release engineering" — which attribute makes it difficult for me to recommend Ruby in any sort of stable production model.

share|improve this answer

I can't answer the MacPorts question, but save yourself a lot of trouble and give RVM a try. You may also want to look into Homebrew, which is a well-maintained alternative to MacPorts and Fink.

Both are widely used by the Mac Ruby community.

share|improve this answer
    
Well, I'd still need to support python, php, java, dotnet and ruby. Would homebrew accomplish this better then macports? –  jbcurtin Mar 15 '11 at 17:28
    
PHP and Java are already supported natively on OS X. .NET isn't supported without something like Mono. You can see a list of Homebrew packages here. In my experience, anything that MacPorts can do, Homebrew does better. –  Ezekiel Templin Mar 15 '11 at 17:57

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.