[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-users] RAQ3 install Crypt::SSLeay error?



Hi,

I am trying to install  SSLeay and I am running into some problem while it triesto compile. 

/usr/include/openssl/des.h:96: #error "_ is defined, but some strange definition
 the DES library cannot handle that."

Can somebody help me with this?

Thanks,
Tushar

cpan> install Crypt::SSLeay


[root@ns1 tpatel]# perl -MCPAN -e 'shell'

cpan shell -- CPAN exploration and modules installation (v1.48)
ReadLine support available (try ``install Bundle::CPAN'')

cpan> install crypt:SSleay
CPAN: LWP::UserAgent loaded ok
Fetching with LWP:
  ftp://mirror.hiwaay.net/CPAN/authors/01mailrc.txt.gz
Going to read /home/sites/home/users/tpatel/sources/authors/01mailrc.txt.gz
Fetching with LWP:
  ftp://mirror.hiwaay.net/CPAN/modules/02packages.details.txt.gz
Going to read /home/sites/home/users/tpatel/sources/modules/02packages.details.t
xt.gz
Scanning cache /home/sites/home/users/tpatel/build for sizes

  There's a new CPAN.pm version (v1.59) available!
  You might want to try
    install Bundle::CPAN
    reload cpan
  without quitting the current session. It should be a seamless upgrade
  while we are running...

Fetching with LWP:
  ftp://mirror.hiwaay.net/CPAN/modules/03modlist.data.gz
Going to read /home/sites/home/users/tpatel/sources/modules/03modlist.data.gz
Warning: Cannot install crypt:SSleay, don't know what it is.
Try the command

    i /crypt:SSleay/

to find objects with similar identifiers.

cpan> install Crypt::SSLeay
Running make for C/CH/CHAMAS/Crypt-SSLeay-0.37.tar.gz
Fetching with LWP:
  ftp://mirror.hiwaay.net/CPAN/authors/id/C/CH/CHAMAS/Crypt-SSLeay-0.37.tar.gz
CPAN: MD5 loaded ok
Fetching with LWP:
  ftp://mirror.hiwaay.net/CPAN/authors/id/C/CH/CHAMAS/CHECKSUMS
Checksum for /home/sites/home/users/tpatel/sources/authors/id/C/CH/CHAMAS/Crypt-
SSLeay-0.37.tar.gz ok
Crypt-SSLeay-0.37/
Crypt-SSLeay-0.37/typemap
Crypt-SSLeay-0.37/lib/
Crypt-SSLeay-0.37/lib/Crypt/
Crypt-SSLeay-0.37/lib/Crypt/SSLeay/
Crypt-SSLeay-0.37/lib/Crypt/SSLeay/Conn.pm
Crypt-SSLeay-0.37/lib/Crypt/SSLeay/CTX.pm
Crypt-SSLeay-0.37/lib/Crypt/SSLeay/X509.pm
Crypt-SSLeay-0.37/lib/Crypt/SSLeay/Err.pm
Crypt-SSLeay-0.37/lib/Crypt/SSLeay/MainContext.pm
Crypt-SSLeay-0.37/lib/Net/
Crypt-SSLeay-0.37/lib/Net/SSL.pm
Crypt-SSLeay-0.37/net_ssl_test
Crypt-SSLeay-0.37/MANIFEST
Crypt-SSLeay-0.37/Makefile.PL
Crypt-SSLeay-0.37/CHANGES
Crypt-SSLeay-0.37/SSLeay.xs
Crypt-SSLeay-0.37/t/
Crypt-SSLeay-0.37/t/ssl_context.t
Crypt-SSLeay-0.37/SSLeay.pm
Crypt-SSLeay-0.37/README
Crypt-SSLeay-0.37/lwp-ssl-test

  CPAN.pm: Going to build C/CH/CHAMAS/Crypt-SSLeay-0.37.tar.gz

Found OpenSSL (version OpenSSL 0.9.3) installed at /usr
Which OpenSSL build path do you want to link against? [/usr]

================================================
BUILD INFORMATION
================================================

ssl dir:        /usr
libraries:      -lssl -lcrypto -lgcc -lRSAglue -lrsaref
include dir:    /usr/include
ssl header:     openssl/ssl.h
ssl candidate:  /usr; /usr/include/openssl; OpenSSL 0.9.3

================================================

Checking if your kit is complete...
Looks good
Note (probably harmless): No library found for -lgcc
Note (probably harmless): No library found for -lrsaref
Writing Makefile for Crypt::SSLeay
mkdir blib
mkdir blib/lib
mkdir blib/lib/Crypt
mkdir blib/arch
mkdir blib/arch/auto
mkdir blib/arch/auto/Crypt
mkdir blib/arch/auto/Crypt/SSLeay
mkdir blib/lib/auto
mkdir blib/lib/auto/Crypt
mkdir blib/lib/auto/Crypt/SSLeay
mkdir blib/man3
cp lib/Crypt/SSLeay/Conn.pm blib/lib/Crypt/SSLeay/Conn.pm
cp lib/Crypt/SSLeay/X509.pm blib/lib/Crypt/SSLeay/X509.pm
cp lib/Crypt/SSLeay/CTX.pm blib/lib/Crypt/SSLeay/CTX.pm
cp lib/Net/SSL.pm blib/lib/Net/SSL.pm
cp lib/Crypt/SSLeay/Err.pm blib/lib/Crypt/SSLeay/Err.pm
cp SSLeay.pm blib/lib/Crypt/SSLeay.pm
cp lib/Crypt/SSLeay/MainContext.pm blib/lib/Crypt/SSLeay/MainContext.pm
/usr/bin/perl -I/usr/lib/perl5/5.00503/i386-linux -I/usr/lib/perl5/5.00503 /usr/
lib/perl5/5.00503/ExtUtils/xsubpp  -typemap /usr/lib/perl5/5.00503/ExtUtils/type
map -typemap typemap SSLeay.xs >xstmp.c && mv xstmp.c SSLeay.c
cc -c -I/usr/include -Dbool=char -DHAS_BOOL -I/usr/local/include -O2    -DVERSIO
N=\"0.37\" -DXS_VERSION=\"0.37\" -fpic -I/usr/lib/perl5/5.00503/i386-linux/CORE
 SSLeay.c
In file included from /usr/include/openssl/evp.h:79,
                 from /usr/include/openssl/pem.h:66,
                 from /usr/include/openssl/ssl.h:151,
                 from crypt_ssleay_version.h:1,
                 from SSLeay.xs:20:
/usr/include/openssl/des.h:96: #error "_ is defined, but some strange definition
 the DES library cannot handle that."
/usr/include/openssl/des.h:98: warning: `_' redefined
/usr/lib/perl5/5.00503/i386-linux/CORE/config.h:1149: warning: this is the locat
ion of the previous definition
make: *** [SSLeay.o] Error 1
  /usr/bin/make  -- NOT OK
Running make test
  Oops, make had returned bad status
Running make install
  Oops, make had returned bad status

cpan>