The databases/cdb port nicely installs all cdb binaries, and also installs libcdb.a into /usr/local/lib. This, ofcourse, needs cdb.h, which is also installed into /usr/local/include. That, in turn, needs uint32.h, which is not installed at all. Fix: Also install uint32.h to /usr/local/include :) How-To-Repeat: Use /usr/local/include/cdb.h and /usr/local/lib/libcdb.a from an application according to the specs at http://cr.yp.to/cdb/reading.html and wait for cdb.h:6: uint32.h: No such file or directory or similar
In addition, any succesful compile with libcdb.a also requires unix.a and byte.a from the cdb package. I suggest that either these are also installed somewhere (perhaps in a subdir of /usr/local/lib?) or that libcdb.a and cdb.h are removed altogether, which would also be more fitting to <quote source="http://cr.yp.to/cdb.html"> Packages that need to read cdb files should incorporate the necessary portions of the cdb library rather than relying on an external cdb library. </quote> You make the decision. libcdb.a+cdb.h are useless without uint32.h, unix.a and byte.a, so either all these 3 need to be added, or libcdb.a+cdb.h need to be removed. Greetz, Peter -- huk ~ kek
State Changed From-To: open->closed Commited, thanks! (removed the lib/ and include/ directories, added info for developers in pkg-descr)