Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 366

Summary: Samba compilation when kerberos is installed
Product: Gentoo Linux Reporter: Paul de Vrieze (RETIRED) <pauldv>
Component: [OLD] ServerAssignee: Donny Davies (RETIRED) <woodchip>
Status: VERIFIED FIXED    
Severity: normal    
Priority: High    
Version: 1.0 RC6 r14   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

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)::" configure.in.orig > 
configure.in
                autoconf || die
        fi
+       cd ${S}/source/include
+       if [ -f profile.h ]; then
+               mv profile.h smbprofile.h
+               sed -e "s:profile\.h:smbprofile.h:" includes.h >includes.h.new
+               mv includes.h.new 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