workaround for db44 compile error?

Yves de Champlain yves at macports.org
Fri Jun 29 11:05:23 PDT 2007


Le 07-06-29 à 13:55, Amanda Gray a écrit :

> 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 5367)
>
> 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  
> mach_o::executable::ThreadsLoadCommandsAtom<A>::copyRawContent 
> (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 MACHINE_THREAD_STATE_COUNT.

I read on this list that using the +universal variant does the trick.

serious voodoo here IMHO

yves




More information about the macports-users mailing list