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
Status: VERIFIED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Donny Davies (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
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: ---


Attachments

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)::" 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