AW: [Kroupware] Compiling on FreeBSD

Marcus Henschel mh at secunetec.de
Sun Aug 10 14:23:21 CEST 2003


kroupware-bounces-+mh=secunetec.de at mail.kde.org wrote:
> I am attempting to compile the Kolab server on FreeBSD 5.1.  I've been
> following the QIM that was included with the source packages, and
> came across a problem.  When compiling the imapd package, I get the
> following errors: 
> 
> /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.95545 (%build)
> 
> 
> RPM build errors:
>     Bad exit status from /kolab/RPM/TMP/rpm-tmp.95545 (%build)
> 
> 
> Any help is appreciated.  I am using the source packages from
> erfrakon.de downloaded on August 6.

Hi,

i think that i had nearly the same error an my FreeBSD 4.8 stable box.
I then used the cvs of the imapd and applied that patch as described 
in the QIM.



Marcus



More information about the Kroupware mailing list