Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

perl module installation

2 views
Skip to first unread message

Pradeep

unread,
Sep 17, 2009, 4:42:38 AM9/17/09
to
Hi all,
I got a way to optimize the processing of log files by reading from
the end of the file i.e reading backwards because the summary status
is at the end of the file . I saw in the internet that using the
module File::ReadBackwards is more powerful. But I am unable to
install the module as below(perl 5.8.8 build 822).
Can anybody help me in this regard?
The environment variables c:\perl\bin is already in the PATH.

I read the FAQ in the perldoc also. I manually copied the perl module
after downloading from internet but it did not work.

The last 3 lines of the log file is as follows.

BUILD FAILED - 0 non-fatal error(s), 123 warning(s)
a.cpp failed
Total time: 1000 seconds.

For reading backwards:
--------------------------------
I read File::ReadBackwards (which reads backwards from the file)
documentation but the module is not getting installed from CPAN.

C:\Documents and Settings\pradeeps\Desktop\Pradeep>perl -MCPAN -e
shell
Set up gcc environment - 3.4.1 (cygming special)
Exiting subroutine via last at C:/Perl/lib/CPAN.pm line 1337.
cpan shell -- CPAN exploration and modules installation (v1.9102)
ReadLine support enabled

cpan> install File::ReadBackwards.pm
CPAN: Storable loaded ok (v2.16)
Use of uninitialized value in transliteration (tr///) at C:/Perl/lib/
File/Spec/W
in32.pm line 119.
Use of uninitialized value in pattern match (m//) at C:/Perl/lib/File/
Spec/Win32
.pm line 121.
CPAN: LWP::UserAgent loaded ok (v2.036)
CPAN: Time::HiRes loaded ok (v1.9707)
Fetching with LWP:
http://ppm.activestate.com/CPAN/authors/01mailrc.txt.gz
Going to read C:\Perl\cpan\sources\authors\01mailrc.txt.gz
............................................................................DONE
Use of uninitialized value in transliteration (tr///) at C:/Perl/lib/
File/Spec/W
in32.pm line 119.
Use of uninitialized value in pattern match (m//) at C:/Perl/lib/File/
Spec/Win32
.pm line 121.
Fetching with LWP:
http://ppm.activestate.com/CPAN/modules/02packages.details.txt.gz
Going to read C:\Perl\cpan\sources\modules\02packages.details.txt.gz
Database was generated on Sun, 13 Sep 2009 10:27:12 GMT
...............
New CPAN.pm version (v1.9402) available.
[Currently running version is v1.9102]
You might want to try
install CPAN
reload cpan
to both upgrade CPAN.pm and run the new version without leaving
the current session.

.............................................................DONE
Use of uninitialized value in transliteration (tr///) at C:/Perl/lib/
File/Spec/W
in32.pm line 119.
Use of uninitialized value in pattern match (m//) at C:/Perl/lib/File/
Spec/Win32
.pm line 121.
Fetching with LWP:
http://ppm.activestate.com/CPAN/modules/03modlist.data.gz
Going to read C:\Perl\cpan\sources\modules\03modlist.data.gz
............................................................................DONE
Going to write C:\Perl\cpan\Metadata
Warning: Cannot install File::ReadBackwards.pm, don't know what it is.
Try the command
i /File::ReadBackwards.pm/
to find objects with matching identifiers.

Regards
Pradeep

Pradeep

unread,
Sep 17, 2009, 8:10:57 AM9/17/09
to
> ...........................................................................­.DONE
> ...........................................................................­.DONE

> Going to write C:\Perl\cpan\Metadata
> Warning: Cannot install File::ReadBackwards.pm, don't know what it is.
> Try the command
>     i /File::ReadBackwards.pm/
> to find objects with matching identifiers.
>
> Regards
> Pradeep

Fixed following steps described in :

http://www.perlmonks.org/index.pl?node_id=128077

Jim Gibson

unread,
Sep 17, 2009, 12:42:56 PM9/17/09
to
In article
<f05eb4e4-1e05-44a9...@m3g2000pri.googlegroups.com>,
Pradeep <bubunia...@gmail.com> wrote:

> On Sep 17, 1:42�pm, Pradeep <bubunia2000s...@gmail.com> wrote:

> > I read File::ReadBackwards (which reads backwards from the file)
> > documentation but the module is not getting installed from CPAN.
> >
> > C:\Documents and Settings\pradeeps\Desktop\Pradeep>perl -MCPAN -e
> > shell
> > Set up gcc environment - 3.4.1 (cygming special)
> > Exiting subroutine via last at C:/Perl/lib/CPAN.pm line 1337.
> > cpan shell -- CPAN exploration and modules installation (v1.9102)
> > ReadLine support enabled
> >
> > cpan> install File::ReadBackwards.pm
> >

...

> > Going to write C:\Perl\cpan\Metadata
> > Warning: Cannot install File::ReadBackwards.pm, don't know what it is.
> > Try the command
> > � � i /File::ReadBackwards.pm/
> > to find objects with matching identifiers.

>

> Fixed following steps described in :
>
> http://www.perlmonks.org/index.pl?node_id=128077

Next time, try leaving off the '.pm' suffix:

cpan> install File::ReadBackwards

--
Jim Gibson

0 new messages