Jason R. Mastaler <[EMAIL PROTECTED]> writes:
> I got bincimap-1.0.20 to compile on FreeBSD by making the following
> changes:
>
> (1) Added #include <sys/wait.h> to src/authenticate.cc and
> src/auth/bincimap-auth-checkpassword.cc
>
> (2) Added -L/usr/local/lib to the g++ options because otherwise my
> PCRE library wasn't being picked up.
>
> (3) Removed `-ldl' from the link line. Under FreeBSD, you can just
> leave off the -ldl flag to g++ since dlopen() is included in
> FreeBSD's libc runtime library. Or, just replacing -ldl with -lc
> will also work.
My experience with OpenBSD 2.9 was the same, with the addition of
needing to up the paging limit for my shell, because I kept getting
this:
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include
-I/usr/local/pkgs/pcre-3.9/include -g -O2 -c -o bincimapd-fetch.o `test -f
'bincimapd-fetch.cc' || echo './'`bincimapd-fetch.cc
bincimapd-fetch.cc: In function `void {anonymous}::bodyStructure(Binc::io::IO &,
const Binc::Mime::MimePart *)':
bincimapd-fetch.cc:380: virtual memory exhausted
`ulimit -d 131072' fixed it.
-Drew