#28959: db46 installation failed ----------------------------------+----------------------------------------- Reporter: leandroal@… | Owner: macports-tickets@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Resolution: | Keywords: Port: db46 | ----------------------------------+----------------------------------------- Comment(by leandroal@…): Diego, I have tried to install this port using +no_java, but no luck too. So, I decided to debug the error and discovered that the db.h file referenced by the db46 source code is a wrong version installed in my computer. So, I have talked to the guys in the #macports and described the situation. I did not have time to discover why my db.h file installed in the /usr/includes was a wrong version, but I asked someone the in chat to send his db.h file. I then backed up my db.h and copy his db.h to /usr/includes. After this, I did port install db46 and voilá! I suspected that a port installed a wrong db.h file into my /usr/includes directory, causing this problem. Also, I don't know if this is the source of the problem of someone else, but I suppose to be, at least the includes paths used by the compiler have a wrong directory order, cause a wrong db.h be included during the compilation process. I'm sure that this should be deeply investigated, because I have found people reporting this kind of problem since 2004, at least. Hope that I helped you and please let me know any issue or real fix for this. Thank you, Leandro. -- Ticket URL: <https://trac.macports.org/ticket/28959#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS