in reply to Does XCode 4 break Perl?
I am not a Mac user, so this answer is based on google and other second hand sources.
According to the Apple page listing what is new in Xcode4, they say that there is a new compiler, and that LLVM is now the default instead of GCC.
Your version of perl is most likely compiled with GCC, as that has been the standard compiler on Macs up until now. If you compile and XS module using the new LLVM compiler, then it is unlikely to link correctly with perl that was compiled on a different compiler.
There is a similar situation on windows, as if you use Active state perl (compiled with Microsoft cc), then you need to use an MS build environment to build XS modules, you cannot use GCC under cygwin without also using perl under cygwin.
I think your solution is to work out how to change the default compiler under Xcode back to GCC. Alternatively, you could recompile perl and all the modules you have installed using the new compiler.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Does XCode 4 break Perl?
by Anonymous Monk on Apr 01, 2011 at 08:37 UTC | |
by Anonymous Monk on Apr 01, 2011 at 09:00 UTC | |
by Anonymous Monk on Apr 01, 2011 at 09:12 UTC | |
by Anonymous Monk on Apr 01, 2011 at 09:23 UTC | |
by Anonymous Monk on Apr 01, 2011 at 09:50 UTC | |
|