Hi there , im not sure whether im in the right section, but because im talking about perl, i guess this is the right place :-)
I have a whole host (thousands in fact) of Solaris machines that are running different versions of perl with different module sets etc.
I wanted to know whether it was possible for me to set up my own 'internal' CPAN mirror that i can update with all 5.x modules so that i can go to each of my hosts and point it to my new CPAN repository to get updated or new modules ? (regardless if the host is running perl 5.005_03 or 5.10.0) As you can guess, my machines do not have direct access to the internet
I guess the other question would be, Can i use this internal CPAN mirror to actually upgrade perl on my system? i have a few machines that are running
It would be nice if i could get them all to the latest 5.10 perl without major hassle?
I am attempting to install a Perl Expect module via the CPAN . CPAN goes through the process but nothing happens, sample perl scripts can not find the Expect Module. CPAN was configured via the Default process " Are you ready for manual configuration? " answered "no". CPAN install seemed to find... (1 Reply)
When using CPAN for the first time, a number of questions are prompted to the user, thereby halting the process. Since I am running FreeBSD I was wondering whether the inclusion of the port instead leads to the same result. So instead of having the following:
perl -MCPAN -e "install DBD::SQLite"... (12 Replies)
Hi i was trying to install Text::CSV from cpan... it seemed to have downloaded everythign properly but was not able to run the make file...
do u have any idea as to why this happened??
Install:
=============================
If you install Text::CSV_XS v.0.70, it makes Text::CSV faster.
... (5 Replies)
Hi all,
Since yesterday, I'm trying to upgrade CPAN on my Synology sevrer, because I have the next message in CPAN shell :
cpan> install cpan
CPAN: Storable loaded ok
Going to read /root/.cpan/Metadata
Going to read /root/.cpan/sources/authors/01mailrc.txt.gz
CPAN: Compress::Zlib... (2 Replies)
Hi All,
I need to install perl module using cpan, so befor that i checked cpan is installed or not . i tried , and got below output.but it is not clear to me.
can u plz explain me.
I dont know what the exactly cpan is useful. and in below why it is trying to create directory.
$ cpan... (2 Replies)
Hi,
I am unable to install module using cpan. It says 407 Proxy Authentication Required
I did setup proxy server and given username and password in .bashrc file and apt.conf file.
export http_proxy=http://username:password@proxyserver:portno/
However, still unable to install... (1 Reply)
Most of my commands are returning this error on RHEL 6 64 bit:
Also I tried installing many sofwtares, but it fails to correctly work. For example I treid installing dos2unix:
# rpm -ivh dos2unix-5.3.3-5.ram0.98.src.rpm
1:dos2unix warning: user mockbuild does not... (0 Replies)
Hi all,
I am on Linux box where CPAN is not working for downloading any perl modules. When I try "perl -MCPAN -e shell" as root as well as a user, I get following error:
Can't locate CPAN.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl... (2 Replies)
Discussion started by: pat_pramod
2 Replies
LEARN ABOUT REDHAT
perlmachten
PERLMACHTEN(1) Perl Programmers Reference Guide PERLMACHTEN(1)NAME
README.machten - Perl version 5 on Power MachTen systems
DESCRIPTION
This document describes how to build Perl 5 on Power MachTen systems, and discusses a few wrinkles in the implementation.
Compiling Perl 5 on MachTen
To compile perl under MachTen 4.1.4 (and probably earlier versions):
./Configure -de
make
make test
make install
This builds and installs a statically-linked perl; MachTen's dynamic linking facilities are not adequate to support Perl's use of dynami-
cally linked libraries. (See hints/machten.sh for more information.)
You should have at least 32 megabytes of free memory on your system before running the "make" command.
For much more information on building perl -- for example, on how to change the default installation directory -- see INSTALL.
Failures during "make test" on MachTen
op/lexassign.t
This test may fail when first run after building perl. It does not fail subsequently. The cause is unknown.
pragma/warnings.t
Test 257 fails due to a failure to warn about attempts to read from a filehandle which is a duplicate of stdout when stdout is attached
to a pipe. The output of the test contains a block comment which discusses a different failure, not applicable to MachTen.
The root of the problem is that Machten does not assign a file type to either end of a pipe (see stat), resulting, among other things
in Perl's "-p" test failing on file descriptors belonging to pipes. As a result, perl becomes confused, and the test for reading from
a write-only file fails. I am reluctant to patch perl to get around this, as it's clearly an OS bug (about which Tenon has been
informed), and limited in its effect on practical Perl programs.
Building external modules on MachTen
To add an external module to perl, build in the normal way, which is documented in ExtUtils::MakeMaker, or which can be driven automati-
cally by the CPAN module (see CPAN), which is part of the standard distribution. If you want to install a module which contains XS code (C
or C++ source which compiles to object code for linking with perl), you will have to replace your perl binary with a new version containing
the new statically-linked object module. The build process tells you how to do this.
There is a gotcha, however, which users usually encounter immediately they respond to CPAN's invitation to "install Bundle::CPAN". When
installing a bundle -- a group of modules which together achieve some particular purpose, the installation process for later modules in the
bundle tends to assume that earlier modules have been fully installed and are available for use. This is not true on a statically-linked
system for earlier modules which contain XS code. As a result the installation of the bundle fails. The work-around is not to install the
bundle as a one-shot operation, but instead to see what modules it contains, and install these one-at-a-time by hand in the order given.
AUTHOR
Dominic Dunlop <domo@computer.org>
DATE
Version 1.0.1 2000-03-27
perl v5.8.0 2003-02-18 PERLMACHTEN(1)