[MINC-users] compiling dyld, 32, 64?

Jon Erik Ween jween at klaru-baycrest.on.ca
Wed Mar 18 23:37:49 EDT 2009


Friends

I gave up trying to compile the visualization tools as all other tools  
compiled well once I ditched the fink libraries in favor of those in  
Alex' package, used his configure parameters and figured out to untar  
in /usr/local (and not in a package directory above that, like one  
might usually do to segregate stuff). Hence, the lib dependencies were  
broken. Alex, you may wish to but a line in the README file for noobs  
like me:

"Extract in /usr/local"

Anyhow, thanks for all the help from everyone, this is what makes  
opensource a great place to be! When (if) I find the energy, I'll try  
building everything from scratch.

Cheers

Jon

Soli Deo Gloria


On 6-Mar-09, at 2:22 PM, Alexandre CARMEL-VEILLEUX wrote:

> On Fri, Mar 06, 2009 at 01:46:00PM -0500, Dale Einarson wrote:
>>
>> Sadly I have had to do such ugly hacks as,
>> HDF
>> 	perl -pi -e 's/-O2 -g x86_64 -arch/-g -O2 -arch x86_64/g' Makefile  
>> */
>> Makefile */*/Makefile */*/*/Makefile
>>
>> LIBTOOL
>> 	perl -pi -e 's/-fno-builtin/-arch x86_64 -fno-builtin/g' libtool
>> 	perl -pi -e 's/-dynamiclib/-dynamiclib -arch x86_64/g' libtool
>
> The following configure line is what I used combined with the  
> libtool hack
> I mentionned:
>
> ./configure CFLAGS="-O2 -arch x86_64 -m64" CXXFLAGS="-O2 -arch  
> x86_64 -m64" --with-szlib=yes --with-zlib=yes --prefix=/usr/local
>
> Alex
> _______________________________________________
> MINC-users at bic.mni.mcgill.ca
> http://www2.bic.mni.mcgill.ca/mailman/listinfo/minc-users
>



More information about the MINC-users mailing list