workaround for db44 compile error?
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. - Amanda
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
On Jun 29, 2007, at 12:55, Amanda Gray wrote:
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 do have a workaround, if the only reason why you want db44 is because you're trying to install subversion: $ sudo port install apr-util +no_bdb $ sudo port install subversion +no_bdb $ sudo port install py-numpy I do not know why you're having trouble building db44. I'm currently building it myself to see if I get the same problem.
On Jun 29, 2007, at 21:40, Ryan Schmidt wrote:
On Jun 29, 2007, at 12:55, Amanda Gray wrote:
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 do have a workaround, if the only reason why you want db44 is because you're trying to install subversion:
$ sudo port install apr-util +no_bdb $ sudo port install subversion +no_bdb $ sudo port install py-numpy
Sorry, I realize now the section I just snipped showed that you tried the +no_bdb variant and encountered other errors. I don't know why; it works fine for me, with MacPorts 1.4.42, Xcode 2.4.1, Mac OS X 10.4.9, Intel Core 2 Duo, with the universal variant or without. Your ports tree is up to date? "sudo port sync"?
I do not know why you're having trouble building db44. I'm currently building it myself to see if I get the same problem.
db44 installed fine for me, both universal and not.
On Jun 29, 2007, at 10:59 PM, Ryan Schmidt wrote:
I don't know why; it works fine for me, with MacPorts 1.4.42, Xcode 2.4.1, Mac OS X 10.4.9, Intel Core 2 Duo, with the universal variant or without. Your ports tree is up to date? "sudo port sync"?
I do not know why you're having trouble building db44. I'm currently building it myself to see if I get the same problem.
db44 installed fine for me, both universal and not.
I just had a co-worker with a brand new MacBook go through the same sequence, and they had the same problem I did. And doing: $ port clean db44 $ port install db44 +universal made db44 build, then building subversion works. These are both MacPorts 1.4.30, OS X 10.4.10, Xcode 2.4.1, Intel Core 2 Duo SR
participants (4)
-
Amanda Gray
-
Ryan Schmidt
-
Steven Rogers
-
Yves de Champlain