[Fink] Problem installing gcc 4 for Fink 0.8.1
- From: snipe@xxxxxxxxxxxxxxxxxxx (Sn!pe)
- Date: Tue, 8 Aug 2006 10:50:21 +0100
Hi Group,
I hope this is the appropriate place for this query, please advise
if not. I'm inexperienced with this sort of tinkering, please keep
your advice simple!
I'm using Mac OS X 10.4.7 (8J135), Kernel Version: Darwin 8.7.0
on a PPC PowerBook 5.3 G4 17" 1.33GHz with 512 MB RAM, 80GB HDD.
I have just installed (using my admin account) Fink 0.8.1 from the
binary installer, which I believe is the correct version for this setup.
The Fink installer barfed at first, complaining about the destination
disk (boot drive, internal HDD) and suggested repairing disk
permissions. I have done this using the Disk Utility from the system
DVD. It did indeed find some broken permissions (mostly Flash related,
also some others). After this, Fink installed on the boot disk OK.
When trying to update Fink it complained that it required gcc 4 rather
than gcc 3.3 as it is using currently. I have hit a problem installing
gcc 4.0.3; how should I do this, please? detail follows:-
-------------------------------------------------
While setting up Fink using Fink Commander I followed the instructions
listed on <http://fink.sourceforge.net/download/> . All went OK until
section 6. :-
--------[Fink installation instructions extract]----------
6. Once those two commands are finished you should update the fink
package, in case there have been significant changes since the last
point release. After you do this you can install other packages. There
are several ways to do this:
* Use the included Fink Commander to select and install
packages. Fink Commander provides an easy to use GUI for Fink. This is
the recommended method for new users, or users who are not comfortable
with the command line. Fink Commander has Binary and Source menus. You
should install from binaries if you don't have the Developer Tools
installed, or don't want to build packages yourself.
1)
The Fink Commander sequence to update fink from binaries is as follows:
1. Binary->Update descriptions
2. Select the fink package.
3. Binary->Install
2)
The recommended Fink Commander sequence to update fink from source is as
follows:
1. Source->Selfupdate
2. Tools->Interact with Fink...
3. Make sure "Accept default response" is selected, and
click "Submit".
4. fink and other base packages will be built and run
automatically
Now that you've updated fink, you can install other packages.
--------[end Fink installation instructions extract]-----------
So I have followed method 1, update Fink from binaries:
--------[Fink message]-------------
Reading Package Lists...
Building Dependency Tree...
Sorry, fink is already the newest version.
0 packages upgraded, 0 newly installed, 0 to remove and 12 not
upgraded.
1 packages not fully installed or removed.
Need to get 0B of archives. After unpacking 0B will be used.
Setting up fink (0.24.23-31) ...
Checking system... powerpc-apple-darwin8.7.0
Use of uninitialized value in substitution (s///) at
/sw/lib/perl5/Fink/Services.pm line 1238.
Under Mac OS X 10.4.7, Fink must be bootstrapped or updated with gcc
4.0,
however, you currently have gcc 3.3 selected. To correct
this problem, run the command:
sudo gcc_select
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 (--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)
----------[end Fink message]---------
So, I have run sudo gcc_select and get:
----------[terminal message]---------
Gallina:~ admin$ sudo gcc_select
Password:
Current default compiler:
gcc version 3.3 20030304 (Apple Computer, Inc. build 1495)
Gallina:~ admin$ sudo gcc_select -l
Available compiler versions:
2.95.2 3.1 3.3 3.3-fast
Gallina:~ admin$
----------[end terminal message]---------
I have downloaded gcc403.pkg, which is now in Library/Receipts/
Opening the package brings up the installer which says:
----------[installer message]-------------
GNU gcc 4.0.3
for Mac OS X 10.4.4 or higher
This package contains FSF-style build of gcc 4.0.3 for Mac OS X 10.4.4
(Tiger) with Darwin drivers. Supported languages are C, C++, Obj-C and
Fortran95. Supported targets are ppc, ppc64 and i686. Multiple -arch
flags can be specified to build fat binaries.
Requirements:
- Mac OS X 10.4.4 or higher
All files will be installed in /usr/local/gcc4.0
The compiler collection can be used by adding /usr/local/gcc4.0/bin to
your PATH, e.g.:
export PATH=/usr/local/gcc4.0/bin:$PATH
Uninstallation is as simple as
sudo rm -rf /usr/local/gcc4.0
NOTE: Programs compiled with this compiler suite will dynamically link
to libraries in /usr/local/gcc4.0/lib to prevent incompatibilities with
other installed compilers such as Xcode. Use static libraries or supply
the libraries with your application if you want such binaries to run
anywhere.
----------[end installer message]-----------
Proceeding with the installation after agreeing the EULA terms gives:-
"There were errors during installation, please try installing again"
After several attempts it still gives this message.
Here is the Console output:-
----------[console messages]-------------
2006-08-07 01:01:22.812 FinkCommander[1148] Checking for FinkCommander
update
2006-08-07 01:01:48.427 FinkCommander[1148] Exit status of process = 100
Mac OS X Version 10.4.7 (Build 8J135)
2006-08-07 01:04:43 +0100
### MRJPlugin: getPluginBundle() here. ###
### MRJPlugin: CFBundleGetBundleWithIdentifier() succeeded. ###
### MRJPlugin: CFURLGetFSRef() succeeded. ###
2006-08-07 01:17:05.255 FinkCommander[1148] Exit status of process = 100
Mac OS X Version 10.4.7 (Build 8J135)
2006-08-08 09:38:32 +0100
Mac OS X Version 10.4.7 (Build 8J135)
2006-08-08 09:42:47 +0100
Mac OS X Version 10.4.7 (Build 8J135)
2006-08-08 09:51:33 +0100
Mac OS X Version 10.4.7 (Build 8J135)
2006-08-08 10:06:00 +0100
Mac OS X Version 10.4.7 (Build 8J135)
2006-08-08 10:11:51 +0100
Mac OS X Version 10.4.7 (Build 8J135)
2006-08-08 10:20:41 +0100
Mac OS X Version 10.4.7 (Build 8J135)
2006-08-08 10:22:43 +0100
-----------[end console messages]----------
So the question is: How do I install gcc 4.0.3 so that Fink can use it?
Thanks in advance,
Sn!pe
--
^Ï^
.
- Follow-Ups:
- Re: [Fink] Problem installing gcc 4 for Fink 0.8.1 *RESOLVED*
- From: Sn!pe
- Re: [Fink] Problem installing gcc 4 for Fink 0.8.1
- From: Jeffrey Goldberg
- Re: [Fink] Problem installing gcc 4 for Fink 0.8.1
- From: D P Schreber
- Re: [Fink] Problem installing gcc 4 for Fink 0.8.1 *RESOLVED*
- Prev by Date: Re: "disc burner or software not found" G4 PowerMac
- Next by Date: Re: Next MS victim...
- Previous by thread: ADC query/problem..
- Next by thread: Re: [Fink] Problem installing gcc 4 for Fink 0.8.1
- Index(es):
Relevant Pages
|