workaround for db44 compile error?

Amanda Gray graya at
Fri Jun 29 10:55:16 PDT 2007

I'm trying to install py-numpy, and failing to build the  
dependencies: g95 odcctools subversion apr-util db44

The errors match this bug:
Ticket #12040 (defect) (Opened 1 month ago, Last modified 2 weeks ago)
BUG: db44-4.4.20 error installing on Intel/10.4

I'm running:
macports 1.442
XCode version 2.4.1, Core: 762.0,
i686-apple-darwin8-gcc-4.0.1 (GCC) 4.0.1 (Apple Computer, Inc. build  

Does anyone have a workaround?

I tried doing a clean install of the no_bdb variant on apr-utils and  
subversion, but then installing odcctools failed:
./src/MachOWriterExecutable.hpp: In member function 'uint64_t  
mach_o::executable::ThreadsLoadCommandsAtom<A>::getSize() const [with  
A = x86_64]':
./src/MachOWriterExecutable.hpp:4644: error:  
'x86_THREAD_STATE64_COUNT' was not declared in this scope
./src/MachOWriterExecutable.hpp: In member function 'void  
(uint8_t*) const [with A = x86_64]':
./src/MachOWriterExecutable.hpp:4706: error: 'x86_THREAD_STATE64' was  
not declared in this scope
./src/MachOWriterExecutable.hpp:4707: error:  
'x86_THREAD_STATE64_COUNT' was not declared in this scope
make[1]: *** [ld.o] Error 1

...the preceding warnings suggest the ppc and i386 versions of  
thread_status.h are conflicting re: defining MACHINE_THREAD_STATE and  

- Amanda

More information about the macports-users mailing list