Re: [Fink-users] glitz-0.5.6 build error

2016-08-09 Thread Barnes, Peter D.

On Aug 9, 2016, at 4:19 PM, Alexander Hansen 
<alexanderk.han...@gmail.com<mailto:alexanderk.han...@gmail.com>> wrote:


On Aug 9, 2016, at 16:07, Barnes, Peter D. 
<barne...@llnl.gov<mailto:barne...@llnl.gov>> wrote:


On Aug 9, 2016, at 3:58 PM, Alexander Hansen 
<alexanderk.han...@gmail.com<mailto:alexanderk.han...@gmail.com>> wrote:


On Aug 9, 2016, at 15:25, Barnes, Peter D. 
<barne...@llnl.gov<mailto:barne...@llnl.gov>> wrote:


On Aug 9, 2016, at 3:19 PM, Alexander Hansen 
<alexanderk.han...@gmail.com<mailto:alexanderk.han...@gmail.com>> wrote:

On Aug 9, 2016, at 15:03, Barnes, Peter D. 
<barne...@llnl.gov<mailto:barne...@llnl.gov>> wrote:

Hello Folks,

I can’t build glitz-0.5.6 successfully:

Making all in glx
if /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. 
-I../.. -I../../src -I../../src -g -O2 -Wall -Wpointer-arith 
-Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations 
-Wnested-externs -fno-strict-aliasing -MT glitz_glx_drawable.lo -MD -MP -MF 
".deps/glitz_glx_drawable.Tpo" -c -o glitz_glx_drawable.lo 
glitz_glx_drawable.c; \
then mv -f ".deps/glitz_glx_drawable.Tpo" ".deps/glitz_glx_drawable.Plo"; else 
rm -f ".deps/glitz_glx_drawable.Tpo"; exit 1; fi
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src -I../../src -g -O2 -Wall 
-Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations 
-Wnested-externs -fno-strict-aliasing -MT glitz_glx_drawable.lo -MD -MP -MF 
.deps/glitz_glx_drawable.Tpo -c glitz_glx_drawable.c  -fno-common -DPIC -o 
.libs/glitz_glx_drawable.o
In file included from glitz_glx_drawable.c:30:
./glitz_glxint.h:34:10: fatal error: 'GL/gl.h' file not found
#include 
^
1 error generated.


I’ve run fink selfupdate, but that didn’t help.

System info:
Package manager version: 0.39.4
Distribution version: selfupdate-rsync Tue Aug  9 14:31:12 2016, 10.10, x86_64
Trees: local/main stable/main stable/crypto
Xcode.app: 7.2.1
Xcode command-line tools: 7.2.0.0.1.1447826929
glitz-0.5.6-34 is set to build with only one job.

TIA for your help,
Peter


What does the "checking for X…” line near the beginning of the build output say?





checking for X... libraries /usr/X11/lib, headers




The build system appears not to be finding X11 headers.  What do you get from

ls -l /usr/X11
ls -ld /usr/X11/include
ls -ld /opt/X11/include

MacOS X:~$ ls -l /usr/X11
lrwxr-xr-x  1 root  wheel  8 Jun 23  2015 /usr/X11@ -> /opt/X11
MacOS X:~$ ls -ld /usr/X11/include
drwxr-xr-x  19 root  wheel  646 Jun 17 21:22 /usr/X11/include/
MacOS X:~$ ls -ld /opt/X11/include
drwxr-xr-x  19 root  wheel  646 Jun 17 21:22 /opt/X11/include/
MacOS X:~$ ls -l /opt/X11/include
total 88
drwxr-xr-x   22 rootwheel748 Jun 17 21:22 GL/
drwxr-xr-x6 rootwheel204 Jun 17 21:22 GLES/


Hmm.  How about “ls -l /usr/X11/include/GL/gl.h” ?

—akh
MacOS X:~$ ls -l /usr/X11/include/GL/gl.h
-rw-r--r--  1 root  wheel  80615 May  5 01:04 /usr/X11/include/GL/gl.h

Peter
_
Dr. Peter D. Barnes, Jr. NACS Division
Lawrence Livermore National Laboratory Physical and Life Sciences
7000 East Avenue, L-50 email:  pdbar...@llnl.gov<mailto:pdbar...@llnl.gov>
P. O. Box 808 Voice:  (925) 422-3384
Livermore, California 94550 Fax:(925) 423-3371





--
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. http://sdm.link/zohodev2dev___
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


Re: [Fink-users] glitz-0.5.6 build error

2016-08-09 Thread Barnes, Peter D.

On Aug 9, 2016, at 3:58 PM, Alexander Hansen 
<alexanderk.han...@gmail.com<mailto:alexanderk.han...@gmail.com>> wrote:


On Aug 9, 2016, at 15:25, Barnes, Peter D. 
<barne...@llnl.gov<mailto:barne...@llnl.gov>> wrote:


On Aug 9, 2016, at 3:19 PM, Alexander Hansen 
<alexanderk.han...@gmail.com<mailto:alexanderk.han...@gmail.com>> wrote:

On Aug 9, 2016, at 15:03, Barnes, Peter D. 
<barne...@llnl.gov<mailto:barne...@llnl.gov>> wrote:

