Robert Black wrote: > Folks: > > Our server administrator opened up port 2401 so fink selfupdate works > partially, but it says gcc_4 is required and I have gcc-4.2. I have > the latest developer tools and XQuartz-2.3.3_rc5 installed on a G5 Mac > with OS-X 10.5.6. > >
> When I tried to run gcc_select, it first said it didn't exist, but I > found an executable in /Developer/usr/sbin. That executable also > failed to run, saying it only worked with OS-X 10.4. Please see a > partial listing below. Does anyone know what is going on? > > Robert A. Black > > Research Meteorologist 4301 Rickenbacker Cswy. > NOAA/AOML/HRD Miami, FL 33149-1026 > > Ph: (305) 361-4314 > FAX: (305) 361-4528 (NEW) > > E-Mail: robert.a.bl...@noaa.gov > (Any opinions expressed are mine alone, not NOAA policy) > > > The following package will be installed or updated: > fink > Reading buildlock packages... > /sw/bin/dpkg-lockwait -i /sw/fink/dists/stable/main/binary-darwin- > powerpc/base/fink_0.28.7-41_darwin-powerpc.deb > (Reading database ... 20243 files and directories currently installed.) > Preparing to replace fink 0.28.7-41 (using .../fink_0.28.7-41_darwin- > powerpc.deb) ... > Unpacking replacement fink ... > Setting up fink (0.28.7-41) ... > Checking system... powerpc-apple-darwin9.6.0 > Under Mac OS X 10.5.6, Fink must be bootstrapped or updated with gcc > 4.0, > however, you currently have gcc 4.2 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. > /sw/bin/dpkg: error processing fink (--install): > subprocess post-installation script returned error exit status 255 > Errors were encountered while processing: > fink > ### execution of /sw/bin/dpkg-lockwait failed, exit code 1 > Failed: can't install package fink-0.28.7-41 > ... > > apollo18:~ rblack$ sudo gcc_select gcc 4.0 > sudo: gcc_select: command not found > > ... > > apollo18:bin rblack$ cd /Developer/usr/sbin > apollo18:sbin rblack$ ls > gcc_select heap64 ioalloccount ioclasscount > ioreg leaks64 vmmap64 > apollo18:sbin rblack$ pwd > /Developer/usr/sbin > apollo18:sbin rblack$ sudo ./gcc_select 4.0 > This version of gcc_select can be used only on MacOS X 10.4. > > Here's what I have: $ ls -l /usr/bin/gcc* lrwxr-xr-x 1 root wheel 7 2008-12-12 09:43 /usr/bin/gcc -> gcc-4.0 -rwxr-xr-x 1 root wheel 93088 2008-09-26 02:44 /usr/bin/gcc-4.0 -rwxr-xr-x 1 root wheel 105680 2008-10-01 00:56 /usr/bin/gcc-4.2 This is the default configuration from Xcode 3.1.2. As you said, gcc_select doesn't work on Leopard anymore; and the error message ought to be fixed accordingly. Did _you_ modify what "gcc" points to? Fink isn't set up to account for local modifications in the system area. (Although...I'm not sure if fink couldn't be made to look for /usr/bin/gcc-4.0 instead.) -- Alexander Hansen Fink User Liaison ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensign option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Fink-users mailing list Fink-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-users