Problem with gcc_select/apt/fink

o_source

Registered
I am trying to install The GImp with apt, but everytime I trye, it downloads the deb files and gives me the following error:


apt-get install gimp
Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
aalib-shlibs gimp-shlibs glib-shlibs gtk+-data gtk+-shlibs libjpeg-shlibs libmpeg-shlibs libpng3-shlibs
libtiff-shlibs
The following NEW packages will be installed:
aalib-shlibs gimp gimp-shlibs glib-shlibs gtk+-data gtk+-shlibs libjpeg-shlibs libmpeg-shlibs libpng3-shlibs
libtiff-shlibs
0 packages upgraded, 10 newly installed, 0 to remove and 1 not upgraded.
1 packages not fully installed or removed.
Need to get 0B/11.0MB of archives. After unpacking 35.5MB will be used.
Do you want to continue? [Y/n]
Setting up fink (0.22.4-1) ...
Checking system... powerpc-apple-darwin7.5.0

Since you have gcc 3.3 installed, fink must be bootstrapped or updated using
that compiler. However, you currently have gcc 3.1 selected. To correct
this problem, run the command:

sudo gcc_select 3.3

dpkg: error processing fink (--configure):
subprocess post-installation script returned error exit status 255
Errors were encountered while processing:
fink
E: Sub-process /sw/bin/dpkg returned an error code (1)


So I trye to enter the gcc_select command end get another error again:

gcc_select 3.3
usage: gcc_select [-n] [-force] [2 | 3] [-h | --help] [-v | --version]
[-root] [ -nc | --no-color]
Invalid argument (3.3).


Is there a file I can change this in manualy or does anyone know what might be the problem?
And yes, I know, PEBCAK, that's always the answer

I've got gcc2 (2.95.2), gcc3 (3.1) and gcc-3.3.
How can I get gcc_select to use gcc-3.3 ?
 
I don't suppose you're running something older than 10.3, are you? This is what the usage message looks like on my system:

usage: gcc_select [-n] [-force] [2 | 3 | 3.x] [-h | --help] [-v | --version]
[-l | --list] [-root]

I'll bet you just need the updated developer tools from Apple.
 
Back
Top