<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
Greetings,<div><br></div><div>Quick disclaimer: Though I've been working on my unix chops for the last year (intermittently), I still consider myself a bit of a newbie, so I apologize for any questions that might have obvious answers. That said:</div><div><br class="webkit-block-placeholder"></div><div>I'm working on a port of FR 2.0 for macports.org and had a couple questions about what appears to be the main stumbling block when building it on the mac (both ppc and intel, in this case under osx 10.4.11). The problem, as those familiar with installing this on the mac, has to do with linking to the apple build of perl under /System/Library... Bug #471 shows this, and an example of my initial attempts showed much the same:</div><div><br class="webkit-block-placeholder"></div><div><span class="Apple-style-span" style="font-family: 'Courier New'; ">...</span></div><div><span class="Apple-style-span" style="font-family: 'Courier New'; ">(cd .libs && rm -f rlm_perl.so && ln -s rlm_perl-2.0.0.so rlm_perl.so)</span></div><div><div><font class="Apple-style-span" face="'Courier New'">ar cru .libs/rlm_perl.a /System/Library/Perl/5.8.6/darwin-thread-multi-2level/auto/DynaLoader/DynaLoader.a  rlm_perl.o /System/Library/Perl/5.8.6/darwin-thread-multi-2level/auto/DynaLoader/DynaLoader.a</font></div><div><font class="Apple-style-span" face="'Courier New'">ranlib: archive member: .libs/rlm_perl.a(DynaLoader.a) fat file for cputype (7) cpusubtype (3) is not an object file (bad magic number)</font></div><div><font class="Apple-style-span" face="'Courier New'">ar: internal ranlib command failed</font></div><div><font class="Apple-style-span" face="'Courier New'">gmake[6]: *** [rlm_perl.la] Error 1</font></div><div><font class="Apple-style-span" face="'Courier New'">...</font></div></div><div><br></div><div>Mind you, I've found a way to get past this by simply installing my own build of perl (5.8.8). Regardless, I have these questions:</div><div><br class="webkit-block-placeholder"></div><div>1] Is it at all possible for rlm_perl to build against apple's install of perl?</div><div>2] Is perl <i>only</i> a build dependency for rlm_perl, or does the module make runtime calls to external perl libs?</div><div>3] I've discovered with an install of perl 5.10 that, during configure (of freeradius 2), the linker chooses the /System/Library/5.8.6... over the new perl ( at {prefix}/lib/perl/5.10.0 ). The only thing I can guess is that when searching for perl libs/includes, the linker only expands to seek version n.n.n and does not recognize a two digit subversion n.nn.n. If that's what's happening, is that patchable?</div><div><br class="webkit-block-placeholder"></div><div>Cheers,</div><div><br class="webkit-block-placeholder"></div><div>Jim</div><div><div> <span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Arial; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; "><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" color="#6f9c38" style="font: normal normal normal 12px/normal Helvetica; color: rgb(111, 156, 56); "><br class="Apple-interchange-newline">___________________________________________________</font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Arial" size="4" color="#6f9c38" style="font: normal normal normal 13px/normal Arial; color: rgb(111, 156, 56); ">James H. Graham II, Creative Director</font><font face="Arial" size="3" color="#6f9c38" style="font: normal normal normal 12px/normal Arial; color: rgb(111, 156, 56); "> </font><font face="Arial" size="4" color="#6f9c38" style="font: normal normal normal 13px/normal Arial; color: rgb(111, 156, 56); ">• <b>Spark Media Group</b></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Arial" size="2" style="font: normal normal normal 10px/normal Arial; ">6511 Allegheny Avenue • Takoma Park, MD 20912-4737</font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Arial" size="3" style="font: normal normal normal 11px/normal Arial; ">Tel: 301.270.4810 • Fax: 301.270.4812 • <a href="http://www.sparkmediagroup.com">www.sparkmediagroup.com</a></font></div></span> </div><br></div></body></html>