Hello Folks,

I can’t build glitz-0.5.6 successfully:

Making all in glx
if /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. 
-I../.. -I../../src -I../../src -g -O2 -Wall -Wpointer-arith 
-Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations 
-Wnested-externs -fno-strict-aliasing -MT glitz_glx_drawable.lo -MD -MP -MF 
".deps/glitz_glx_drawable.Tpo" -c -o glitz_glx_drawable.lo 
glitz_glx_drawable.c; \
then mv -f ".deps/glitz_glx_drawable.Tpo" ".deps/glitz_glx_drawable.Plo"; else 
rm -f ".deps/glitz_glx_drawable.Tpo"; exit 1; fi
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src -I../../src -g -O2 -Wall 
-Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations 
-Wnested-externs -fno-strict-aliasing -MT glitz_glx_drawable.lo -MD -MP -MF 
.deps/glitz_glx_drawable.Tpo -c glitz_glx_drawable.c  -fno-common -DPIC -o 
.libs/glitz_glx_drawable.o
In file included from glitz_glx_drawable.c:30:
./glitz_glxint.h:34:10: fatal error: 'GL/gl.h' file not found
#include 
^
1 error generated.


I’ve run fink selfupdate, but that didn’t help.

System info:
Package manager version: 0.39.4
Distribution version: selfupdate-rsync Tue Aug  9 14:31:12 2016, 10.10, x86_64
Trees: local/main stable/main stable/crypto
Xcode.app: 7.2.1
Xcode command-line tools: 7.2.0.0.1.1447826929
glitz-0.5.6-34 is set to build with only one job.

TIA for your help,
Peter
__

(please don’t crosspost, since more or less the same people actually read and 
respond to all of our lists)

Apologies.  The Fink error chatter asks to cross post:

 If not, ask on one (not both, please) of
these mailing lists:

“not both, please” ^

Whoops.  Apologies again.

What does the "checking for X…” line near the beginning of the build output say?





checking for X... libraries /usr/X11/lib, headers




The build system appears not to be finding X11 headers.  What do you get from

ls -l /usr/X11
ls -ld /usr/X11/include
ls -ld /opt/X11/include

MacOS X:~$ ls -l /usr/X11
lrwxr-xr-x  1 root  wheel  8 Jun 23  2015 /usr/X11@ -> /opt/X11
MacOS X:~$ ls -ld /usr/X11/include
drwxr-xr-x  19 root  wheel  646 Jun 17 21:22 /usr/X11/include/
MacOS X:~$ ls -ld /opt/X11/include
drwxr-xr-x  19 root  wheel  646 Jun 17 21:22 /opt/X11/include/
MacOS X:~$ ls -l /opt/X11/include
total 88
drwxr-xr-x   22 rootwheel748 Jun 17 21:22 GL/
drwxr-xr-x6 rootwheel204 Jun 17 21:22 GLES/

Peter
_
Dr. Peter D. Barnes, Jr. NACS Division
Lawrence Livermore National Laboratory Physical and Life Sciences
7000 East Avenue, L-50 email:  pdbar...@llnl.gov<mailto:pdbar...@llnl.gov>
P. O. Box 808 Voice:  (925) 422-3384
Livermore, California 94550 Fax:(925) 423-3371





--
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. http://sdm.link/zohodev2dev___
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


Re: [Fink-users] glitz-0.5.6 build error

2016-08-09 Thread Barnes, Peter D.

On Aug 9, 2016, at 3:19 PM, Alexander Hansen 
<alexanderk.han...@gmail.com<mailto:alexanderk.han...@gmail.com>> wrote:

On Aug 9, 2016, at 15:03, Barnes, Peter D. 
<barne...@llnl.gov<mailto:barne...@llnl.gov>> wrote:

Hello Folks,

I can’t build glitz-0.5.6 successfully:

Making all in glx
if /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. 
-I../.. -I../../src -I../../src -g -O2 -Wall -Wpointer-arith 
-Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations 
-Wnested-externs -fno-strict-aliasing -MT glitz_glx_drawable.lo -MD -MP -MF 
".deps/glitz_glx_drawable.Tpo" -c -o glitz_glx_drawable.lo 
glitz_glx_drawable.c; \
then mv -f ".deps/glitz_glx_drawable.Tpo" ".deps/glitz_glx_drawable.Plo"; else 
rm -f ".deps/glitz_glx_drawable.Tpo"; exit 1; fi
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src -I../../src -g -O2 -Wall 
-Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations 
-Wnested-externs -fno-strict-aliasing -MT glitz_glx_drawable.lo -MD -MP -MF 
.deps/glitz_glx_drawable.Tpo -c glitz_glx_drawable.c  -fno-common -DPIC -o 
.libs/glitz_glx_drawable.o
In file included from glitz_glx_drawable.c:30:
./glitz_glxint.h:34:10: fatal error: 'GL/gl.h' file not found
#include 
^
1 error generated.


I’ve run fink selfupdate, but that didn’t help.

