User Profile

Collapse

Profile Sidebar

Collapse
mbrunell
mbrunell
Last Activity: Nov 6 '08, 02:39 PM
Joined: Sep 17 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • mbrunell
    replied to Dynamic dependencies
    in Perl
    I will post on the perlmonks website. Thanks.

    I had tried to set the LIBPATH variable at the beginning of my script, but it didn't change anything. It seems like it is already too late!

    Code:
    $ENV{'LIBPATH'}='/opt/freeware/lib';
    See more | Go to post

    Leave a comment:


  • mbrunell
    started a topic Dynamic dependencies
    in Perl

    Dynamic dependencies

    Hi,

    Under AIX, I have created a script which is checking URL status. Problems come when I want to check HTTPS URL status...

    To have my script working with HTTPS URLs, I must set the LIBPATH variable correctly :

    Code:
    # LIBPATH=/opt/freeware/lib
    # ./check_url.pl https://myexample.com
    SUCCESS
    200 OK
    If the LIBPATH variable is not set, then....

    ...
    See more | Go to post

  • mbrunell
    replied to HTTPS URLs monitoring
    in Perl
    The thing is that my server is behing a firewall with no access to the internet...

    Is there a way that I can use CPAN to install my module and set the urllist parameter to a local directory where I would have already downloaded the necessary files? (If somebody could tell me which files are necessary...)

    I know that I can use Mini::CPAN, but it requires that I install the module manually which requires other modules...
    See more | Go to post

    Leave a comment:


  • mbrunell
    replied to HTTPS URLs monitoring
    in Perl
    Well, at least, can somebody help me with installing the Crypt::SSLeay module. I can the following message when I try to compile!

    # make CC=gcc
    gcc -c -I/opt/freeware/include/openssl -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=16384 -qnoansialias -DUSE_NATIVE_DLO PEN -DNEED_PTHREAD_I NIT -q32 -D_LARGE_FILES -qlonglong -O -DVERSION=\"0.57 \" -DXS_VERSION=\"0 .57\" "-I/usr/opt/perl5/lib/5.8.2/aix-thread-multi/CORE"...
    See more | Go to post

    Leave a comment:


  • mbrunell
    started a topic HTTPS URLs monitoring
    in Perl

    HTTPS URLs monitoring

    Hi,

    On AIX, I have a script that checks URLs availability with the Lwp::UserAgent module.

    It has been checking HTTPS URLs without any problem, but since the OpenSSL and OpenSSH versions has been updated, I have an error message saying that HTTPS is not supported.

    I don't have the Crypt::SSLeay module or the IO::Socket::SSL module installed and it has always been working fine. I think that when Lwp::UserAgent...
    See more | Go to post

  • mbrunell
    replied to Environment variable not defined
    in Perl
    I've tried to add:

    use lib '/opt/freeware/lib';

    The folder has been added to @INC, I have confirmed it by adding these lines :

    foreach (@INC) {
    print "$_\n";
    }


    Any other idea?
    See more | Go to post

    Leave a comment:


  • mbrunell
    started a topic Environment variable not defined
    in Perl

    Environment variable not defined

    Under AIX 5.3, I have created a script that checks URL availability with LWP::UserAgent.

    Before I run the script, I must define the variable LIBPATH for my script to know where is the SSL library. Otherwise it won't be able to evaluate https URL. That is working fine...

    LIBPATH='/opt/freeware/lib'

    I'd like to avoid defining the variable before running the script, but when I try to define the variable at...
    See more | Go to post
    Last edited by numberwhun; Sep 17 '08, 04:57 PM. Reason: Please use code tags
No activity results to display
Show More
Working...