Problem installing libcompat
Boey Maun Suang
boeyms at macports.org
Sun Apr 22 23:45:38 PDT 2007
Hi Gary,
I don't understand why deleting the distfile helped; my only
suggestion is that the "sudo port clean libcompat" didn't actually
work properly, and the distfile deletion forced it. I also don't
imagine that you'd had a different distfile when the build was
failing, as it would have failed the checksum step, so I don't think
that that was a problem. As for fetching from distfiles-
od.opendarwin.org, that is definitely the only place from which
libcompat is currently distributed, but it (along with distfiles from
quite a few other ports) ought to be copied onto macports.org as that
server will be shut down sooner or later; there are other people
working on that, I think, so I'll see how they think it should be
dealt with.
Kind regards,
Maun Suang
On 19/04/2007, at 13:55, Gary Ross wrote:
> Hello,
> Thanks for your help.
>
> OK. This is what I did:
>
> I deleted the
>
> /opt/local/var/db/dports/distfiles/libcompat/libcompat-4.6.2-
> RELEASE.tar.bz2
>
> file manually.
>
> Then I did:
>
> sudo port -d -v install libcompat
>
> and it worked fine.
>
> I'm sure this is not the correct way to do it, but it seemed to work.
>
> Obviously when the
> libcompat-4.6.2-RELEASE.tar.bz2
> was found to be missing it tried to fetch it. But at first it
> couldn't find the file because it couldn't connect:
>
> ---> Attempting to fetch libcompat-4.6.2-RELEASE.tar.bz2 from
> http://distfiles-od.opendarwin.org/libcompat
> % Total % Received % Xferd Average Speed Time Time
> Time Current
> Dload Upload Total Spent
> Left Speed
> 0 0 0 0 0 0 0 0 --:--:-- 0:01:01
> --:--:-- 0
> DEBUG: Fetching failed:: HTTP response code said error
> ---> Attempting to fetch libcompat-4.6.2-RELEASE.tar.bz2 from
> http://distfiles-msn.opendarwin.org/libcompat
> % Total % Received % Xferd Average Speed Time Time
> Time Current
> Dload Upload Total Spent
> Left Speed
> 0 0 0 0 0 0 0 0 --:--:-- 0:00:01
> --:--:-- 0
> DEBUG: Fetching failed:: HTTP response code said error
> ---> Attempting to fetch libcompat-4.6.2-RELEASE.tar.bz2 from
> http://distfiles-od.opendarwin.org/
> % Total % Received % Xferd Average Speed Time Time
> Time Current
> Dload Upload Total Spent
> Left Speed
> 100 25877 100 25877 0 0 26386 0 --:--:-- --:--:--
> --:--:-- 48505
>
> Should it still be fetching from
> http://distfiles-od.opendarwin.org/
> ?
>
> Perhaps this is the root of my original problem. I think it wasn't
> fetching the latest version until I forced it to do so by deleting
> the bz2 file.
>
> Gary
>
>
>
>
> On Apr 19, 2007, at 12:26 AM, Boey Maun Suang wrote:
>
>> Hi Gary,
>>
>> On 19/04/2007, at 00:58, Gary Ross wrote:
>>
>>> Sorry, I still get the same error after doing this:
>>>
>>> 506 sudo /opt/local/bin/port -v selfupdate
>>> 507 sudo port clean libcompat
>>> 508 sudo port -d -v install libcompat
>>>
>>> powerpc-apple-darwin8-gcc-4.0.1:
>>>
>>> libcompat.1.dylib: No such file or directory
>>>
>>> *** Error code 1
>>>
>>> Is your machine Intel or PowerPC ?
>>
>> This seems odd to me. I'm running on Intel (and Mac OS X 10.4.9),
>> but it seems to me that the architecture really shouldn't make a
>> difference; I've checked against the PPC Darwin sources online,
>> and there doesn't seem to be a difference between the bsd.*.mk
>> files that are called, and I'd be very surprised if gcc was
>> behaving differently between platforms in this way. Still, it is
>> a possibility, so if you post the output of "sudo -td install
>> libcompat" after cleaning libcompat (or from your original "sudo
>> port -d -v install libcompat" if you still have it), that might
>> help me figure out what's happening.
>>
>> Thanks,
>>
>>
>> Maun Suang
>>
>> --
>> Boey Maun Suang (Boey is my surname)
>> Email: boeyms at macports.org
>>
>>
>>
>
--
Boey Maun Suang (Boey is my surname)
Email: boeyms at macports.org
More information about the macports-users
mailing list