Wednesday, September 6, 2006

gnuplot and DarwinPorts

Software: DarwinPorts 1.3.2 with gnuplot Portfile v1.17 2006/04/30 05:51:36

Problem: I tried to install gnuplot with DarwinPorts, and I got checksum errors instead. Google shows that I'm not the only one with this problem, but I didn't see any answers out there.

Solution: Some of the checksums are missing, so you'll need to add them to the Portfile in math/gnuplot under dports (wherever you installed DarwinPorts). I followed the "make your own Portfile" directions (specifically, running sudo port -d -v checksum in the same directory as the gnuplot Portfile) to get through the checksum stage. The lines you need to add are in red below.

checksums ${distname}.tar.gz md5 66258443d9f93cc4f46b147dac33e63a \

${name}.tar.gz sha1 a862bc311724c263aa1ef1c646291d73dc37c978 \

${name}.tar.gz rmd160 7b1fc84c161c132c776269b6e9a49abd29251a18 \

${name}.pdf.gz md5 51c6d737bf76c18db844c96bc27e22c6 \

${name}.pdf.gz sha1 1063e3769b80d04aaf437fae7ac3bdd95f62e333 \

${name}.pdf.gz rmd160 f04fbdf2b596acf65fdfce503c0456c120d07138 \

gpcard.pdf md5 3042331d0801c31bf423428d9be66924 \

gpcard.pdf sha1 85a1de6c589f2f9dbcad7dad3480d9bfad4372d1 \

gpcard.pdf rmd160 9d38d9f96f9d3a127188772cb3bda1d20a80270f \

datastrings_4.0.patch md5 7d2c4015f15f96e3a0f8063c2199ab6f \

datastrings_4.0.patch sha1 2120db8d3c3ca9f084b46a573e944e06556c855a \

datastrings_4.0.patch rmd160 600f404d6a46bab736db44b1f99d93443896b0c3 \

histograms_4.0.patch md5 ba87f28e4aed68637e7b5160e7151919 \

histograms_4.0.patch sha1 f75be94691af021e9d5eeeaaf707a09eb1d19ae6 \

histograms_4.0.patch rmd160 ae51ca48deda330953fdb521835601b9e68c544a

All but the last line end with \, so if you don't see that, you'll need a wider frame; it was cropped for me too until I removed most of the leading spaces I had copied in from the Portfile.

After that, the install just works. Back on track!

(BTW, the octave install takes forever! Like hours. I know this is only a PowerBook G4, but it's not that old and slow.)

No comments:

Post a Comment