Getting Kolab To Build On NetBSD

Rob Knapp myddrin at myddrin.com
Mon Jun 20 14:04:28 CEST 2005


Hello everyone,

I'm trying to get kolab 2.0-rc3 to build on NetBSD.  

I've been able to make decent progress, but reached a showstopper and I
was wondering if anyone has been able to get this to build.  (Or, if
they have been able to use the SuSE 9.1 emulation to get it to build.)

Here is the magic recipe so far:

1) In obmtool:
	- Change the definition of BUILD_EXEC to remove the token 2>&1 from the
command line.  (This addresses a permission error)

	- Add 2>&1 to line 353(I think that's it, it might be line 352) after
the quotes.  [This is the line where build_exec is executed.  Moving
this token outside of the quotes gets rid of the permission issue)

2) Install the sasl source rpm.  Extract the source tarball, and edit
the config/ltconfig file.
	-search for the text "whole-archive" 
	-Change every instance of --${w1arc}whole-archive to --whole-archive

3) To get imapd to build, you will need to cp (or soft-
link) /usr/include/kb5/com_err.h to /usr/include/com_err.h

That is as far as I've gotten.  During the imap build I get an error 
about an unknown call to fgetgrent. (This call is apaprently in glibc,
but not in NetBSD's libc....)

I did get Kolab to build on debian, and was very pleased with the
result.  However, to integrate into a client's environment (for pre-2.0
release testing), I'm going to need it on NetBSD.


-- 
---
Rob "Myddrin" Knapp
myddrin at myddrin.com
http://www.myddrin.com




More information about the users mailing list