AW: [Kroupware] Compiling on FreeBSD

Christopher Lewis chris at maximlighting.com
Tue Aug 12 11:57:56 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

Forgot to mention that I've only started trying FreeBSD about 2 weeks ago.  I 
believe that the imapd file that I have already incorporates this patch from 
CVS.  The file I got is imapd-2.1.14-20030707_kolab.src.rpm.  Anyway, if I 
apply the patch as stated in the QIM, it says it has already been applied and 
asks if I want to reverse it.

Does anybody have any other ideas?
-- 
Christopher Lewis
Systems Administrator
Maxim Lighting International
chris at maximlighting.com
(626) 964-7500 x268



More information about the Kroupware mailing list