gcc4.4 installation error
larserik.lindgren at gmail.com
Fri Jul 3 05:36:46 PDT 2009
That fixed the issue. Then I copied back the original content of /usr/local/
Must I do this procedure (temporarily emptying /usr/local and then copying
back original contents) whenever I want to use MacPort to install some
software or si this only a problem for gcc?
Is there any risk of clashes between file names directoriers when copying
back /usr/local (I used "sudo cp -T tempusrlocal/local /usr/loacl/" where
tempusrlocal/local is where I moved its originla content)?
2009/5/27 Ryan Schmidt <ryandesign at macports.org>
> On May 26, 2009, at 21:13, Anthony Agelastos wrote:
> If I had to guess, you have some items installed within /usr/local that
>> are conflicting with this MacPort.
> Right, specifically /usr/local/lib/libgmp.a:
> ld: absolute addressing (perhaps -mdynamic-no-pic) used in ___gmpn_add_n
>>> from /usr/local/lib/libgmp.a(add_n.o) not allowed in slidable image. Use
>>> '-read_only_relocs suppress' to enable text relocs
> Because of inevitable interference like this, it's not supported to have
> anything in /usr/local while using MacPorts. Rename /usr/local to something
> else, like /usr/local-off, then clean gcc44 (sudo port clean gcc44) and try
> again. I recommend you do not install software manually e.g. into
> /usr/local, and instead use MacPorts to install any software you need.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the macports-users