FreeBSD Port: courier-imap-4.1.1,1
Tamouh H.
hakmi at rogers.com
Tue Sep 19 21:10:21 PDT 2006
> > gmake[2]: *** [all] Error 2 gmake[2]: Leaving directory
> > `/usr/ports/mail/courier-imap/work/courier-imap-4.1.1/gdbmobj'
> > gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory
> > `/usr/ports/mail/courier-imap/work/courier-imap-4.1.1' gmake: ***
> > [all] Error 2 *** Error code 2
> >
> > Stop in /usr/ports/mail/courier-imap.
>
> Was there a solution to this?
>
> I'm trying to deploy a server and get clients moved on a real
> short time frame right now and am having the same compile
> errors with courier-imap.
>
> Thanks very much in advance.
>
> -Mark
> FreeBSD 6.1-RELEASE
Hi Mark,
This was Oliver fix:
> -----Original Message-----
> From: Oliver Lehmann [mailto:oliver at freebsd.org]
> Sent: June 22, 2006 5:04 AM
> To: Tamouh H.
> Subject: Re: FreeBSD Port: courier-imap-4.1.1,1
>
> somehow gdbm.h was missing in /usr/local/include:
>
> Deinstalling /databases/gdbm and then reinstalling it again resolved the problem
>
>
> chochang# make deinstall
> ===> Deinstalling for databases/gdbm
> ===> Deinstalling gdbm-1.8.3_2
> pkg_delete: file '/usr/local/include/gdbm.h' doesn't exist
> pkg_delete: couldn't entirely delete package (perhaps the packing list
> is incorrectly specified?) chochang# make install ===> Installing for
> gdbm-1.8.3_2
> ===> Generating temporary packing list
> ===> Checking if databases/gdbm already installed ./mkinstalldirs
> /usr/local/lib \
> /usr/local/include /usr/local/man/man3 \
> /usr/local/info
> /bin/sh ./libtool /usr/bin/install -c -o root -g wheel -c libgdbm.la
> /usr/local/lib/libgdbm.la /usr/bin/install -c -o root -g wheel -c
> .libs/libgdbm.so.3
> /usr/local/lib/libgdbm.so.3
> (cd /usr/local/lib && rm -f libgdbm.so && ln -s libgdbm.so.3
> libgdbm.so) (cd /usr/local/lib && rm -f libgdbm.so && ln -s
> libgdbm.so.3 libgdbm.so) /usr/bin/install -c -o root -g wheel -c
> .libs/libgdbm.lai /usr/local/lib/libgdbm.la /usr/bin/install -c -o
> root -g wheel -c .libs/libgdbm.a /usr/local/lib/libgdbm.a ranlib
> /usr/local/lib/libgdbm.a chmod 644 /usr/local/lib/libgdbm.a
>
> ----------------------------------------------------------------------
> Libraries have been installed in:
> /usr/local/lib
>
> If you ever happen to want to link against installed libraries in a
> given directory, LIBDIR, you must either use libtool, and specify the
> full pathname of the library, or use the `-LLIBDIR'
> flag during linking and do at least one of the following:
> - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
> during execution
> - add LIBDIR to the `LD_RUN_PATH' environment variable
> during linking
> - use the `-Wl,--rpath -Wl,LIBDIR' linker flag
>
> See any operating system documentation about shared libraries for more
> information, such as the ld(1) and ld.so(8) manual pages.
>
> ----------------------------------------------------------------------
> install -o root -g wheel -m 444 -o bin -g bin gdbm.h \
> /usr/local/include/gdbm.h
> install -o root -g wheel -m 444 -o bin -g bin ./gdbm.3 \
> /usr/local/man/man3/gdbm.3
> install -o root -g wheel -m 444 -o bin -g bin ./gdbm.info \
> /usr/local/info/gdbm.info
> install-info --quiet /usr/local/info/gdbm.info /usr/local/info/dir
> ===> Compressing manual pages for gdbm-1.8.3_2
> ===> Running ldconfig
> /sbin/ldconfig -m /usr/local/lib
> ===> Registering installation for gdbm-1.8.3_2
> chochang#
>
>
> reinstalling gdbm should have fixed this. Please retry compiling
> courier-imap.
More information about the freebsd-ports
mailing list