[R-SIG-Mac] Compile analyzeFMRI

Benjamin jacobson jacobson at psych.colorado.edu
Tue Dec 2 17:43:04 MET 2003


>>
>>
>> I have some trouble compiling AnalyzeFMRI for R on MacOSX.
>>
>> I have done quite a bit of development using these libraries 
>> (statistical analysis of fMRI images, extracting values from images, 
>> writing Analyze format, etc.....).  I have updated to the newest 
>> version of R on Macintosh panther, and was not able to get the 
>> library to compile.  The install is looking for a particular 
>> directory in /usr/local 
>> (/usr/local/lib/gcc/powerpc-apple-darwin6.6/3.4/) which does not 
>> exist in the current version of MacOSX (Panther, 10.3).  Below I have 
>> included output from the error message when installing the library.  
>> It looks as though, all relevant material has been placed in a lower 
>> level directory (just usr/local/lib).  Wanted to know if you could 
>> provide me a heads up on how to change the install script to reflect 
>> these changes and see if that works.  As before, I appreciate your 
>> time and help.
>>
>> sincerely,
>>
>> Ben Jacobson
>>
>>
>>
>>
>>
>> Benjamin Jacobson
>> University of Colorado at Boulder
>> Department of Psychology
>> University of Illinois, Medical Scholars Program
>> jacobson at psych.colorado.edu
>> 303-735-5802
>>
>> Output from AnalyzeFMRI build:
>>
>> root# R CMD INSTALL /Users/jacobsb/Desktop/AnalyzeFMRI_1.0-8.tar.gz
>> * Installing *source* package 'AnalyzeFMRI' ...
>> creating cache ./config.cache
>> checking for sgesdd_ in -llapack... no
>> could not find SGESVD in your LAPACK library, using our routines
>> updating cache ./config.cache
>> creating ./config.status
>> creating src/Makevars
>> ** libs
>> gcc -no-cpp-precomp 
>> -I/Applications/StartR.app/RAqua.app/Contents/include  
>> -I/usr/local/include  -Wall -pedantic -fno-common  -g -O2 -c 
>> analyzeFMRI.c -o analyzeFMRI.o
>> g77   -fno-common  -g -O2 -c slapack.f -o slapack.o
>> gcc -bundle -flat_namespace -undefined suppress -L/usr/local/lib -o 
>> AnalyzeFMRI.so analyzeFMRI.o slapack.o -framework vecLib 
>> -L/usr/local/lib -L/usr/local/lib/gcc/powerpc-apple-darwin6.6/3.4 
>> -L/usr/local/lib/gcc/powerpc-apple-darwin6.6/3.4/../../.. -lfrtbegin 
>> -lg2c -lSystem  -L/usr/local/lib 
>> -L/usr/local/lib/gcc/powerpc-apple-darwin6.6/3.4 
>> -L/usr/local/lib/gcc/powerpc-apple-darwin6.6/3.4/../../.. -lfrtbegin 
>> -lg2c -lSystem -lcc_dynamic
>> ld: warning -L: directory name 
>> (/usr/local/lib/gcc/powerpc-apple-darwin6.6/3.4) does not exist
>> ld: warning -L: directory name 
>> (/usr/local/lib/gcc/powerpc-apple-darwin6.6/3.4/../../..) does not 
>> exist
>> ld: warning -L: directory name 
>> (/usr/local/lib/gcc/powerpc-apple-darwin6.6/3.4) does not exist
>> ld: warning -L: directory name 
>> (/usr/local/lib/gcc/powerpc-apple-darwin6.6/3.4/../../..) does not 
>> exist
>> ld: can't locate file for: -lfrtbegin
>> make: *** [AnalyzeFMRI.so] Error 1
>> ERROR: compilation failed for package 'AnalyzeFMRI'
>> ** Removing 
>> '/Applications/StartR.app/RAqua.app/Contents/library/AnalyzeFMRI'
>>
>>
>> Contents of usr/local/lib:
>>
>> .DS_Store               libreadline.a           tcl8.4
>> R                       libreadline.dylib       tclConfig.sh
>> libGL.1.dylib           libtcl8.4.dylib         tk8.4
>> libXm.2.dylib           libtclstub8.4.a         tkConfig.sh
>> libreadline.4.3.dylib   libtk8.4.dylib
>> libreadline.4.dylib     libtkstub8.4.a
>>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/enriched
Size: 3181 bytes
Desc: not available
Url : https://www.stat.math.ethz.ch/pipermail/r-sig-mac/attachments/20031202/221a24c6/attachment.bin


More information about the R-SIG-Mac mailing list