On 10/5/13 9:57 AM, Allen Chan wrote: > I can find it as well. > > [root ]# find / -name "Header.pm" > /root/.cpan/build/MailTools-2.12-0dbrMu/blib/lib/Mail/Header.pm > /root/.cpan/build/MailTools-2.12-0dbrMu/lib/Mail/Header.pm > /usr/local/lib/perl5/5.16.2/x86_64-linux-thread-multi/Encode/MIME/Header.pm > /usr/local/lib/perl5/site_perl/5.16.2/Mail/Header.pm > /usr/lib64/perl5/Header.pm > /usr/lib64/perl5/Encode/MIME/Header.pm > > @INC has those folders so I do not understand why it does not see the file. > > Can't locate Mail/Header.pm in @INC (@INC contains: libexec ./libexec > ./installer-items /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 ./install.pl<http://install.pl/> line 640.
But your INC path does not contain /usr/local/lib/perl5/site_perl/5.16.2/ where your Mail/Header.pm is located. 32/64 bit paths? - Peter > > > From: Adrian Popa <adrian.popa...@gmail.com<mailto:adrian.popa...@gmail.com>> > Date: Friday, May 10, 2013 12:44 AM > To: Allen Chan <allen.c...@five9.com<mailto:allen.c...@five9.com>> > Cc: > "nfsen-discuss@lists.sourceforge.net<mailto:nfsen-discuss@lists.sourceforge.net>" > > <nfsen-discuss@lists.sourceforge.net<mailto:nfsen-discuss@lists.sourceforge.net>> > Subject: Re: [Nfsen-discuss] Issues installing Nfsen > > Hmm, I ran a find on my system and I can find the pm file: > > [root@hail_virtual ~]# find / -name "Header.pm" > /usr/lib64/perl5/Encode/MIME/Header.pm > /usr/share/perl5/Mail/Header.pm > > It seems to be part of MARKOV/MailTools-2.12.tar.gz > > > On Fri, May 10, 2013 at 8:54 AM, Allen Chan > <allen.c...@five9.com<mailto:allen.c...@five9.com>> wrote: > Thanks Adrian for responding. > > The list of modules in perl doesn't show the package but when trying to > install it through cpan it says the module is up to date. > > [root ~]# instmodsh > Available commands are: > l - List all installed modules > m <module> - Select a module > q - Quit the program > cmd? l > Installed modules are: > CPAN > Class::Accessor > Class::Data::Inheritable > Class::Factory::Util > Class::Load > Class::Singleton > Convert::Number::Coptic > DBD::Pg > DBD::mysql > DBI > Data::OptList > Date::Hijri > Date::Manip > DateTime > DateTime::Calendar::Christian > DateTime::Calendar::Coptic > DateTime::Calendar::Discordian > DateTime::Calendar::FrenchRevolutionary > DateTime::Calendar::Hebrew > DateTime::Calendar::Hijri > DateTime::Calendar::Julian > DateTime::Calendar::Mayan > DateTime::Calendar::Pataphysical > DateTime::Event::Cron > DateTime::Event::Easter > DateTime::Event::ICal > DateTime::Event::Lunar > DateTime::Event::Random > DateTime::Event::Recurrence > DateTime::Event::Sunrise > DateTime::Fiction::JRRTolkien::Shire > DateTime::Fiscal::Year > DateTime::Format::Baby > DateTime::Format::Bork > DateTime::Format::Builder > DateTime::Format::DB2 > DateTime::Format::DBI > DateTime::Format::DateManip > DateTime::Format::DateParse > DateTime::Format::Duration > DateTime::Format::Epoch > DateTime::Format::Excel > DateTime::Format::HTTP > DateTime::Format::Human > DateTime::Format::ICal > DateTime::Format::ISO8601 > DateTime::Format::Mail > DateTime::Format::MySQL > DateTime::Format::Pg > DateTime::Format::RSS > DateTime::Format::Roman > DateTime::Format::Strptime > DateTime::Format::W3CDTF > DateTime::Format::WindowsFileTime > DateTime::Functions > DateTime::HiRes > DateTime::Incomplete > DateTime::Locale > DateTime::Set > DateTime::TimeZone > DateTime::TimeZone::Alias > DateTime::Util::Astro > DateTime::Util::Calc > DateTime::Util::DayOfWeek > Dist::CheckConflicts > HTTP::Date > List::MoreUtils > Mail > Math::Round > Module::Build > Module::Implementation > Module::Runtime > Package::DeprecationManager > Package::Stash > Package::Stash::XS > Params::Util > Params::Validate > Perl > Pod > Roman > Set::Crontab > Set::Infinite > Socket6 > Sub::Exporter > Sub::Install > Task::Weaken > Test::Fatal > Test::Inter > Test::NoWarnings > Test::Output > Test::Requires > Test::Tester > Time::Local > TimeDate > Try::Tiny > cmd? Quit > > [root ~]# perl -MCPAN -e 'install Mail::Header' > Reading '/root/.cpan/Metadata' > Database was generated on Thu, 09 May 2013 06:29:02 GMT > Mail::Header is up to date (2.12). > > From: Adrian Popa <adrian.popa...@gmail.com<mailto:adrian.popa...@gmail.com>> > Date: Thursday, May 9, 2013 10:39 PM > To: Allen Chan <allen.c...@five9.com<mailto:allen.c...@five9.com>> > Cc: > "nfsen-discuss@lists.sourceforge.net<mailto:nfsen-discuss@lists.sourceforge.net>" > > <nfsen-discuss@lists.sourceforge.net<mailto:nfsen-discuss@lists.sourceforge.net>> > Subject: Re: [Nfsen-discuss] Issues installing Nfsen > > Your find command indicates you have MIME::Header installed, but you need > Mail::Header (completely different). > Depending on your distribution you can probably install it from the regular > package manager (but you'll have to search for the package name (something > like perl-Mail-Header)), or you can install it through CPAN: > > perl -MCPAN -e 'install Mail::Header' > > > On Fri, May 10, 2013 at 3:32 AM, Allen Chan > <allen.c...@five9.com<mailto:allen.c...@five9.com>> wrote: > Hi everyone, > > I got nfcapd working and writing the flow data to file. nfdump is also > showing data. > I am trying to install nfsen for the UI part of it. > > I am getting this error: > > [root@xx nfsen-1.3.6p1]# ./install.pl<http://install.pl/> ./etc/nfsen.conf > Check for required Perl modules: Failed > Required nfsen modules not found > Can't locate Mail/Header.pm in @INC (@INC contains: libexec ./libexec > ./installer-items /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 ./install.pl<http://install.pl/> line 640. > > [root@xx nfsen-1.3.6p1]# find / -name 'Header' > /usr/local/lib/perl5/5.16.2/x86_64-linux-thread-multi/Encode/MIME/Header > /usr/lib64/perl5/Encode/MIME/Header > > Pretty sure i have all the requirements so this is a little puzzling. > Googling the error has mostly just gotten advice to install the cpan > packages... > > Thanks > Allen Chan > > ________________________________ > > CONFIDENTIALITY NOTICE: This e-mail and any files attached may contain > confidential information of Five9 and/or its affiliated entities. Access by > the intended recipient only is authorized. Any liability arising from any > party acting, or refraining from acting, on any information contained in this > e-mail is hereby excluded. If you are not the intended recipient, please > notify the sender immediately, destroy the original transmission and its > attachments and do not disclose the contents to any other person, use it for > any purpose, or store or copy the information in any medium. Copyright in > this e-mail and any attachments belongs to Five9 and/or its affiliated > entities. > > ------------------------------------------------------------------------------ > Learn Graph Databases - Download FREE O'Reilly Book > "Graph Databases" is the definitive new guide to graph databases and > their applications. This 200-page book is written by three acclaimed > leaders in the field. The early access version is available now. > Download your free book today! http://p.sf.net/sfu/neotech_d2d_may > _______________________________________________ > Nfsen-discuss mailing list > Nfsen-discuss@lists.sourceforge.net<mailto:Nfsen-discuss@lists.sourceforge.net> > https://lists.sourceforge.net/lists/listinfo/nfsen-discuss > > > > ________________________________ > > CONFIDENTIALITY NOTICE: This e-mail and any files attached may contain > confidential information of Five9 and/or its affiliated entities. Access by > the intended recipient only is authorized. Any liability arising from any > party acting, or refraining from acting, on any information contained in this > e-mail is hereby excluded. If you are not the intended recipient, please > notify the sender immediately, destroy the original transmission and its > attachments and do not disclose the contents to any other person, use it for > any purpose, or store or copy the information in any medium. Copyright in > this e-mail and any attachments belongs to Five9 and/or its affiliated > entities. > > > ________________________________ > > CONFIDENTIALITY NOTICE: This e-mail and any files attached may contain > confidential information of Five9 and/or its affiliated entities. Access by > the intended recipient only is authorized. Any liability arising from any > party acting, or refraining from acting, on any information contained in this > e-mail is hereby excluded. If you are not the intended recipient, please > notify the sender immediately, destroy the original transmission and its > attachments and do not disclose the contents to any other person, use it for > any purpose, or store or copy the information in any medium. Copyright in > this e-mail and any attachments belongs to Five9 and/or its affiliated > entities. > > > > ------------------------------------------------------------------------------ > Learn Graph Databases - Download FREE O'Reilly Book > "Graph Databases" is the definitive new guide to graph databases and > their applications. This 200-page book is written by three acclaimed > leaders in the field. The early access version is available now. > Download your free book today! http://p.sf.net/sfu/neotech_d2d_may > > > > _______________________________________________ > Nfsen-discuss mailing list > Nfsen-discuss@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nfsen-discuss > -- Be nice to your netflow data. Use NfSen and nfdump :) ------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. This 200-page book is written by three acclaimed leaders in the field. The early access version is available now. Download your free book today! http://p.sf.net/sfu/neotech_d2d_may _______________________________________________ Nfsen-discuss mailing list Nfsen-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nfsen-discuss