Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 96802 - Electric Fence (efence) does not work due to missing .h
Summary: Electric Fence (efence) does not work due to missing .h
Status: VERIFIED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-22 12:49 UTC by Martin Gadbois
Modified: 2005-06-23 05:39 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Gadbois 2005-06-22 12:49:35 UTC
After emerging dev-util/efence-2.4.13 and trying to use it, I got the following
error when compiling my C++ program:
In file included from /usr/include/efencepp.h:35,
                 from stats_local_inc.h:3,
                 from metadata.cpp:8:
/usr/include/efence.h:36:22: noefence.h: No such file or directory

Indeed, ebuild did not install a noefence.h file, as included in efencepp.h.

Patch:
--- /usr/portage/dev-util/efence/efence-2.4.13.ebuild   2005-06-18 15:05:33.000000000 -0400
+++ efence-2.4.13.ebuild        2005-06-22 15:47:22.000000000 -0400
@@ -32,7 +32,7 @@
 src_install() {
        make prefix="${D}"/usr install || die "make install failed"
        insinto /usr/include
-       doins efence.h efencepp.h efence_config.h \
+       doins efence.h efencepp.h efence_config.h noefence.h \
                || die "failed to install headers"
        dodoc CHANGES README
 }
Comment 1 Aron Griffis (RETIRED) gentoo-dev 2005-06-22 13:56:50 UTC
fixed in efence-2.4.13-r1, thanks
Comment 2 Martin Gadbois 2005-06-23 05:39:50 UTC
Verified with dev-util/efence-2.4.13-r1