apr won't build
Bryan Blackburn
blb at macports.org
Tue Nov 25 20:24:20 PST 2008
(FYI, don't forget to use reply-all so it gets to the list)
On Mon, Nov 24, 2008 at 09:51:08PM -0600, Gulftel said:
> no firewall or proxy. I figured out my curl problem and can get from the
> mirror.
>
>
> I think my problem is my setup. I am trying to keep mp 1.6 and the svn
> operational at same time. I have setup /opt/1.6 and /opt/1.7 and change
> 'local' to symlink to one or the other. 1.6 seems to work ok. 1.7
> revision 42571 using svn portfiles is when I get the error. I haven't had
> a problem installing other files to 1.6 or 1.7 this way.
It shouldn't be a 1.7 issue as that's what I'm using; note you can install
MacPorts to different prefixes when using ./configure so you don't have to
do odd symlink-type things. The way I have multiple installs is to just use
an alias:
alias port-1.6="/usr/bin/env PATH=/Users/blb/MacPorts/mp-1.6/bin:${basepath} port"
(and similar ones for other installs). This way one install doesn't see the
other (basepath is just the standard PATH).
> 178gis176:/opt/1.7 david$ sudo port -d install apr
[...]
> DEBUG: Executing org.macports.checksum (apr)
> ---> Checksumming apr-1.3.3.tar.bz2
> Error: Checksum (md5) mismatch for apr-1.3.3.tar.bz2
> Portfile checksum: apr-1.3.3.tar.bz2 md5 2090c21dee4f0eb1512604127dcd158f
> Distfile checksum: apr-1.3.3.tar.bz2 md5 943c6d94209139854e8b5b8d97a47cd6
One interesting thing might be to try using file against it, if you're
curious: 'file /opt/local/var/macports/distfiles/apr/apr-1.3.3.tar.bz2' to
see if maybe it's grabbing HTML instead of a tar.bz2.
[...]
>
> I think I need try just changing {prefix} to 1.6 and 1.7 in their
> respective directories then configure, make, and install and forget
> symlinking 'local' and see if I'm getting the same problems.
Off the top of my head I don't see why a symlink would break checksum when
fetch still works, but I've not tried reproducing your setup either...
Bryan
More information about the macports-users
mailing list