Subject: | Install doesn't work due to wrong kerberos include path |
Date: | Wed, 14 Nov 2007 03:26:37 +0100 |
To: | bug-Net-SSLeay [...] rt.cpan.org |
From: | Pierre GIRARD <pierre.girard [...] in2p3.fr> |
Dear Net::SSLeay developer,
Trying to install Net::SSLeay on SL3, I encoutered a compilation problem :
Show quoted text
> gcc -c -I/usr/include -I/usr/inc32 -Iusr/kerberos/include
> -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING
> -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE
> -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -DVERSION=\"1.32\"
> -DXS_VERSION=\"1.32\" -fPIC
> "-I/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE" SSLeay.c
> In file included from /usr/include/openssl/ssl.h:179,
> from SSLeay.xs:96:
> /usr/include/openssl/kssl.h:72:18: krb5.h: No such file or directory
Taking a deep loop at what went wrong, I discovered that there was a
typo error in Net-SSLeay-1.32/inc/Module/Install/PRIVATE/Net/SSLeay.pm
at line 63:
Show quoted text> 59 sub ssleay_get_build_opts {
> 60 my ($self, $prefix, $exec) = @_;
> 61
> 62 my $opts = {
> 63 inc_paths => ["$prefix/include", "$prefix/inc32",
> 'usr/kerberos/include'],
You should have '/usr/kerberos/include' instead of 'usr/kerberos/include'.
Hope that helps
Cheers
Pierre
--
Show quoted text______________________
Pierre GIRARD
French ROC deputy (EGEE/LCG)
Grid Computing Team Member
IN2P3/CNRS Computing Centre - Lyon (FRANCE)
e-mail: pierre.girard@in2p3.fr
Tel. +33 4.72.69.52.89
http://cc.in2p3.fr
CCIN2P3 Tel. +33 4.78.93.08.80 | CCIN2P3 Fax. +33 4.72.69.41.70