On Aug 27, 2008, at 4:52 PM, Martin Costabel wrote: > Phillip R Smith wrote: >> I'm trying to build fftw-3.1.2 on a G4 Mac running Tiger using fink. >> >> The package requires a number of extras (unclear quite why) that >> include libmpfr1. > > fftw3 is now built with gcc-4.3, and the gcc people currently have a > strange tendency to require more and more complicated third-party > stuff > like gmp, and now libmpfr1, to be installed before you can even start > building their compiler. And they require these things to be installed > at runtime of the compiler, too. Just look at > > otool -L /sw/lib/gcc4.3/libexec/gcc/powerpc-apple-darwin8/4.3.1/cc1
Thanks! I was still not able to build gcc-4.3 in fink, even with Xcode 2.5, because gmp/libmpfr1-shlibs would not build because it fails some tests. (interestingly, whether tests are done seem to depend on what gets built first. A gmp build fails. But if you build gmp-shlibs first, gmp builds....). Oy. I achieved the real goal (building fftw3) by downloading the package and hand-editing the config.h file that ./configure generated to get the mangling of the FORTRAN interface correct. I have no idea whether the result is the optimum result for fftw, but I does do a FFT. This was meant to be soooo simple. -Ross- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Fink-beginners mailing list [email protected] http://news.gmane.org/gmane.os.apple.fink.beginners
