Alexander Hansen wrote:
> Steve McMillan wrote:
>   
>> I get the following error when I try to install openmpi v. 1.3.1-1000 
>> from source on MacOS 10.5.6.  The installation proceeds for ~15 minutes, 
>> then ends with:
>>
>> .
>> .
>> .
>> Making all in doc
>> make[7]: Nothing to be done for `all'.
>> make[7]: Nothing to be done for `all-am'.
>> Making all in vtfilter
>> g++ -DHAVE_CONFIG_H -I. -I../.. -I../../extlib/otf/otflib 
>> -I../../extlib/otf/otflib -I../../vtlib/ -I../../vtlib  -I/sw/include 
>> -fopenmp -DVT_OMP -O3 -DNDEBUG -finline-functions  -c -o 
>> vtfilter-vt_filter.o `test -f 'vt_filter.cc' || echo './'`vt_filter.cc
>> cc1plus: error: unrecognized command line option "-fopenmp"
>> make[6]: *** [vtfilter-vt_filter.o] Error 1
>> make[5]: *** [all-recursive] Error 1
>> make[4]: *** [all-recursive] Error 1
>> make[3]: *** [all] Error 2
>> make[2]: *** [all-recursive] Error 1
>> make[1]: *** [all-recursive] Error 1
>> make: *** [all-recursive] Error 1
>> ### execution of make failed, exit code 2
>> Removing runtime build-lock...
>> Removing build-lock package...
>> /sw/bin/dpkg-lockwait -r fink-buildlock-openmpi-1.3.1-1000
>> (Reading database ... 89872 files and directories currently installed.)
>> Removing fink-buildlock-openmpi-1.3.1-1000 ...
>> Failed: phase compiling: openmpi-1.3.1-1000 failed
>>
>> Running 'fink selfupdate' doesn't help.  How do I remove the incorrect 
>> option?
>>
>> Steve McMillan
>>
>>   
>>     
> On my system (10.5.6/Intel using Xcode 3.1.2) I get a slightly different
> compiler line at the same point:
>
> ...
> g++ -DHAVE_CONFIG_H -I. -I../.. -I../../extlib/otf/otflib
> -I../../extlib/otf/otflib -I../../vtlib/ -I../../vtlib  -I/sw/include 
> -O3 -DNDEBUG -finline-functions  -c -o vtfilter-vt_filter.o `test -f
> 'vt_filter.cc' || echo './'`vt_filter.cc
> ...
>
>   
Forgot to add:  and the build succeeds here.

-- 
Alexander Hansen
Fink User Liaison


------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
Fink-beginners mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.beginners

Reply via email to