monipol wrote:
> On 27/06/2009, at 18:31, Matthew E wrote:
> (...)
>   
>> Is downloading and running the latest Mac OS X installer package  
>> (.pkg)
>> to overwrite my existing install a bad idea?
>>     
>
> It's not a bad idea but it shouldn't be necessary unless Fink itself  
> is damaged.
>
>   
>> I installed fink and finkcommander a way back (10.4 days?) in /sw.   
>> I've
>> since reinstalled the OS.
>>     
>
> As I'm fairly new to Mac OS X and Fink I can't really advise on  
> upgrading from 10.4 to 10.5.
>
>   
>> I'm running MacOS 10.5.7.  My fink environment is set up and works.
>> Currently I can't get fink to selfupdate, or install anything. (It  
>> tries
>> to download things and I think my curl or wget install is borked  
>> because
>> it gives weird errors about downloads.)
>>     
>
> What errors?
>
>   
>> Alexander K. Hansen's comment 2009-05-01 @ 11:41:
>>     
>>> ...Starting from scratch is rarely as simple as it seems...
>>>       
My comment was really to indicate that removing Fink completely often
results in the same problem that you started with, if nothing else on
the system is changed. 
>> makes me think I should seek out advice here instead of proceed on my
>> own.
>>
>> Basically, I'd like to be able to get back to a point where the  
>> packages
>> we have installed are installed again, but fink works again.
>> Should I be exporting a list of what we've installed, or what?  (I  
>> don't
>> know how I'd find a list of the source and binary things we've
>> installed.)
>>     
>
> fink list --installed
>
> or
>
> dpkg -l
>
>   
>> The packages we've installed run for the most part, but fink can't
>> selfupdate.  I've tried changing the selfupdate method, etc.
>>
>> I'm trying to look for and follow advice, e.g. from
>> http://www.finkproject.org/doc/users-guide/upgrade.php?phpLang=en but
>> not finding something applicable.
>>
>>     
That's a little behind, due to lack of time for anybody to update it.
>> (I can run dselect and Update works:
>> % sudo dselect
>> Hit http://bindist.finkmirrors.net 10.4/release/main Packages
>> Hit http://bindist.finkmirrors.net 10.4/release/main Release
>> Hit http://bindist.finkmirrors.net 10.4/release/crypto Packages
>> Hit http://bindist.finkmirrors.net 10.4/release/crypto Release
>> Hit http://bindist.finkmirrors.net 10.4/current/main Packages
>> Hit http://bindist.finkmirrors.net 10.4/current/main Release
>> Hit http://bindist.finkmirrors.net 10.4/current/crypto Packages
>> Hit http://bindist.finkmirrors.net 10.4/current/crypto Release
>> Reading Package Lists... Done
>> Building Dependency Tree... Done
>> Merging Available information
>> Replacing available packages info, using /sw/var/cache/apt/available.
>> Information about 1559 package(s) was updated.
>>
>> I can't install or update binaries.
>>     
>
> What are the error messages when you try to install/update binaries?  
> Does /sw/etc/fink.conf contains the following?
>
> UseBinaryDist: true
>
>   
>> I can't install or update from source either:
>> I have an unusual gcc install:
>>      Installed XCode:  I installed xcode312_2621_developerdvd.dmg ;  
>> Opted OUT of UNIX development tools cuz Installer says it's all  
>> dupes installed elsewhere, and I think I made it work:   
>> Tweaked .bashrc; still found that /usr/bin/co was hard-coded.  Try  
>> reboot? Worked: "sudo ln -s /Developer/usr/bin/co co"
>>      Likewise: "sudo ln -s /Developer/usr/bin/gcc gcc" and "sudo ln -s / 
>> Developer/usr/bin/make make", etc.
>>        It seems to work OK: I can write, compile and run a simple C
>>        program, us cvs, etc.
>>
>> Maybe this is why delect Install gives me errors:
>>
>> WARNING: /usr/bin/gcc is not a symlink!Under Mac OS X 10.5.7, Fink  
>> must
>> be bootstrapped or updated with gcc 4.0,
>> however, you currently have gcc (unknown version) selected. To correct
>> this problem, run the command:
>>
>>    sudo gcc_select 4.0
>>
>> Should I delete those symlinks and reinstall XCode, but with the UNIX
>> development tools?
>>     
>
> Yep, you need to install the Unix (CLI) Development tools  
> (DeveloperToolsCLI.pkg). I'm not sure if you need to reinstall Xcode  
> or only the above package.
>
>   
You can probably get by with just that package.
>> fink selfupdate results in more or less the same problem.
>>
>> Oh, and
>> $     sudo gcc_select 4.0
>> sudo: gcc_select: command not found
>> And 'locate' says gcc_select doesn't exist on my system.
>>     
This error message is a holdover from 10.4.
>> $ fink --version
>> Package manager version: 0.29.2
>> Distribution version: selfupdate-rsync (0.9.0), 10.4, i386
>>     
>
> That might be the reason of your problems. My Fink installation on OS  
> 10.5.7 reports 10.5 whilst yours reports 10.4. I'd guess something  
> went wrong with the update from 10.4 to 10.5. Maybe someone that used/ 
> uses Fink on 10.4 can provide some feedback/advice.
>
> At any rate, could you please provide the output of the following  
> commands?
>
> ls -ld `which gcc`
> gcc --version
> cat /sw/etc/fink.conf
>
>
> --
> monipol
> http://finkers.wordpress.com
>
> Submitting a Fink bug report? Read this:
> http://www.finkproject.org/doc/netiquette/index.php
> http://finkers.wordpress.com/2009/06/03/bug-reports/
>
>   
The 10.4 -> 10.5 update procedure is:

1)  Update fink to a new enough version, which you have.
2) Update the OS
3) Update Xcode to 3.0 or later (which you have, and you most definitely
want the Unix Developer Tools package rather than hacking around with
symlinks)
4) run
   
    fink reinstall fink

which should switch you to the 10.5 distribution.  Binaries should
become available, too, once your configuration is no longer mismatched.

-- 
Alexander Hansen
Fink User Liaison


------------------------------------------------------------------------------
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to