| Summary: | jigdo-0.7.0 doesn't compile | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Malte S. Stretz <gentoo-bugger> |
| Component: | New packages | Assignee: | Jason Wever (RETIRED) <weeve> |
| Status: | RESOLVED TEST-REQUEST | ||
| Severity: | major | CC: | robbat2 |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | x86 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | full output | ||
|
Description
Malte S. Stretz
2003-10-26 04:41:00 UTC
Created attachment 19812 [details]
full output
While I tried to get it to work (unsuccessfully), I noticed that the makefile.patch is not needed because that value is already set via --datadir. Seems to be related to the --withlibdb configure script option. Looking into this more. Ok, here's the story. jigdo has a cache features which is enabled by default. The cache depends on db-3.x to build. jigdo is finding it here, but the db.h header it's using to compile with is from db-4.x, which causes the build failure. I'm adding robbat2 to the CC as he's one of our resident db package experts. Robbat2, any suggestions? 1. try to sed the build code to do '-ldb' instead of '-ldb-3', this should work. 2. if not, you need to locate their headers, and change: "#include <db.h>" to "#include <db3/db.h>" Added a patch to change src/cachefile.hh's db.h header to the right location, and added the berkdb useflag. Let me know if it works for you. Thanks :) Jupp, works. |