develooper Front page | perl.perl5.porters | Postings from July 2002

Error building Crypt::SSLeay under 5.8.0

Thread Next
From:
Randy J. Ray
Date:
July 23, 2002 00:34
Subject:
Error building Crypt::SSLeay under 5.8.0
Message ID:
200207230732.g6N7WfY04330@gangrel.blackperl.com
Building my list of installed modules under a fresh 5.8.0 install, I get the
following from Crypt::SSLeay:

/opt/perl5.8.0/bin/perl /opt/perl5.8.0/lib/5.8.0/ExtUtils/xsubpp  -typemap /opt/perl5.8.0/lib/5.8.0/ExtUtils/typemap -typemap typemap  SSLeay.xs > SSLeay.xsc && mv SSLeay.xsc SSLeay.c
cc -c  -I/usr/include -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2   -DVERSION=\"0.41\" -DXS_VERSION=\"0.41\" -fpic "-I/opt/perl5.8.0/lib/5.8.0/i686-linux-thread-multi/CORE"   SSLeay.c
In file included from /usr/include/openssl/evp.h:89,
                 from /usr/include/openssl/x509.h:67,
                 from /usr/include/openssl/ssl.h:69,
                 from crypt_ssleay_version.h:1,
                 from SSLeay.xs:20:
/usr/include/openssl/des.h:193: parse error before `&'
make: *** [SSLeay.o] Error 1


Peering into /usr/include/openssl/des.h, I see this:

#if !defined(PERL5) && !defined(__FreeBSD__) && !defined(NeXT)
char *crypt(const char *buf,const char *salt);
#endif


Since I didn't have any trouble building this under 5.6.0 or 5.6.1, is it
possible that "PERL5" was a weeded-out #define?

I didn't see this before now, because I didn't test any of the snapshots or
RC's this deeply, just went through a smaller subset of modules.

Randy
--
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
Randy J. Ray                                                rjray@blackperl.com
Campbell, CA                                                     rjray@svsm.org
<A HREF="http://www.svsm.org">Silicon Valley Scale Modelers</A>

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About