Readers: 3
![]() |
|< 1 2 3 >| | ![]() |
23 entries, 3 pages |
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
require LWP::UserAgent;
my $ua = LWP::UserAgent->new;
$ua->timeout(10);
$ua->env_proxy;
my $response = $ua->get('http://search.cpan.org/');
if ($response->is_success) {
print $response->content; # or whatever
}
else {
die $response->status_line;
}
Quote\n\n# CLIENT CERT SUPPORT
$ENV{HTTPS_CERT_FILE} = 'certs/notacacert.pem';
$ENV{HTTPS_KEY_FILE} = 'certs/notacakeynopass.pem';
# CA CERT PEER VERIFICATION
$ENV{HTTPS_CA_FILE} = 'certs/ca-bundle.crt';
$ENV{HTTPS_CA_DIR} = 'certs/';
1
2
Found OpenSSL (version OpenSSL 0.9.7) installed at /usr
Which OpenSSL build path do you want to link against? [/usr]
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
linux:~/Documents/perlmodule/Crypt-SSLeay-0.51 # perl Makefile.PL
Found OpenSSL (version OpenSSL 0.9.7) 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.7
================================================
Note (probably harmless): No library found for -lgcc
Note (probably harmless): No library found for -lRSAglue
Note (probably harmless): No library found for -lrsaref
Writing Makefile for Crypt::SSLeay
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
linux:~/Documents/perlmodule/Crypt-SSLeay-0.51 # perl Makefile.PL
Found OpenSSL (version OpenSSL 0.9.7) installed at /usr
Which OpenSSL build path do you want to link against? [/usr] /usr/bin/openssl
Apparently no SSLeay installation at '/usr/bin/openssl'
Are you sure you got it correct????
================================================
BUILD INFORMATION
================================================
ssl dir: /usr/bin/openssl
libraries: -lssl -lcrypto -lgcc -lRSAglue -lrsaref
include dir: /usr/bin/openssl/include
ssl header: openssl/ssl.h
ssl candidate: /usr/bin/openssl; /usr/bin/openssl/include
================================================
Note (probably harmless): No library found for -lgcc
Note (probably harmless): No library found for -lRSAglue
Note (probably harmless): No library found for -lrsaref
Writing Makefile for Crypt::SSLeay
linux:~/Documents/perlmodule/Crypt-SSLeay-0.51 # make
cc -c -I/usr/bin/openssl/include -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -march=i586 -mcpu=i686 -fmessage-length=0 -Wall -g -Wall -pipe -DVERSION=\"0.51\" -DXS_VERSION=\"0.51\" -fPIC "-I/usr/lib/perl5/5.8.6/i586-linux-thread-multi/CORE" SSLeay.c
cc1: /usr/bin/openssl/include: Not a directory
make: *** [SSLeay.o] Error 1
linux:~/Documents/perlmodule/Crypt-SSLeay-0.51 #
![]() |
|< 1 2 3 >| | ![]() |
23 entries, 3 pages |