Re: cyrus compile under Centos 6.5

2014-04-15 Thread Patrick Boutilier

On 04/15/2014 08:38 AM, Charles Bradshaw wrote:

Thanks Andy,

Here goes a source build. I downloaded cyrus-imapd-2.4.17 and
cyrus-sasl-2.1.26 from ftp://ftp.cyrusimap.org

config.log from:
[brad@dell2600-1 cyrus-sasl-2.1.26]$ ./configure

make fails with the following errors:
[brad@dell2600-1 cyrus-sasl-2.1.26]$ make
...
gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../lib -I../sasldb
-I../include -DOBSOLETE_CRAM_ATTR=1 -Wall -W -g -O2 -MT digestmd5.lo -MD
-MP -MF .deps/digestmd5.Tpo -c digestmd5.c  -fPIC -DPIC -o digestmd5.lo
digestmd5.c:859: error: expected specifier-qualifier-list before
'des_key_schedule'
digestmd5.c: In function 'dec_3des':
digestmd5.c:896: warning: implicit declaration of function
'des_ede2_cbc_encrypt'
digestmd5.c:899: error: 'des_context_t' has no member named 'keysched'
digestmd5.c:900: error: 'des_context_t' has no member named 'keysched2'
digestmd5.c:901: error: 'des_context_t' has no member named 'ivec'
digestmd5.c:902: error: 'DES_DECRYPT' undeclared (first use in this
function)
digestmd5.c:902: error: (Each undeclared identifier is reported only
once
digestmd5.c:902: error: for each function it appears in.)
digestmd5.c: In function 'enc_3des':
digestmd5.c:947: error: 'des_context_t' has no member named 'keysched'
digestmd5.c:948: error: 'des_context_t' has no member named 'keysched2'
digestmd5.c:949: error: 'des_context_t' has no member named 'ivec'
digestmd5.c:950: error: 'DES_ENCRYPT' undeclared (first use in this
function)
digestmd5.c: In function 'init_3des':
digestmd5.c:970: warning: implicit declaration of function
'des_key_sched'
digestmd5.c:970: error: 'des_cblock' undeclared (first use in this
function)
digestmd5.c:970: error: expected expression before ')' token
digestmd5.c:974: error: expected expression before ')' token
digestmd5.c:976: error: 'des_context_t' has no member named 'ivec'
digestmd5.c:983: error: expected expression before ')' token
digestmd5.c:987: error: expected expression before ')' token
digestmd5.c:990: error: 'des_context_t' has no member named 'ivec'
digestmd5.c: In function 'dec_des':
digestmd5.c:1014: warning: implicit declaration of function
'des_cbc_encrypt'
digestmd5.c:1017: error: 'des_context_t' has no member named 'keysched'
digestmd5.c:1018: error: 'des_context_t' has no member named 'ivec'
digestmd5.c:1019: error: 'DES_DECRYPT' undeclared (first use in this
function)
digestmd5.c:1023: error: 'des_context_t' has no member named 'ivec'
digestmd5.c: In function 'enc_des':
digestmd5.c:1068: error: 'des_context_t' has no member named 'keysched'
digestmd5.c:1069: error: 'des_context_t' has no member named 'ivec'
digestmd5.c:1070: error: 'DES_ENCRYPT' undeclared (first use in this
function)
digestmd5.c:1074: error: 'des_context_t' has no member named 'ivec'
digestmd5.c: In function 'init_des':
digestmd5.c:1094: error: 'des_cblock' undeclared (first use in this
function)
digestmd5.c:1094: error: expected expression before ')' token
digestmd5.c:1096: error: 'des_context_t' has no member named 'ivec'
digestmd5.c:1103: error: expected expression before ')' token
digestmd5.c:1105: error: 'des_context_t' has no member named 'ivec'
digestmd5.c: In function 'digestmd5_server_mech_step':
digestmd5.c:3051: warning: pointer targets in assignment differ in
signedness
make[2]: *** [digestmd5.lo] Error 1
make[2]: Leaving directory
`/home/brad/Downloads/cyrus-sasl-2.1.26/plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/brad/Downloads/cyrus-sasl-2.1.26'
make: *** [all] Error 2
[brad@dell2600-1 cyrus-sasl-2.1.26]$





Is openssl-devel rpm installed?













On Mon, 2014-04-14 at 14:07 -0700, Andrew Morgan wrote:
snip ...

I sure would try to get Cyrus v2.4.17 to compile.  v2.3 is very old...  We
would be happy to help you compile v2.4.17 on CentOS 6.5.  Alternatively,
there are Source RPMs available at:

http://www.invoca.ch/pub/packages/cyrus-imapd/

Andy






Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus



attachment: boutilpj.vcf
Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus

Re: cyrus compile under Centos 6.5

2014-04-15 Thread Charles Bradshaw
Parrick

Yes openssl-devel.i686 1.0.1e-16.el6_5.7 is installed.

Brad

On Tue, 2014-04-15 at 10:38 -0300, Patrick Boutilier wrote:
 On 04/15/2014 08:38 AM, Charles Bradshaw wrote:
  Thanks Andy,
 
  Here goes a source build. I downloaded cyrus-imapd-2.4.17 and
  cyrus-sasl-2.1.26 from ftp://ftp.cyrusimap.org
 
  config.log from:
  [brad@dell2600-1 cyrus-sasl-2.1.26]$ ./configure
 
  make fails with the following errors:
  [brad@dell2600-1 cyrus-sasl-2.1.26]$ make
  ...
  gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../lib -I../sasldb
  -I../include -DOBSOLETE_CRAM_ATTR=1 -Wall -W -g -O2 -MT digestmd5.lo -MD
  -MP -MF .deps/digestmd5.Tpo -c digestmd5.c  -fPIC -DPIC -o digestmd5.lo
  digestmd5.c:859: error: expected specifier-qualifier-list before
  'des_key_schedule'
  digestmd5.c: In function 'dec_3des':
  digestmd5.c:896: warning: implicit declaration of function
  'des_ede2_cbc_encrypt'
  digestmd5.c:899: error: 'des_context_t' has no member named 'keysched'
  digestmd5.c:900: error: 'des_context_t' has no member named 'keysched2'
  digestmd5.c:901: error: 'des_context_t' has no member named 'ivec'
  digestmd5.c:902: error: 'DES_DECRYPT' undeclared (first use in this
  function)
  digestmd5.c:902: error: (Each undeclared identifier is reported only
  once
  digestmd5.c:902: error: for each function it appears in.)
  digestmd5.c: In function 'enc_3des':
  digestmd5.c:947: error: 'des_context_t' has no member named 'keysched'
  digestmd5.c:948: error: 'des_context_t' has no member named 'keysched2'
  digestmd5.c:949: error: 'des_context_t' has no member named 'ivec'
  digestmd5.c:950: error: 'DES_ENCRYPT' undeclared (first use in this
  function)
  digestmd5.c: In function 'init_3des':
  digestmd5.c:970: warning: implicit declaration of function
  'des_key_sched'
  digestmd5.c:970: error: 'des_cblock' undeclared (first use in this
  function)
  digestmd5.c:970: error: expected expression before ')' token
  digestmd5.c:974: error: expected expression before ')' token
  digestmd5.c:976: error: 'des_context_t' has no member named 'ivec'
  digestmd5.c:983: error: expected expression before ')' token
  digestmd5.c:987: error: expected expression before ')' token
  digestmd5.c:990: error: 'des_context_t' has no member named 'ivec'
  digestmd5.c: In function 'dec_des':
  digestmd5.c:1014: warning: implicit declaration of function
  'des_cbc_encrypt'
  digestmd5.c:1017: error: 'des_context_t' has no member named 'keysched'
  digestmd5.c:1018: error: 'des_context_t' has no member named 'ivec'
  digestmd5.c:1019: error: 'DES_DECRYPT' undeclared (first use in this
  function)
  digestmd5.c:1023: error: 'des_context_t' has no member named 'ivec'
  digestmd5.c: In function 'enc_des':
  digestmd5.c:1068: error: 'des_context_t' has no member named 'keysched'
  digestmd5.c:1069: error: 'des_context_t' has no member named 'ivec'
  digestmd5.c:1070: error: 'DES_ENCRYPT' undeclared (first use in this
  function)
  digestmd5.c:1074: error: 'des_context_t' has no member named 'ivec'
  digestmd5.c: In function 'init_des':
  digestmd5.c:1094: error: 'des_cblock' undeclared (first use in this
  function)
  digestmd5.c:1094: error: expected expression before ')' token
  digestmd5.c:1096: error: 'des_context_t' has no member named 'ivec'
  digestmd5.c:1103: error: expected expression before ')' token
  digestmd5.c:1105: error: 'des_context_t' has no member named 'ivec'
  digestmd5.c: In function 'digestmd5_server_mech_step':
  digestmd5.c:3051: warning: pointer targets in assignment differ in
  signedness
  make[2]: *** [digestmd5.lo] Error 1
  make[2]: Leaving directory
  `/home/brad/Downloads/cyrus-sasl-2.1.26/plugins'
  make[1]: *** [all-recursive] Error 1
  make[1]: Leaving directory `/home/brad/Downloads/cyrus-sasl-2.1.26'
  make: *** [all] Error 2
  [brad@dell2600-1 cyrus-sasl-2.1.26]$
 
 
 
 
 Is openssl-devel rpm installed?
 
 
 
 
 
 
 
 
 
 
 
 
  On Mon, 2014-04-14 at 14:07 -0700, Andrew Morgan wrote:
  snip ...
  I sure would try to get Cyrus v2.4.17 to compile.  v2.3 is very old...  We
  would be happy to help you compile v2.4.17 on CentOS 6.5.  Alternatively,
  there are Source RPMs available at:
 
  http://www.invoca.ch/pub/packages/cyrus-imapd/
 
 Andy
 
 
 
 
  
  Cyrus Home Page: http://www.cyrusimap.org/
  List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
  To Unsubscribe:
  https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus
 
 
 
 Cyrus Home Page: http://www.cyrusimap.org/
 List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
 To Unsubscribe:
 https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus



Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus