he... connection problems... yeah, I know a lot about them :) well... after a successful install, I *think* you should have gcc and gcc-4.2... last one is also a symlink who points to: /usr/bin/i686-apple-darwin11-gcc-4.2.1 who should be there... is that the case? El 29/01/2012, a las 4:51p.m., dimitris chloupis escribió:
there is no gcc in usr/bin at all. Afterall your first command removed the only one ;)
I have reinstalled Xcode to be sure . My Xcode About box says its XCODE 4.2 build 4D199
no idea how to update cause I downloaded it via torrent, could not download from app store cause my connection is crapish and each time I disconnected it canceled my upload (no I could not resume, tried everything). So I had to install via torrent.
From: Esteban Lorenzano <estebanlm@gmail.com> To: Pharo-project@lists.gforge.inria.fr; dimitris chloupis <thekilon@yahoo.co.uk> Sent: Sunday, 29 January 2012, 20:49 Subject: Re: [Pharo-project] Trying to build CogVM in MacOSX 10.7 Lion
There is a problem there... if you have XCode 4.2.1 (latest), you should have that one... xcode just changed the default, it did not remove the gcc, AFAIK.
which versions of gcc do you have in /usr/bin?
oh, btw... is ln -s, not just ln (my mistake, but both should work)
(symlink macport gcc should work, but I'm fearing there is something wrong with xcode instalation, and that's probably the reason it didn't compiled the first time, so, let's be sure about that before try the port)
El 29/01/2012, a las 3:40p.m., dimitris chloupis escribió:
sudo rm /usr/bin/gcc
success !
sudo ln /usr/bin/gcc-4.2 gcc
fail !
no such file
there is a gcc symlink in developer/usr/bin that point to developer/usr/llvm-gcc-4.2/llvm-gcc-4.2
there is no gcc-4.2 in my Xcode folder or other folders except the gcc folder that I installed via macports following the previous tutorial that I have linked. Should I symlink macports gcc-4.2 ?
Xcode is by default isntalled in the Developer folder
I am open to suggestions and thanks for helping me.