gcc4.4 installation error

Ryan Schmidt ryandesign at macports.org
Wed May 27 10:06:27 PDT 2009

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.

More information about the macports-users mailing list