I always use: CPPFLAGS='-I/opt/local/include/postgresql85 -I/opt/local/include' \ LDFLAGS="-L/opt/local/lib/postgresql85 -L/opt/local/lib" \ ./configure
Because otherwise system iconv conflicts with macports iconv. But it has been this way in v2.0 as well. On 18.7.2012, at 8.09, Jim wrote: > Hey all, I'm still stumped here. No suggestions from anyone on anything I > can look at? Has anyone successfully compiled the 2.1.x branch on Mac OS X > 10.6.x? > > > Jim > > > On Jul 16, 2012, at 8:10 PM, Jim wrote: > >> I just did tried building Dovecot 2.1.0, same issue. Dovecot 2.0.21 was >> able to build without issues, so this problem seems to be with the entire >> 2.1.x branch. >> >> >> Jim >> >> On Jul 16, 2012, at 4:25 PM, Jim wrote: >> >>> Hey all. I'm running Mac OS X 10.6.4, and had Dovecot 2.0.7 installed >>> built from source. I'm now wanting to upgrade to Dovecot 2.1.8, but I >>> can't get MAKE to finish without errors: >>> >>> Undefined symbols: >>> "_libiconv_open", referenced from: >>> _charset_to_utf8_begin in libcharset.a(charset-iconv.o) >>> "_libiconv", referenced from: >>> _charset_to_utf8_reset in libcharset.a(charset-iconv.o) >>> _charset_to_utf8 in libcharset.a(charset-iconv.o) >>> "_libiconv_close", referenced from: >>> _charset_to_utf8_end in libcharset.a(charset-iconv.o) >>> ld: symbol(s) not found >>> collect2: ld returned 1 exit status >>> make[3]: *** [libdovecot.la] Error 1 >>> make[2]: *** [all-recursive] Error 1 >>> make[1]: *** [all-recursive] Error 1 >>> make: *** [all] Error 2 >> >