The problem is obvious in the config.log... configure:3734: /usr/bin/clang -o conftest -O3 -DNDEBUG -I/sw/src/fink.build/openmpi-1.8.4-3/openmpi-1.8.4 -I/sw/src/fink.build/openmpi-1.8.4-3/openmpi-1.8.4 -I/sw/src/fink.build/openmpi-1.8.4-3/openmpi-1.8.4/opal/include -I/sw/include -Wl,-flat_namespace -L/sw/lib conftest.c -lhwloc >&5 configure:3738: $? = 0 configure:3745: ./conftest dyld: Library not loaded: /sw/lib/libxml2.2.dylib Referenced from: /sw/lib/libhwloc.5.dylib Reason: Incompatible library version: libhwloc.5.dylib requires version 12.0.0 or later, but libxml2.2.dylib provides version 10.0.0 ./configure: line 3747: 39330 Trace/BPT trap: 5 ./conftest$ac_cv_exeext configure:3749: $? = 133 configure:3756: error: in `/sw/src/fink.build/openmpi-1.8.4-3/openmpi-1.8.4/opal/mca/event/libevent2021/libevent': configure:3758: error: cannot run C compiled programs. If you meant to cross compile, use `--host'.
The installed /sw/lib/libhwloc.5.dylib on your machine is properly linked to the current libxml2 (as is mine on 10.9)... % otool -L /sw/lib/libhwloc.5.dylib /sw/lib/libhwloc.5.dylib: /sw/lib/libhwloc.5.dylib (compatibility version 12.0.0, current version 12.1.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1197.1.1) /sw/lib/libxml2.2.dylib (compatibility version 12.0.0, current version 12.1.0) but it appears that you have an older copy of the /sw/lib/libxml2.2.dylib installed. Do you see the following? % otool -L /sw/lib/libxml2.2.dylib /sw/lib/libxml2.2.dylib: /sw/lib/libxml2.2.dylib (compatibility version 12.0.0, current version 12.1.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1197.1.1) /usr/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.5) /sw/lib/liblzma.5.dylib (compatibility version 6.0.0, current version 6.5.0) /sw/lib/libiconv.2.dylib (compatibility version 8.0.0, current version 8.1.0) with the installed libxml2 having a compatibility version of 12.0.0? If not try 'fink rebuild libxml2'. Jack On Thu, May 7, 2015 at 6:22 PM, Barnes, Peter D. <barne...@llnl.gov> wrote: > Moving /usr/local and /opt/local didn't change anything. > > Requested config.log is attached. > > Thanks, > Peter > > On May 7, 2015, at 1:46 PM, Jack Howarth <howarth.at.f...@gmail.com> > wrote: >> No problems building on 10.9 here. Please post the config.log from >> /sw/src/fink.build/openmpi-1.8.4-3/openmpi-1.8.4/opal/mca/event/libevent2021/libevent >> so we can see the actual error. Also try the usual checks of moving >> aside /usr/local and /opt/local to make sure that doesn't solve your >> build problem. >> >> On Thu, May 7, 2015 at 3:12 PM, Barnes, Peter D. <barne...@llnl.gov> wrote: >>> Hello Folks, >>> >>> openmpi-1.8.43 build fails, during a configure step. >>> >>> This is after reducing build jobs to 1, rebooting, and fink self-update. >>> >>> Thanks for any hints, >>> Peter >>> >>> Package manager version: 0.38.4 >>> Distribution version: selfupdate-rsync Thu May 7 11:09:59 2015, 10.9, >>> x86_64 >>> Trees: local/main stable/main unstable/main >>> Xcode.app: 6.1.1 >>> Xcode command-line tools: 6.2.0.0.1.1424975374 >>> Max. Fink build jobs: 1 >>> >>> Hardware Overview: >>> Model Name: MacBook Pro >>> Model Identifier: MacBookPro5,4 >>> Processor Name: Intel Core 2 Duo >>> Processor Speed: 2.53 GHz >>> Number of Processors: 1 >>> Total Number of Cores: 2 >>> System Software Overview: >>> System Version: OS X 10.9.5 (13F1077) >>> Kernel Version: Darwin 13.4.0 >>> >>> Failed build step: >>>> --- MCA component event:libevent2021 (m4 configuration macro, priority 80) >>>> checking for MCA component event:libevent2021 compile mode... static >>>> checking libevent configuration args... --disable-dns --disable-http >>>> --disable-rpc --disable-openssl --enable-thread-support --disable-evport >>>> configure: OMPI configuring in opal/mca/event/libevent2021/libevent >>>> configure: running /bin/sh './configure' --disable-dns --disable-http >>>> --disable-rpc --disable-openssl --enable-thread-support --disable-evport >>>> '--prefix=/sw' '--datadir=/sw/share/doc' '--sysconfdir=/sw/etc/openmpi' >>>> '--sharedstatedir=/sw/var/openmpi/shared' >>>> '--localstatedir=/sw/var/openmpi/local' '--libdir=/sw/lib/openmpi' >>>> '--includedir=/sw/include' '--infodir=/sw/share/info' >>>> '--mandir=/sw/share/man' '--enable-shared' '--enable-static' 'FCFLAGS=-O3' >>>> '--with-devel-headers' 'FC=gfortran-fsf-5' '--with-hwloc=/sw' >>>> 'CC=/usr/bin/clang' 'CXX=/usr/bin/clang++' --cache-file=/dev/null >>>> --srcdir=. --disable-option-checking >>>> checking for a BSD-compatible install... /usr/bin/install -c >>>> checking whether build environment is sane... yes >>>> checking for a thread-safe mkdir -p... ./install-sh -c -d >>>> checking for gawk... no >>>> checking for mawk... no >>>> checking for nawk... no >>>> checking for awk... awk >>>> checking whether make sets $(MAKE)... yes >>>> checking build system type... x86_64-apple-darwin13.4.0 >>>> checking host system type... x86_64-apple-darwin13.4.0 >>>> checking for gcc... /usr/bin/clang >>>> checking whether the C compiler works... yes >>>> checking for C compiler default output file name... a.out >>>> checking for suffix of executables... >>>> checking whether we are cross compiling... configure: error: in >>>> `/sw/src/fink.build/openmpi-1.8.4-3/openmpi-1.8.4/opal/mca/event/libevent2021/libevent': >>>> configure: error: cannot run C compiled programs. >>>> If you meant to cross compile, use `--host'. >>>> See `config.log' for more details >>>> configure: /bin/sh './configure' *failed* for >>>> opal/mca/event/libevent2021/libevent >>>> configure: WARNING: Event library failed to configure >>>> configure: error: Cannot continue >>>> ### execution of /tmp/fink.Rtl0n failed, exit code 1 >>>> ### execution of /tmp/fink.D4lDv failed, exit code 1 >>>> Removing runtime build-lock... >>>> Removing build-lock package... >>>> /sw/bin/dpkg-lockwait -r fink-buildlock-openmpi-1.8.4-3 >>>> (Reading database ... 36096 files and directories currently installed.) >>>> Removing fink-buildlock-openmpi-1.8.4-3 ... >>>> Failed: phase compiling: openmpi-1.8.4-3 failed ------------------------------------------------------------------------------ One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y _______________________________________________ Fink-users mailing list Fink-users@lists.sourceforge.net List archive: http://news.gmane.org/gmane.os.macosx.fink.user Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-users