Summary: | cdrtools don't compile (even don't configure), give some strange errors in includes | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Marco Fabbri <fabbri> |
Component: | Current packages | Assignee: | Lars Weiler (RETIRED) <pylon> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | ronald |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | Fixed ebuild set |
Description
Marco Fabbri
2004-02-17 06:25:26 UTC
*** Bug 41897 has been marked as a duplicate of this bug. *** Are you using a 2.6 kernel? This _might_ be related to header issues in newer kernels (eject has a similar problem). Here's what I did as a workaround to get it to compile - I'm still rebuilding my system, so I don't know if it works 100%. cd /usr/src/linux mv include include_linux ln -s /usr/include include emerge --oneshot cdrtools rm include mv include_linux include Created attachment 25851 [details]
Fixed ebuild set
Schilling also is braindead enough (along with many) to include from
/usr/src/linux/include
this causes breakage if you use latest kernels there. Attached i have ready to
extract in $PORTDIR_OVERLAY/app-cdr a working fix for me.
Included in tarball: mini patch to make cdrtools not look in
/usr/src/linux/include but instead point to the headers installed by
sys-kernel/linux-headers (/usr/include/linux/include)
Ebuild that applies the patch.
Not attaching redundant seperate files. hope this doesn't inconvencience the
devs too much.
I'm knocking my head on the table... So, _this_ could be the reason for bug 30798 (this one is only a duplicate) and I should have checked it earlier. Thanks a lot, Ronald! I will add the patch immideately. *** This bug has been marked as a duplicate of 30798 *** I applied the patch, but changed the path to the kernel-headers to /usr/include/linux (instead of /usr/include/linux/include which does not exist). But I got a lot of errors. Using /usr/include/linux/include works in the same way like removing /usr/src/linux (as mentioned in bug 30798), so that cdrtools choose a fall-back and finishes compiling. |