On 1/4/07, Cancio, Antonio C. <[EMAIL PROTECTED]> wrote: > Hello, > > I am in the process of upgrading my PowerBook G4 from OS 10.2 to OS 10.4.8, > and updating fink accordingly from 0.6 to 0.8. After updating the system and > installing the latest version of XCode (2.4.1) I ran the postinstall.pl script > for fink and got the following message: > > [dhcp-1396-4981:/sw/etc/apt] antonioc% sudo /sw/lib/fink/postinstall.pl > Checking system... powerpc-apple-darwin8.8.0 > Under Mac OS X 10.4.8, Fink must be bootstrapped or updated with gcc 4.0.0, > however, you currently have gcc 4.0.1 selected. To correct > this problem, run the command: > > sudo gcc_select 4.0 > > You may need to install a more recent version of the Developer Tools > (Apple's XCode) to be able to do so. > > Doing this results in a message stating: > "You are already using gcc version 4.0 as the default compiler." > The output to the command "gcc_select" without any version is: > Current default compiler: > gcc version 4.0.1 (Apple Computer, Inc. build 5367) > > Reading through this email list leads me to believe that this shouldn't be > happening -- any 4.0 version should do. > > Subsequent attempts to apply "fink selfupdate" and "fink update-all" lead to > no changes in fink -- for example my fink version: > > [dhcp-1396-4981:~] antonioc% sudo fink --version > Package manager version: 0.24.7 > Distribution version: 0.6.4.rsync > > Likewise, updating apt-get and applying apt-get dist-upgrade produces no > change and it continues to read only packages associated with 10.2-gcc3.3. > > Any ideas on how to get fink to recognize my gcc version would help, and if I > am missing anything obvious in updating fink and apt-get. > > Thanks, > > Tony Cancio > >
Check out http://pdb.finkproject.org/pdb/package.php/fink You're still on the 10.2 distribution, which most definitely predates Apple's use of gcc-4.0.1. Following your method, you also need to set the Distribution: line in /sw/etc/fink.conf to Distribution: 10.4 and then do another selfupdate. However, the change in the gcc version breaks this path in this case. Instead try sudo apt-get update ; sudo apt-get dist-upgrade to upgrade via the binary tools. If this doesn't give you fink-0.24.14 and Distribution 0.8.1, then your best bet is probably to remove /sw and install Fink from the 0.8.1 installer. If you do something like fink list -i | cut -f2 > installed_packages then you can capture your list of installed packages in a file, and then you can reinstall them under the new Fink, e.g. via cat installed_packages | xargs echo | xargs fink install (someone else may have more sophisticated scripts but these are what I use) -- Alexander K. Hansen (akh) Fink Documenter (still) ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Fink-beginners mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fink-beginners
