[Kroupware] Compiling Kolab server on FreeBSD fails with groupfile hack

Arjan van Leeuwen avleeuwen at piwebs.com
Mon Aug 18 01:51:05 CEST 2003


Hi,

I'm trying to compile the Kolab server on FreeBSD. Everything is OK until
I start compiling imapd. This gives me this error message:

/kolab/bin/cc -L/kolab/lib -R/kolab/lib -L/kolab/lib -R/kolab/lib
-L/usr/local/lib -R/usr/local/lib -L/kolab/lib -L/kolab/lib -Wall -O2
-pipe -I/kolab/include   -o imapd \
 ../master/service.o pushstats.o backend.o imapd.o index.o tls.o version.o
libimap.a ../acap/libacap.a ../lib/libcyrus.a  -L/kolab/lib  -R/kolab/lib
-lsasl2   -lfl -lfsl  -L/kolab/lib  -R/kolab/lib -ldb -lssl -lcrypto -lmd
-lcom_err
../lib/libcyrus.a(auth_unix.o)(.text+0xe1): In function `fgetgrnam':
: undefined reference to `fgetgrent'
../lib/libcyrus.a(auth_unix.o)(.text+0x313): In function `auth_newstate':
: undefined reference to `fgetgrent'
collect2: ld returned 1 exit status
make[1]: *** [imapd] Error 1
make: *** [all] Error 1
error: Bad exit status from /kolab/RPM/TMP/rpm-tmp.37427 (%build)

Please note that the fgetgrent function does not exist in FreeBSD. Is
there a patch that fixes this, or an easy way to fix it so that I can
continue compiling?

Thanks,

Arjan

P.S. Please CC me, I'm not subscribed to this list




More information about the Kroupware mailing list