Sponsored Content
Special Forums IP Networking Proxy Server Problem with Installing Perl Module in Fedora 20 Post 302929437 by zak100 on Sunday 21st of December 2014 12:29:34 PM
Old 12-21-2014
Problem with Installing Perl Module in Fedora 20

Hi,
I have downloaded Audio::Beep. I tried to install it through CPAN but i got YAML error. Then I have tried to install it manually. I tried all the instructions provided in README file. It worked but when i am compiling , it still gives me error:

Code:
[root@localhost lab6]# ls
acct21.pl~              imap(2).pl    LinuxForumDec10.odt  server.pl~
acct2.pl~               imap2.pl      Proxy.pl             waqc.pl~
Audio-Beep-0.11.tar.gz  imap.pl       proxyserver.pl~      waqs.pl~
client.pl~              ismailc.pl~   Public               Zulfi
Client.pl               ismails2.pl~  Server1.pl
Desktop                 ismails.pl~   server2.pl~
Documents               lab11         Server2.pl
[root@localhost lab6]# tar xvfz Audio-Beep-0.11.tar.gz
Audio-Beep-0.11/
Audio-Beep-0.11/t/
Audio-Beep-0.11/t/1.t
Audio-Beep-0.11/beep-1.2.2/
Audio-Beep-0.11/beep-1.2.2/COPYING
Audio-Beep-0.11/beep-1.2.2/README
Audio-Beep-0.11/beep-1.2.2/INSTALL
Audio-Beep-0.11/beep-1.2.2/CREDITS
Audio-Beep-0.11/beep-1.2.2/CHANGELOG
Audio-Beep-0.11/beep-1.2.2/Makefile
Audio-Beep-0.11/beep-1.2.2/beep.c
Audio-Beep-0.11/beep-1.2.2/beep.1.gz
Audio-Beep-0.11/lib/
Audio-Beep-0.11/lib/Audio/
Audio-Beep-0.11/lib/Audio/Beep/
Audio-Beep-0.11/lib/Audio/Beep/Win32/
Audio-Beep-0.11/lib/Audio/Beep/Win32/API.pm
Audio-Beep-0.11/lib/Audio/Beep/Linux/
Audio-Beep-0.11/lib/Audio/Beep/Linux/PP.pm
Audio-Beep-0.11/lib/Audio/Beep/Linux/beep.pm
Audio-Beep-0.11/lib/Audio/Beep/BSD/
Audio-Beep-0.11/lib/Audio/Beep/BSD/beep.pm
Audio-Beep-0.11/META.yml
Audio-Beep-0.11/Beep.pm
Audio-Beep-0.11/music/
Audio-Beep-0.11/music/wtk1
Audio-Beep-0.11/music/scales
Audio-Beep-0.11/music/pictures_at_an_exhibition
Audio-Beep-0.11/music/today
Audio-Beep-0.11/music/love_will_tear_us_apart
Audio-Beep-0.11/music/beep_player.pl
Audio-Beep-0.11/README
Audio-Beep-0.11/pods/
Audio-Beep-0.11/pods/jp/
Audio-Beep-0.11/pods/jp/Beep.pod
Audio-Beep-0.11/Beep.pod
Audio-Beep-0.11/MANIFEST
Audio-Beep-0.11/Makefile.PL
Audio-Beep-0.11/Changes
[root@localhost lab6]# ls
acct21.pl~              Desktop      ismails2.pl~         Public       waqs.pl~
acct2.pl~               Documents    ismails.pl~          Server1.pl   Zulfi
Audio-Beep-0.11         imap(2).pl   lab11                server2.pl~
Audio-Beep-0.11.tar.gz  imap2.pl     LinuxForumDec10.odt  Server2.pl
client.pl~              imap.pl      Proxy.pl             server.pl~
Client.pl               ismailc.pl~  proxyserver.pl~      waqc.pl~
[root@localhost lab6]# cd Audio-Beep-0.11
[root@localhost Audio-Beep-0.11]# ls
beep-1.2.2  Beep.pod  lib          MANIFEST  music  README
Beep.pm     Changes   Makefile.PL  META.yml  pods   t
[root@localhost Audio-Beep-0.11]# vi README
[root@localhost Audio-Beep-0.11]# perl Makefile.PL
Would you like to install Japanese documentation? 
If you enter 'y' then i will try to install Japanese docs alongside 
English ones. On platforms using 'man' manpages (typically on UN*X)
Japanese documentation will be available transparently to users whose 
locale language is set to Japanese.
On other platforms the documentation will be available as Audio::Beep_jp
Default is to not install Japanese docs. [N/y]  N
Checking if your kit is complete...
Looks good
Writing Makefile for Audio::Beep
[root@localhost Audio-Beep-0.11]# make
cp Beep.pod blib/lib/Audio/Beep.pod
cp lib/Audio/Beep/Linux/beep.pm blib/lib/Audio/Beep/Linux/beep.pm
cp lib/Audio/Beep/Linux/PP.pm blib/lib/Audio/Beep/Linux/PP.pm
cp Beep.pm blib/lib/Audio/Beep.pm
Manifying blib/man3/Audio::Beep::Linux::beep.3pm
Manifying blib/man3/Audio::Beep::Linux::PP.3pm
Manifying blib/man3/Audio::Beep.3pm
[root@localhost Audio-Beep-0.11]# make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/1.t .. ok   
All tests successful.
Files=1, Tests=3,  0 wallclock secs ( 0.03 usr  0.00 sys +  0.02 cusr  0.00 csys =  0.05 CPU)
Result: PASS
[root@localhost Audio-Beep-0.11]# make install
Appending installation info to /root/perl5/lib/perl5/x86_64-linux-thread-multi/perllocal.pod
[root@localhost Audio-Beep-0.11]# pwd
/home/lab6/Audio-Beep-0.11
[root@localhost Audio-Beep-0.11]# ls
beep-1.2.2  Beep.pod  Changes  Makefile     MANIFEST  music       pods    t
Beep.pm     blib      lib      Makefile.PL  META.yml  pm_to_blib  README
[root@localhost Audio-Beep-0.11]# cd ..
[root@localhost lab6]# ls
acct21.pl~              Desktop      ismails2.pl~         Public       waqs.pl~
acct2.pl~               Documents    ismails.pl~          Server1.pl   Zulfi
Audio-Beep-0.11         imap(2).pl   lab11                server2.pl~
Audio-Beep-0.11.tar.gz  imap2.pl     LinuxForumDec10.odt  Server2.pl
client.pl~              imap.pl      Proxy.pl             server.pl~
Client.pl               ismailc.pl~  proxyserver.pl~      waqc.pl~
[root@localhost lab6]# cd Zulfi
[root@localhost Zulfi]# ls
imap01.pl  imap2.pl  imap.pl
[root@localhost Zulfi]# perl imap01.pl
Can't locate Audio/Beep.pm in @INC (you may need to install the Audio::Beep module) (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at imap01.pl line 2.
BEGIN failed--compilation aborted at imap01.pl line 2.