System info:
Package manager version: 0.39.4
Distribution version: selfupdate-rsync Tue Aug  9 14:31:12 2016, 10.10, x86_64
Trees: local/main stable/main stable/crypto
Xcode.app: 7.2.1
Xcode command-line tools: 7.2.0.0.1.1447826929
glitz-0.5.6-34 is set to build with only one job.

TIA for your help,
Peter
__

(please don’t crosspost, since more or less the same people actually read and 
respond to all of our lists)

Apologies.  The Fink error chatter asks to cross post:

If you continue to have issues, please check to see if the FAQ on Fink's
website solves the problem.  If not, ask on one (not both, please) of
these mailing lists:

The Fink Users List 
<fink-users@lists.sourceforge.net<mailto:fink-users@lists.sourceforge.net>>
The Fink Beginners List 
<fink-beginn...@lists.sourceforge.net<mailto:fink-beginn...@lists.sourceforge.net>>,

with a carbon copy to the maintainer:

Benjamin Reed <gl...@fink.raccoonfink.com<mailto:gl...@fink.raccoonfink.com>>


What does the "checking for X…” line near the beginning of the build output say?


The following package will be installed or updated:
 glitz-shlibs
Setting runtime build-lock...
dpkg-deb -b /sw/src/fink.build/root-fink-buildlock-glitz-0.5.6-34 
/sw/src/fink.build
dpkg-deb: building package `fink-buildlock-glitz-0.5.6-34' in 
`/sw/src/fink.build/fink-buildlock-glitz-0.5.6-34_2016.08.09-15.22.36_darwin-x86_64.deb'.
Installing build-lock package...
/sw/bin/dpkg-lockwait -i 
/sw/src/fink.build/fink-buildlock-glitz-0.5.6-34_2016.08.09-15.22.36_darwin-x86_64.deb
Selecting previously deselected package fink-buildlock-glitz-0.5.6-34.
(Reading database ... 258284 files and directories currently installed.)
Unpacking fink-buildlock-glitz-0.5.6-34 (from 
.../fink-buildlock-glitz-0.5.6-34_2016.08.09-15.22.36_darwin-x86_64.deb) ...
Setting up fink-buildlock-glitz-0.5.6-34 (2016.08.09-15.22.36) ...

sudo -u fink-bld [ENV] sh -c /tmp/fink.z0t_4
env LANG=C LC_ALL=C /sw/bin/tar  --no-same-owner --no-same-permissions -xf 
/sw/src/glitz-0.5.6.tar.gz
sudo -u fink-bld [ENV] sh -c /tmp/fink.DPbRM
[ -r /sw/fink/dists/stable/main/finkinfo/graphics/glitz.patch ]
sudo -u fink-bld [ENV] sh -c /tmp/fink.TcasZ
/usr/bin/patch -p1 < /sw/fink/dists/stable/main/finkinfo/graphics/glitz.patch
patching file configure
patching file src/glx/glitz-glx.pc.in
perl -pi -e 's/(a so sl)/dylib \1/' configure
perl -pi -e "s|/usr/lpp/Xamples|/opt/X11|" configure
sudo -u fink-bld [ENV] sh -c /tmp/fink.ZWFTs
./configure --prefix=/sw --disable-egl AGL_LIBS="-Wl,-framework,Carbon 
-Wl,-framework,OpenGL -Wl,-framework,AGL"
checking for a BSD-compatible install... /sw/bin/ginstall -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking dependency style of gcc... gcc3
checking for library containing strerror... none required
checking for gcc... (cache

Re: [Fink-users] openmpi-1.8.4.3 configure fails on Mac 10.9.5

2015-05-11 Thread Barnes, Peter D.
Thanks!  Updating libxml2 fixed the problem.

Peter

On May 7, 2015, at 4:02 PM, Jack Howarth howarth.at.f...@gmail.com
 wrote:

 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

[Fink-users] openmpi-1.8.4.3 configure fails on Mac 10.9.5

2015-05-07 Thread Barnes, Peter D.
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


Re: [Fink-users] openmpi-1.8.4.3 configure fails on Mac 10.9.5

2015-05-07 Thread Barnes, Peter D.
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


config.log
Description: config.log
--
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


[Fink-users] Reopen bug 1511981-init.sh references undefined variables

2011-08-03 Thread Barnes, Peter D.
Hello Folks,

I keep getting bit by this old bug:

bash - /sw/bin/init.sh fails to set undefined variables - ID: 1511981

As reported there, a number of variables in /sw/bin/init.sh are checked via

if [ -n $VAR ] ; then . . .

which fails when the user has set -u, set -o nounset, or shopt -o -s 
nounset

costabel wrote I am closing this now; it doesn't look like anyone wants to 
change anything there. when he closed it marked Wont fix

Please reconsider.

The patch supplied in that bug report works (but I haven't tested under 
traditional sh).  

Tthis patch is an alternative, as suggested in the comments.  It saves the 
nounset option value, clears it for the duration of init.sh, then restores the 
old value.

Thanks,
Peter

Peter Barnes
p...@mac.com





init.sh-2.patch
Description: Binary data
--
BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos  much more. Register early  save!
http://p.sf.net/sfu/rim-blackberry-1___
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