How to know about the arrival of email using gmail smtp
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi,
Technically speaking your hint is not workable. I already have '.' path in my @INC variable.
...which would only help if that module was IN the current working directory...which it IS NOT.
Quote:
Its purely an installation problem which is beyond the limits of a teacher. Somebody please help me with this.
STOP LYING...you are NOT a teacher, and no one believes that you are. You have been helped, MANY times, but just DO NOT UNDERSTAND the answer. AGAIN, go back and read the installation path, and modify INC accordingly.
And AGAIN, this 'universal' problem doesn't seem to effect anyone but you. You said you were 'boycotting' this forum, but come back and beg for handouts. No one here is able to help you, because you ARE NOT UNDERSTANDING the answers you're getting. You say you're a 'teacher', and that these installations are for systems administrators...then say that your administrators can't do it.
Please, go beg for handouts elsewhere...we can't make you understand things that you are unable to.
I have copied the program in Audio-Beep directory but still its giving the same message.
Code:
[root@localhost Audio-Beep-0.11]# 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.
[root@localhost Audio-Beep-0.11]# pwd
/home/lab6/Audio-Beep-0.11
[root@localhost Audio-Beep-0.11]# ls
beep-1.2.2 blib lib MANIFEST pm_to_blib t
Beep.pm Changes Makefile META.yml pods
Beep.pod imap01.pl Makefile.PL music README
[root@localhost Audio-Beep-0.11]#
Still the two minutes problem is not solved.
Wish you a people great 'Christmas' tomorrow & a happy new year after 6 days.
I am able to install Audio::Beep using yum but i am not getting any beep though its working in windows.
Code:
[root@localhost Audio-Beep-0.11]# perl imap01.pl
I'm authenticated
Folders:
* INBOX
* Personal
* Receipts
* Travel
* Work
* [Gmail]
* [Gmail]/All Mail
* [Gmail]/Drafts
* [Gmail]/Important
* [Gmail]/Sent Mail
* [Gmail]/Spam
* [Gmail]/Starred
* [Gmail]/Trash
There are 125 messages waiting.
89Total messages in INBOX are 125
and a small yum output:
Code:
[root@localhost Audio-Beep-0.11]# yum install perl-Audio-Beep
Loaded plugins: langpacks, refresh-packagekit
Existing lock /var/run/yum.pid: another copy is running as pid 2317.
Another app is currently holding the yum lock; waiting for it to exit...
The other application is: PackageKit
Memory : 60 M RSS (464 MB VSZ)
Started: Wed Dec 24 06:52:38 2014 - 00:40 ago
State : Sleeping, pid: 2317
Resolving Dependencies
--> Running transaction check
---> Package perl-Audio-Beep.noarch 0:0.11-11.fc20 will be installed
--> Processing Dependency: beep for package: perl-Audio-Beep-0.11-11.fc20.noarch
--> Running transaction check
---> Package beep.x86_64 0:1.3-7.fc20 will be installed
--> Finished Dependency Resolution
Hi,
I have copied the program in Audio-Beep directory but still its giving the same message.
Right....because you don't just 'copy' it to perform the installation. AGAIN, as you've been told MULTIPLE TIMES, you need to MODIFY your INC to match what the installation program did/where it copied things to. Since you're a 'teacher', you must know that modules don't work entirely on their own, right????
Quote:
Still the two minutes problem is not solved.
Because you aren't doing what's suggested or reading instructions, and you are apparently unable to understand what you're being told. Asking the same thing over and over is POINTLESS.
Quote:
Originally Posted by zak100
I am able to install Audio::Beep using yum but i am not getting any beep though its working in windows.
...and Windows doesn't matter, since this is LINUXquestions, so try to focus on that. And based on this:
Quote:
Originally Posted by zak100
and a small yum output:
Code:
[root@localhost Audio-Beep-0.11]# yum install perl-Audio-Beep
Loaded plugins: langpacks, refresh-packagekit
Existing lock /var/run/yum.pid: another copy is running as pid 2317.
Another app is currently holding the yum lock; waiting for it to exit...
The other application is: PackageKit
Memory : 60 M RSS (464 MB VSZ)
Started: Wed Dec 24 06:52:38 2014 - 00:40 ago
State : Sleeping, pid: 2317
Resolving Dependencies
--> Running transaction check
---> Package perl-Audio-Beep.noarch 0:0.11-11.fc20 will be installed
--> Processing Dependency: beep for package: perl-Audio-Beep-0.11-11.fc20.noarch
--> Running transaction check
---> Package beep.x86_64 0:1.3-7.fc20 will be installed
--> Finished Dependency Resolution
It was NOT installed using yum...are you not able to read or understand these things???? It tells you VERY PLAINLY that yum isn't going to work, since there is ANOTHER process using it. All it's doing is a basic check, and exiting. And AGAIN, unless you install the YAML pieces of things, THIS won't work right either.
Stop where you are, because you are VERY OBVIOUSLY not able to understand even the BASICS of what you're trying to do.
Hi,
I dont much about @INC. I am doing according to google search & what you people are saying. Based upon this i tried to update @INC but its not storing the path in it.
Code:
[root@localhost lab6]# perl installAud.pl
[root@localhost lab6]# perl beep.pl
[root@localhost lab6]# perl -V
Summary of my perl5 (revision 5 version 18 subversion 4) configuration:
Platform:
osname=linux, osvers=3.15.6-200.fc20.x86_64, archname=x86_64-linux-thread-multi
uname='linux buildvm-19.phx2.fedoraproject.org 3.15.6-200.fc20.x86_64 #1 smp fri jul 18 02:36:27 utc 2014 x86_64 x86_64 x86_64 gnulinux '
config_args='-des -Doptimize=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Dccdlflags=-Wl,--enable-new-dtags -Dlddlflags=-shared -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wl,-z,relro -Dshrpdir=/usr/lib64 -DDEBUGGING=-g -Dversion=5.18.4 -Dmyhostname=localhost -Dperladmin=root@localhost -Dcc=gcc -Dcf_by=Red Hat, Inc. -Dprefix=/usr -Dvendorprefix=/usr -Dsiteprefix=/usr/local -Dsitelib=/usr/local/share/perl5 -Dsitearch=/usr/local/lib64/perl5 -Dprivlib=/usr/share/perl5 -Dvendorlib=/usr/share/perl5/vendor_perl -Darchlib=/usr/lib64/perl5 -Dvendorarch=/usr/lib64/perl5/vendor_perl -Darchname=x86_64-linux-thread-multi -Dlibpth=/usr/local/lib64 /lib64 /usr/lib64 -Duseshrplib -Dusethreads -Duseithreads -Dusedtrace=/usr/bin/dtrace -Duselargefiles -Dd_semctl_semun -Di_db -Ui_ndbm -Di_gdbm -Di_shadow -Di_syslog -Dman3ext=3pm -Duseperlio -Dinstallusrbinperl=n -Ubincompat5005 -Uversiononly -Dpager=/usr/bin/less -isr -Dd_gethostent_r_proto -Ud_endhostent_r_proto -Ud_sethostent_r_proto -Ud_endprotoent_r_proto -Ud_setprotoent_r_proto -Ud_endservent_r_proto -Ud_setservent_r_proto -Dscriptdir=/usr/bin -Dusesitecustomize'
hint=recommended, useposix=true, d_sigaction=define
useithreads=define, usemultiplicity=define
useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
use64bitint=define, use64bitall=define, uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='gcc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
optimize='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic',
cppflags='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include'
ccversion='', gccversion='4.8.3 20140911 (Red Hat 4.8.3-7)', gccosandvers=''
intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='gcc', ldflags =' -fstack-protector'
libpth=/usr/local/lib64 /lib64 /usr/lib64
libs=-lresolv -lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lpthread -lc -lgdbm_compat
perllibs=-lresolv -lnsl -ldl -lm -lcrypt -lutil -lpthread -lc
libc=, so=so, useshrplib=true, libperl=libperl.so
gnulibc_version='2.18'
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,--enable-new-dtags'
cccdlflags='-fPIC', lddlflags='-shared -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wl,-z,relro '
Characteristics of this binary (from libperl):
Compile-time options: HAS_TIMES MULTIPLICITY PERLIO_LAYERS
PERL_DONT_CREATE_GVSV
PERL_HASH_FUNC_ONE_AT_A_TIME_HARD
PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP
PERL_PRESERVE_IVUV PERL_SAWAMPERSAND USE_64_BIT_ALL
USE_64_BIT_INT USE_ITHREADS USE_LARGE_FILES
USE_LOCALE USE_LOCALE_COLLATE USE_LOCALE_CTYPE
USE_LOCALE_NUMERIC USE_PERLIO USE_PERL_ATOF
USE_REENTRANT_API USE_SITECUSTOMIZE
Locally applied patches:
Fedora Patch1: Removes date check, Fedora/RHEL specific
Fedora Patch3: support for libdir64
Fedora Patch4: use libresolv instead of libbind
Fedora Patch5: USE_MM_LD_RUN_PATH
Fedora Patch6: Skip hostname tests, due to builders not being network capable
Fedora Patch7: Dont run one io test due to random builder failures
Fedora Patch9: Fix find2perl to translate ? glob properly (RT#113054)
Fedora Patch10: Update h2ph(1) documentation (RT#117647)
Fedora Patch11: Update pod2html(1) documentation (RT#117623)
Fedora Patch12: Disable ornaments on perl5db AutoTrace tests (RT#118817)
Fedora Patch14: Do not use system Term::ReadLine::Gnu in tests (RT#118821)
Fedora Patch15: Define SONAME for libperl.so
Fedora Patch16: Install libperl.so to -Dshrpdir value
Fedora Patch18: Fix crash with \&$glob_copy (RT#119051)
Fedora Patch19: Fix coreamp.t rand test (RT#118237)
Fedora Patch20: Reap child in case where exception has been thrown (RT#114722)
Fedora Patch21: Fix using regular expressions containing multiple code blocks (RT#117917)
Fedora Patch200: Link XS modules to libperl.so with EU::CBuilder on Linux
Fedora Patch201: Link XS modules to libperl.so with EU::MM on Linux
Built under linux
Compiled at Oct 3 2014 12:05:47
%ENV:
PERL_MB_OPT="--install_base "/root/perl5""
PERL_MM_OPT="INSTALL_BASE=/root/perl5"
@INC:
/usr/local/lib64/perl5
/usr/local/share/perl5
/usr/lib64/perl5/vendor_perl
/usr/share/perl5/vendor_perl
/usr/lib64/perl5
/usr/share/perl5
.
[root@localhost lab6]#
Please guide why the beep program is not generating any beep?
The beep program is:
Code:
[root@localhost Audio-Beep-0.11]# pwd
/home/lab6/Audio-Beep-0.11
[root@localhost Audio-Beep-0.11]# cd ..
[root@localhost lab6]# perl beep.pl
[root@localhost lab6]# cat beep.pl
#!/usr/bin/perl
use Audio::Beep;
my $beeper=Audio::Beep->new();
# lilypond subset syntax accepted
# relative notation is the default
# (now correctly implemented)
$music = "g' f bes' c8 f d4 c8 f d4 bes c g f2";
# Pictures at an Exhibition by Modest Mussorgsky
$beeper->play( $music );
[root@localhost lab6]#
Hi,
I dont much about @INC. I am doing according to google search & what you people are saying. Based upon this i tried to update @INC but its not storing the path in it.
Please guide why the beep program is not generating any beep?
Because you STILL are not understanding what you're doing, and don't seem to be able to learn. And again, you appear to be lying about things...putting "how to update @inc in perl" brings up LOTS...NONE of which are what you are doing. The VERY FIRST HIT is: http://perlmaven.com/how-to-change-i...dard-locations
...which lists SEVERAL ways, including how to call modules from specific directories. VERY basic Perl programming, which (as a 'teacher'), you should know. You again show no effort of your own, and ask for handouts. Please stop doing this, and please do as you said you would before, and 'boycott' this forum.
Hi,
I have already tried this but its not generating any beep.
Code:
[root@localhost lab6]# cat beep2.pl
#!/usr/bin/perl
use lib '/home/lab6/Audio-Beep-0.11';
use Audio::Beep;
my $beeper=Audio::Beep->new();
# lilypond subset syntax accepted
# relative notation is the default
# (now correctly implemented)
$music = "g' f bes' c8 f d4 c8 f d4 bes c g f2";
# Pictures at an Exhibition by Modest Mussorgsky
$beeper->play( $music );
[root@localhost lab6]#
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.