AW: [Kroupware] Compiling on FreeBSD

Christopher Lewis chris at maximlighting.com
Tue Aug 12 15:04:47 CEST 2003


> Hi,
> 
> >
> > 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?
> 
> The erfrakon src.rpm files usually already contain the patches. I would 
> recommend
> you just --rebuild or -bb the files.
> 
> Regards,
> Stephan

Which brings me back to my original question:  How can I get past the 
following error building imapd on FreeBSD 5.1?  Here is the output:

/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)


-- 
Christopher Lewis
Systems Administrator
Maxim Lighting International
chris at maximlighting.com
(626) 964-7500 x268



More information about the Kroupware mailing list