Cyrus on AIX

Grazvydas_Govaras at gnt.lt Grazvydas_Govaras at gnt.lt
Sat Dec 27 07:32:53 EST 2003


Hello,

I'm using gcc. 

I added path to sasl
./configure --with-sasl=/usr/local/include

And it seams that ./configure found it.
This is few lines from its output

checking for sasl/sasl.h... yes
checking for sasl/saslutil.h... yes
checking for prop_get in -lsasl2... yes
checking for sasl_checkapop in -lsasl2... yes


Grazvydas







Eli Ben-Shoshan <linkages at ufl.edu>
Sent by: owner-info-cyrus at lists.andrew.cmu.edu
2003.12.26 15:27

 
        To:     Grazvydas_Govaras at gnt.lt
        cc:     info-cyrus at lists.andrew.cmu.edu
        Subject:        Re: Cyrus on AIX


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