-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Scott Harper wrote:
> I am trying to install the mysql-connector-java port, but am encountering a
> checksum failure:
>
>> sudo port install mysql-connector-java
> ---> Fetching mysql-connector-java
> ---> Verifying checksum(s) for mysql-connector-java
> Error: Checksum (md5) mismatch for mysql-connector-java-5.0.4.tar.gz
> Error: Target org.macports.checksum returned: Unable to verify file
> checksums
> Error: Status 1 encountered during processing.
>
> Is there a fix or workaround?
>
> thanks
> scott
It looks like the distfile (mysql-connector-java-5.0.4.tar.gz) is
corrupted because gzip can't open it (and the checksum doesn't match).
I don't work with java so I don't want to change the port, but you could
try the following to use the newest version of the port (as suggested
some minutes ago by
ryandesign@... on the ticket page [1]):
port edit mysql-connector-java
Or if this doesn't work
port dir mysql-connector-java
Open the Portfile in this directory with your favorite editor.
And then change the version to 5.0.7 and the md5 checksum to:
d177ce7397b119f013458cec0418ad2d
Then run "port install" as usual. Please report back if the updated
version works, so we can update it in macports.
Hope this helps,
Simon
[1]:
http://trac.macports.org/projects/macports/ticket/12452- --
+ privacy is necessary
+ using
http://gnupg.org+ public key id: 0x6115F804EFB33229
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)
iD8DBQFG2JrEYRX4BO+zMikRCg6OAKCdRSp2qkAXUrNLWljmUQsqH6O7VgCeNMyB
LWRFSrofrHhEAD7CdRNNZwk=
=qfuN
-----END PGP SIGNATURE-----
_______________________________________________
macports-users mailing list
macports-users@...
http://lists.macosforge.org/mailman/listinfo/macports-users