Skip Menu |

This queue is for tickets about the Math-GMP CPAN distribution.

Report information
The Basics
Id: 19262
Status: resolved
Priority: 0/
Queue: Math-GMP

People
Owner: Nobody in particular
Requestors: bernikuh [...] aon.at
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: (no value)
Fixed in: (no value)



Subject: cant't make on darwin osx 10.4
trying do build math::gmp on powerpc osx 10.4 and i get the following error message..mhhh ###### rm -f blib/arch/auto/Math/GMP/GMP.bundle LD_RUN_PATH="" env MACOSX_DEPLOYMENT_TARGET=10.3 cc -bundle -undefined dynamic_lookup -L/usr/local/lib GMP.o -o blib/arch/auto/Math/GMP/GMP.bundle - lgmp /usr/bin/ld: /usr/local/lib/libgmp.a(mode1o.o) has local relocation entries in non- writable section (__TEXT,__text) collect2: ld returned 1 exit status make: *** [blib/arch/auto/Math/GMP/GMP.bundle] Error 1 ##### mhhh what should i do ?
The fix is to edit the Makefile, adding the following to LDDLFLAGS: -read_only_relocs suppress Rob On Mon May 15 08:40:25 2006, guest wrote: Show quoted text
> trying do build math::gmp on powerpc osx 10.4 > > and i get the following error message..mhhh > > > ###### > rm -f blib/arch/auto/Math/GMP/GMP.bundle > LD_RUN_PATH="" env MACOSX_DEPLOYMENT_TARGET=10.3 cc -bundle > -undefined > dynamic_lookup -L/usr/local/lib GMP.o -o > blib/arch/auto/Math/GMP/GMP.bundle - > lgmp > /usr/bin/ld: /usr/local/lib/libgmp.a(mode1o.o) has local relocation > entries in non- > writable section (__TEXT,__text) > collect2: ld returned 1 exit status > make: *** [blib/arch/auto/Math/GMP/GMP.bundle] Error 1 > ##### > > mhhh what should i do ?
Thanks, added a note to the INSTALL file.