At Mon, 24 Feb 2003 14:57:24 +1100, Ben Leslie wrote:
> I just tried to apt-get install slapd (OpenLDAP server) on a debian
> production server. Debian then wants to install an xfree86-common,
> which I obviously don't want on a server.
> 
> Now, I know the way I'll be using slapd doesn't *really* depend on 
> libiodbc2. Is there a simple way to tell apt-get this? 
> 
> (I guess I could get the source and change the dependencies manually
> but that sounds really icky.)

rebuilding isn't that big a deal - you'll want to do it on another
machine though if you're wary of installing build dependencies.

 sudo apt-get build-dep slapd
  (or using some other root-gaining command)

 apt-get source slapd

 cd openldap-*

 edit debian/rules to remove configure --with-iodbc line or whatever
  openldap needs to stop using odbc

 dpkg-buildpackage -rfakeroot -b -uc
  (assuming you have fakeroot installed)

 new package is in ../


-- 
 - Gus
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to