odcctools fails to build on Leopard

Adam Mercer ramercer at gmail.com
Sun Oct 28 09:34:27 PDT 2007


Hi

I'm trying to build py25-numpy on Leopard, which has a dependency of
g95 and hence odcctools - when I try to install this port I get the
following error:

--->  Building odcctools with target default
Error: Target org.macports.build returned: shell command " cd
"/opt/local/var/macports/build/_Users_ram_opt_macports-10.5_mports_devel_odcctools/work/odcctools/odcctools"
&& make default " returned error 2
Command output: cd libstuff && make
gcc -Wall -Wno-long-double -Wno-import  -DHAVE_CONFIG_H
-I/opt/local/include -I../include -I../include   -O2
-fno-builtin-round -fno-builtin-trunc -no-cpp-precomp -mdynamic-no-pic
 -c -o allocate.o allocate.c
In file included from ../include/libkern/OSByteOrder.h:70,
                 from ../include/mach/ndr.h:94,
                 from ../include/mach/clock_priv.h:7,
                 from ../include/mach/mach_interface.h:37,
                 from ../include/mach/mach.h:62,
                 from allocate.c:26:
../include/libkern/machine/OSByteOrder.h:45: error: redefinition of
'_OSSwapInt16'
/usr/include/libkern/i386/_OSByteOrder.h:49: error: previous
definition of '_OSSwapInt16' was here
../include/libkern/machine/OSByteOrder.h:54: error: redefinition of
'_OSSwapInt32'
/usr/include/libkern/i386/_OSByteOrder.h:58: error: previous
definition of '_OSSwapInt32' was here
../include/libkern/machine/OSByteOrder.h:63: error: redefinition of
'_OSSwapInt64'
/usr/include/libkern/i386/_OSByteOrder.h:69: error: previous
definition of '_OSSwapInt64' was here
make[1]: *** [allocate.o] Error 1
make: *** [libstuff] Error 2

Error: Status 1 encountered during processing.
$

Cheers

Adam


More information about the macports-users mailing list