Le 5 août 2011 à 02:34, Brandon Allbery a écrit :
On Thu, Aug 4, 2011 at 17:23, ENDERLIN Christophe c.ender...@me.com wrote:
I put everything back in /usr as it was before my modifications, and then, I
tried the
'port select' command. Now, I can see that the correct links have actually
On 08/05/2011 12:30 PM, ENDERLIN Christophe wrote:
I think maybe the mistake I made yesterday is that I forgot to
logoff/login after using port select.
You don't need to logout. Your shell usually maintains a cache of the
command being run so it does not have to walk PATH every time it is
On 08/04/2011 11:25 PM, ENDERLIN Christophe wrote:
Le 4 août 2011 à 22:00, Rainer Müller a écrit :
On 2011-08-04 21:58 , Rainer Müller wrote:
Use the command 'port select' to change which gcc is invoked when typing
'gcc' in your shell. It will change the symlink at /opt/local/bin/gcc.
On Fri, Aug 5, 2011 at 06:30, ENDERLIN Christophe c.ender...@me.com wrote:
I think maybe the mistake I made yesterday is that I forgot to logoff/login
after using port select.
Most shells remember where they've seen commands, and anything that changes
them will render that information
Le 5 août 2011 à 12:42, Rainer Müller a écrit :
On 08/05/2011 12:30 PM, ENDERLIN Christophe wrote:
I think maybe the mistake I made yesterday is that I forgot to
logoff/login after using port select.
You don't need to logout. Your shell usually maintains a cache of the command
being run
Le 5 août 2011 à 12:44, Rainer Müller a écrit :
On 08/04/2011 11:25 PM, ENDERLIN Christophe wrote:
Le 4 août 2011 à 22:00, Rainer Müller a écrit :
On 2011-08-04 21:58 , Rainer Müller wrote:
Use the command 'port select' to change which gcc is invoked when typing
'gcc' in your shell. It
Le 5 août 2011 à 12:46, Brandon Allbery a écrit :
On Fri, Aug 5, 2011 at 06:30, ENDERLIN Christophe c.ender...@me.com wrote:
I think maybe the mistake I made yesterday is that I forgot to logoff/login
after using port select.
Most shells remember where they've seen commands, and anything
Le 5 août 2011 à 12:52, Brandon Allbery a écrit :
On Fri, Aug 5, 2011 at 06:46, Brandon Allbery allber...@gmail.com wrote:
changes them will render that information obsolete. With bash (OSX default)
and zsh, hash -r will update the seen command information; with tcsh, it's
rehash.
On Fri, Aug 5, 2011 at 07:17, ENDERLIN Christophe c.ender...@me.com wrote:
I'm currently using zsh and I confirm that rehash works for me. But I don't
know if zsh is sh-like or csh-like shell ?
Both, as it turns out :) zsh defaults to sh-like when there is a conflict
between them, although
Le 5 août 2011 à 15:36, Brandon Allbery a écrit :
On Fri, Aug 5, 2011 at 07:17, ENDERLIN Christophe c.ender...@me.com wrote:
I'm currently using zsh and I confirm that rehash works for me. But I don't
know if zsh is sh-like or csh-like shell ?
Both, as it turns out :) zsh defaults to
Hello,
I need to install gcc 4.6 on OSX Lion. I found serveral ports that mention
gcc in their title, but I'm not sure of which one to choose.
http://www.macports.org/ports.php?by=namesubstr=gcc
Could you tell me which is the right one, please ?
Thanks !
Best regards,
Christophe
Salut Christophe,
I need to install gcc 4.6 on OSX Lion. I found serveral ports that mention
gcc in their title, but I'm not sure of which one to choose.
You can’t. Well, there is a gcc46 port but it installs a deprecated ß-version.
I myself tried to update the port and install gcc 4.6.[01]:
On Aug 4, 2011, at 05:32, vincent habchi wrote:
I need to install gcc 4.6 on OSX Lion. I found serveral ports that mention
gcc in their title, but I'm not sure of which one to choose.
You can’t. Well, there is a gcc46 port but it installs a deprecated ß-version.
Yes, although the date of
Le 4 août 2011 à 16:42, Ryan Schmidt a écrit :
Yes, although the date of that version is the same day the final 4.6.0
version was released, so it can't be too terribly different.
Thanks for pointing out this: I hadn’t even checked. Yet, it is impossible,
with this port, to build both fortran
On Aug 4, 2011, at 09:51, vincent habchi wrote:
Le 4 août 2011 à 16:42, Ryan Schmidt a écrit :
Yes, although the date of that version is the same day the final 4.6.0
version was released, so it can't be too terribly different.
Thanks for pointing out this: I hadn’t even checked. Yet, it
Ryan,
Yes, the gfortran and java variants are conflicting. Pre-release versions of
the gcc ports have always had this restriction, though there is no need for
it. I submitted a patch three years ago to fix it but the maintainer declined
to apply it:
Le 4 août 2011 à 12:32, vincent habchi a écrit :
Salut Christophe,
I need to install gcc 4.6 on OSX Lion. I found serveral ports that mention
gcc in their title, but I'm not sure of which one to choose.
You can’t. Well, there is a gcc46 port but it installs a deprecated
ß-version. I
On 2011-08-04 21:58 , Rainer Müller wrote:
Use the command 'port select' to change which gcc is invoked when typing
'gcc' in your shell. It will change the symlink at /opt/local/bin/gcc.
sudo port select gcc gcc46
Sorry, I made a slight mistake. Should have read:
sudo port select
Le 4 août 2011 à 19:59, vincent habchi a écrit :
Christophe,
Well, all I need is actually C-family languages so I think it'll be ok.
So I've chosen gcc46 port that install 4.6.01 and all seems to work fine.
You can find elsewhere (ticket #29184), or I can handle you, a portfile that
Le 4 août 2011 à 20:06, Jason Swails a écrit :
Building macports should put /opt/local/bin in your PATH before anything else
in your .bash_profile or .profile file (I don't recall which), so unless
you've changed something that should already be there.
You're right, my PATH contains
Le 4 août 2011 à 21:58, Rainer Müller a écrit :
On 2011-08-04 19:32 , ENDERLIN Christophe wrote:
To use this new version, I had to change some symbolic links in /usr/bin.
Was it right to proceed that way ? By the way, what is the difference between
x86_64-apple-darwin11-gcc-4.6.1 and
Le 4 août 2011 à 22:00, Rainer Müller a écrit :
On 2011-08-04 21:58 , Rainer Müller wrote:
Use the command 'port select' to change which gcc is invoked when typing
'gcc' in your shell. It will change the symlink at /opt/local/bin/gcc.
sudo port select gcc gcc46
Sorry, I made a
On Thu, Aug 4, 2011 at 17:23, ENDERLIN Christophe c.ender...@me.com wrote:
I put everything back in /usr as it was before my modifications, and then,
I tried the
'port select' command. Now, I can see that the correct links have actually
been created in /opt/local/bin
but the old ones in
23 matches
Mail list logo