<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
Walter,<div><br class="webkit-block-placeholder"></div><div>I've overcome these problems on Tiger and offer these points in hopes it works on Leopard as well:</div><div><br class="webkit-block-placeholder"></div><div>1] in my experience, rlm_perl doesn't like apple's perl install - haven't had the time to really figure out why, but installing my own build (tested with threaded/shared and w/o threads/static versions) of 5.8.8 and pointing to it does the trick. Once you've got your own perl installed, add this in your ./configure flags :</div><div><br class="webkit-block-placeholder"></div><div>PERL5LIB={your prefix}/lib/perl5/5.8.8/darwin-*</div><div><br class="webkit-block-placeholder"></div><div>2] on linking to mysql, assuming you have a version 5.x.x install try :</div><div><div>--with-mysql-lib-dir={your prefix}/lib/mysql5/mysql</div><div>--with-mysql-include-dir={your prefix}/include/mysql5</div><div><br class="webkit-block-placeholder"></div><div>Note, my installs of perl and mysql have been done via the macports system, so you'll want to double-check your paths against what i've shown here.</div><div><br class="webkit-block-placeholder"></div><div>Hope this helps!</div><div><br class="webkit-block-placeholder"></div><div>Jim</div><div><br class="webkit-block-placeholder"></div><div>P.S.: Another important thing, freeradius' default configure is set up to try to install all stable modules, but without strict dependencies. So modules that aren't necessary for basic functionality will fail (to build) silently if you're missing libraries they need (including, unixodbc, postgresql, mysql, kerberos).</div></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><div>On Jan 21, 2008, at 7:32 AM, Walter Krivanek, VividVisions wrote:</div><br class="Apple-interchange-newline"><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Hi,</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><br></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">I'm trying to build the current version of freeradius on my Mac OS X 10.5 Intel 64bit computer.</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><br></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">First, I have troubles with the configure script. Even if I show the script my exact location of the MySQL include files using --with-mysql-include-dir and similar, I'm getting warnings that mysql.h has not been found and that the MySQL module will be disabled. BTW: This also happens on my Debian server, where MySQL is installed in the standard directories.</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><br></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Then, when running make, I'm getting the following error:</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">ranlib: archive member: .libs/rlm_perl.a(DynaLoader.a) fat file for cputype (18) cpusubtype (0) is not an object file (bad magic number)</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">ar: internal ranlib command failed</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><br></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Any thoughts?</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><br></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Thanks for your help!</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Walter</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><br></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">-</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">List info/subscribe/unsubscribe? See <a href="http://www.freeradius.org/list/users.html">http://www.freeradius.org/list/users.html</a></div> </div><br></div></body></html>