Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 366 - Samba compilation when kerberos is installed
Summary: Samba compilation when kerberos is installed
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Donny Davies (RETIRED)
Depends on:
Reported: 2002-01-27 14:28 UTC by Paul de Vrieze (RETIRED)
Modified: 2004-08-19 12:37 UTC (History)
0 users

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


Note You need to log in before you can comment on or make changes to this bug.
Description Paul de Vrieze (RETIRED) gentoo-dev 2002-01-27 14:28:24 UTC
Samba doesn't compile when kerberos is installed because of a name clash with 
one of the includes. (This issue is actually described in the docs that come 
with the tarball). I made the following adjustment in the ebuild file:

--- samba-2.2.2-r6.ebuild       Fri Dec 14 16:09:35 2001
+++ samba-2.2.2-r7.ebuild       Sun Jan 27 21:22:30 2002
@@ -38,6 +38,12 @@
                sed -e "s:AC_CHECK_LIB(cups,httpConnect)::" >
                autoconf || die
+       cd ${S}/source/include
+       if [ -f profile.h ]; then
+               mv profile.h smbprofile.h
+               sed -e "s:profile\.h:smbprofile.h:" includes.h >
+               mv includes.h
+       fi

 src_compile() {
Comment 1 Donny Davies (RETIRED) gentoo-dev 2002-01-28 17:10:44 UTC
added to the ebuild.  thanks for the report ;)

Comment 2 Paul de Vrieze (RETIRED) gentoo-dev 2004-08-19 12:37:50 UTC
Closing the bug