Cyrus on AIX

Eli Ben-Shoshan linkages at ufl.edu
Fri Dec 26 08:27:25 EST 2003


You want to tell configure to that sasl is in /usr/local like the following:

./configure \
	--with-sasl=/usr/local

By the way, are you using gcc or IBM's xlc?

Grazvydas_Govaras at gnt.lt wrote:
> Hello,
> 
> In this list I found that someone have compiled Cyrus on AIX.
> Problem is Cyrus 2.1.16 on AIX 5.2 and  my small experience on both of 
> them. :)
> configure and make depend finished without errors. But make all finishes 
> on this:
> 
> ### Making all in /install/cyrus/cyrus-imapd-2.1.16/perl
>         (cd imap;  OPENSSL_LIB="" OPENSSL_INC="" 
> SASL_LIB="-L/usr/local/include
> /sasl/lib  -lsasl2" SASL_INC="-I/usr/local/include/sasl/include" CC="gcc" 
> perl
> Makefile.PL PREFIX=/usr/local)
> Checking if your kit is complete...
> Looks good
> Note (probably harmless): No library found for -lsasl2
> Note (probably harmless): No library found for -lssl
> Note (probably harmless): No library found for -lcrypto
> Writing Makefile for Cyrus::IMAP
> ### Making all in /install/cyrus/cyrus-imapd-2.1.16/perl/imap
> cp IMAP/Admin.pm blib/lib/Cyrus/IMAP/Admin.pm
> cp IMAP/Shell.pm blib/lib/Cyrus/IMAP/Shell.pm
> cp IMAP.pm blib/lib/Cyrus/IMAP.pm
> cp IMAP/IMSP.pm blib/lib/Cyrus/IMAP/IMSP.pm
>         /usr/bin/perl -e 'use ExtUtils::Mksymlists;  Mksymlists("NAME" => 
> "Cyrus
> ::IMAP", "DL_FUNCS" => {  }, "FUNCLIST" => [], "DL_VARS" => []);'
>         /usr/bin/perl /usr/opt/perl5/lib/5.8.0/ExtUtils/xsubpp  -typemap 
> /usr/op
> t/perl5/lib/5.8.0/ExtUtils/typemap -typemap typemap  IMAP.xs > IMAP.xsc && 
> mv IM
> AP.xsc IMAP.c
>         cc_r -c  -I../../lib -I/usr/local/include/sasl/include 
> -D_ALL_SOURCE -
> D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=16384 -qnoansialias 
> -DUSE_NATIVE_DLOPEN
>  -DNEED_PTHREAD_INIT -q32 -D_LARGE_FILES -qlonglong -O -DVERSION=\"1.00\" 
> -D
> XS_VERSION=\"1.00\"  "-I/usr/opt/perl5/lib/5.8.0/aix-thread-multi/CORE" 
> -DPERL_
> POLLUTE IMAP.c
> 1506-507 (W) No licenses available. Contact your program supplier to add 
> additio
> nal users. Compilation will proceed shortly.
> "IMAP.xs", line 588.23: 1506-280 (W) Function argument assignment between 
> types
> "void(*)(struct imclient*,void*,struct imclient_reply*)" and "void*" is 
> not allo
> wed.
> Running Mkbootstrap for Cyrus::IMAP ()
>         chmod 644 IMAP.bs
>         rm -f blib/arch/auto/Cyrus/IMAP/IMAP.so
>         LD_RUN_PATH="" ld  -bhalt:4 -bM:SRE 
> -bI:/usr/opt/perl5/lib/5.8.0/aix-thr
> ead-multi/CORE/perl.exp -bE:IMAP.exp -bnoentry -lpthreads -lc_r IMAP.o  -o 
> blib/
> arch/auto/Cyrus/IMAP/IMAP.so ../../lib/libcyrus.a
> ld: 0711-317 ERROR: Undefined symbol: .sasl_client_init
> ld: 0711-317 ERROR: Undefined symbol: .sasl_client_new
> ld: 0711-317 ERROR: Undefined symbol: .sasl_dispose
> ld: 0711-317 ERROR: Undefined symbol: .sasl_decode
> ld: 0711-317 ERROR: Undefined symbol: .sasl_encode
> ld: 0711-317 ERROR: Undefined symbol: .sasl_setprop
> ld: 0711-317 ERROR: Undefined symbol: .sasl_client_start
> ld: 0711-317 ERROR: Undefined symbol: .sasl_client_step
> ld: 0711-317 ERROR: Undefined symbol: .sasl_getprop
> ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more 
> information.
> make: 1254-004 The error code from the last command is 8.
> 
> 
> Stop.
> make: 1254-004 The error code from the last command is 1.
> 
> 
> Stop.
> make: 1254-004 The error code from the last command is 1.
> 
> 
> Stop. 
> 
> Sasl is installed and ./configure is used with 
> --with-sasl=/usr/local/include/sasl.
> Is there any problem in IMAP.xs file ? 
> Thanks in advance for any help.
> 
> 
> Grazvydas
> 
> 
> 
> 




More information about the Info-cyrus mailing list