Hello,
To satisfy my curiosity, today I tried building Fedora Directory Server
on my Debian Sid box. After some trying I made it.
I built with Debian's system Berkeley DB and Cyrus SASL.
Building with system Net-SNMP doesn't work, because Debian has version
5.1 but 5.2 is needed. Building with system Mozilla SDK doesn't work,
because Debian's Mozilla LDAP C SDK is built without optional SVRCORE,
but Directory Server needs it.
Build is looking for gmake. Fix nsconfig.mk line 349
-MAKE=gmake $(BUILDOPT) NO_JAVA=1
+MAKE=make $(BUILDOPT) NO_JAVA=1
Build is looking for /etc/redhat-release, which doesn't exist on Debian
systems. Delete between "ifeq ($(BUILD_ARCH), Linux)" and "endif" after
"# Check if we're on RHEL" in both nsdefs.mk and nsconfig.mk.
To build with system libraries, edit components.mk and fill in
appropriate {SASL,DB}_{INCLUDE,LIBPATH}.
Building recipe:
apt-get install libdb4.2-dev
apt-get install libsasl2-dev libkrb5-dev
apt-get install libicu26-dev
Build Mozilla components, either from Mozilla CVS or from
mozilla-components.tar.gz.
Build Net-SNMP 5.2, as described in the building instruction.
Checkout Fedora Directory Server.
Apply attached fds-build.diff.
Type make and wait.
Seo Sanghyeon