The code is:
Code:
[root@localhost Zulfi]# cat imap01.pl
#!/usr/bin/perl.exe
use Audio::Beep;
use strict;
use warnings;
use Mail::IMAPClient;
use IO::Socket::SSL;
#se Audio::Beep;

Somebody please guide me with this problem.

Zulfi.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Installing Perl Module Term::ReadKey??? HELP!!!

I'm new to UNIX..... I'm trying to test a software that requires Perl. I installed Perl 5.004_04 without any problem on a UNIX SCO OpenServer Machine. The software I'm testing also requires some Perl Modules (Net::Telnet, Test::More, Net::Telnet::Cisco & Term::ReadKey). I installed... (4 Replies)
Discussion started by: rrivas
4 Replies

2. Shell Programming and Scripting

Can I use a Perl Module without installing it?

I am trying to write a program that will use templates, so I figured I would use the Text::Template CPAN module... ...only problem is that I cant force my "clients" to install this module, cause they are clueless. Is there anyway that I can NOT install it for the whole machine, but install it... (1 Reply)
Discussion started by: jjinno
1 Replies

3. UNIX and Linux Applications

help: error in installing perl module DBD::mysql

Hi, I am trying to install perl module DBD::mysql and don't know how to resolve the following: # make test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/00base.............ok 3/5install_driver(mysql) failed: Can't load... (3 Replies)
Discussion started by: Yogesh Sawant
3 Replies

4. Shell Programming and Scripting

Installing Perl Module

Hi All, When I tried to install Math::Pari module in a AIX 5.3 server,I am getting the following error. # pwd /usr/local/bin # cd Math-Pari-2.010709 # perl Makefile.PL Did not find GP/PARI build directory around. Do you want to me to fetch GP/PARI automatically? (If you do not, you... (2 Replies)
Discussion started by: surjithss
2 Replies

5. Red Hat

Problem installing perlcc in fedora 9

Hi guys i installed fedora 9 in my system. i installed perl-devel rpm and perl-5.10.0 rpm. But perlcc not in /usr/bin/ directory.But perl,perldoc binaris installed. i am new one for linux. (3 Replies)
Discussion started by: viveksnv
3 Replies

6. UNIX for Advanced & Expert Users

Apache module & perl problem

I have a very strange problem that I can't seem to solve. I have apache module which filters content and within that module I will add some more content based on this calls: int check; check = system("/usr/bin/check"); check is a perl-script that exits with value 1 if the file doesn't... (2 Replies)
Discussion started by: hjalle
2 Replies

7. Shell Programming and Scripting

Perl - problem with CPAN module XML::Simple

Hi All, I am trying to run the following program #!/usr/bin/perl # use module use XML::Simple; use Data::Dumper; # create object $xml = new XML::Simple; # read XML file $data = $xml->XMLin("dump.xml"); # print output print Dumper($dump); At first i had the error mesage saying... (5 Replies)
Discussion started by: userscript
5 Replies

8. Shell Programming and Scripting

Facing problem in XML::parser module in PERL

HI, I have XML file which is having values as Spanish character (UTF-8 encoding). I am using XML::parser module but my code is not able to read those characters. I did goggling but not able to find suitable solution. Anybody please help me out. XML file having characters like: ñ I am... (1 Reply)
Discussion started by: jatanig
1 Replies

9. Shell Programming and Scripting

Installing perl module

Hi, I want to install WWW:Mechanize module. Followed the following steps: 1. wget http://www.cpan.org/authors/id/C/CO/CORION/Bundle- WWW-Mechanize-Shell-0.29.tar.gz perl Makefile.PL make make test make install (Got the below message) Appending installation info to... (1 Reply)
Discussion started by: Anjan1
1 Replies

10. Shell Programming and Scripting

problem during perl module installation

Hi 'm getting error while installing perl mdule on linux.can any one tell me how to resolve that error? problem is: CPAN: File::Temp loaded ok (v0.22) CPAN.pm: Going to build J/JD/JDB/Win32-OLE-0.1709.tar.gz OS unsupported Warning: No success on command Warning (usually harmless):... (1 Reply)
Discussion started by: kavi.mogu
1 Replies
All times are GMT -4. The time now is 06:25 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy