Just to officially close out this thread, I apparently had some bad  
info in an earlier ./configure, I went back and used the 'make clean'  
command then did a new make of 4.2.1, and it worked just fine.   
Sometimes it's the simple things that get overlooked...

Jim


On Oct 28, 2007, at 8:22 PM, Jim wrote:

> I've gotten around the issue below by compiling courier-imap 4.1.3,
> which compiled without the error below.
>
>
> On Oct 27, 2007, at 12:42 AM, Jim wrote:
>
>> I'm attempting to compile courier-imap 4.2.1, system config is Mac
>> Mini, Core Duo, OS X 10.5, latest xcode installed.
>>
>> I can build authlib 0.60.2 without problems, but every time I've
>> tried to build courier-imap, I get this error during make:
>>
>> (snip)
>> Making all in rfc1035
>> make  all-am
>> /bin/sh ./libtool --tag=CC   --mode=link gcc  -arch i386 -Wall -I./..
>> -I.. -static  -o testlookup testlookup.o librfc1035.a ../soxwrap/
>> libsoxwrap.a ../md5/libmd5.la ../random128/librandom128.la `cat ../
>> soxwrap/soxlibs.dep`
>> gcc -arch i386 -Wall -I./.. -I.. -o testlookup testlookup.o
>> librfc1035.a ../soxwrap/libsoxwrap.a ../md5/.libs/libmd5.a ../
>> random128/.libs/librandom128.a
>> Undefined symbols:
>>   "_rfc1035_default_resolver", referenced from:
>>       _rfc1035_default_resolver$non_lazy_ptr in testlookup.o
>>       _rfc1035_default_resolver$non_lazy_ptr in librfc1035.a(spf.o)
>> ld: symbol(s) not found
>> collect2: ld returned 1 exit status
>> make[3]: *** [testlookup] Error 1
>> make[2]: *** [all] Error 2
>> make[1]: *** [all-recursive] Error 1
>> make: *** [all] Error 2
>>
>>
>> I came across the tip of doing a RANLIB="ranlib -c", then export
>> RANLIB, but this did not change anything.  Originally I was just
>> running ./configure without options, later tried the following:
>>
>> CFLAGS="-arch i386" \
>> ./configure --prefix=/usr/local \
>>   --with-authpwd=YES \
>>   --without-authcram \
>>   COURIERAUTHCONFIG=/usr/local/bin/courierauthconfig
>>
>> Again, no change.  All my googling indicated that the ranlib
>> mentioned above was the key to getting around this, but so far it
>> hasn't done anything for me.  Any advice would be appreciated.

-------------------------------------------------------------------------
SF.Net email is sponsored by: 
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Courier-imap mailing list
Courier-imap@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap

Reply via email to