Linux, FreeBSD, Juniper, Cisco / Network security articles and troubleshooting guides

FAQ
It is currently Sun Aug 20, 2017 4:50 am


FreeBSD tutorials and how-tos

Author Message
mandrei99
Post  Post subject: FreeBSD - Can't locate Mail/Header.pm in @INC (@INC contains:  |  Posted: Thu Jul 29, 2010 3:00 am

Joined: Tue Aug 04, 2009 9:16 am
Posts: 245

Offline
 

FreeBSD - Can't locate Mail/Header.pm in @INC (@INC contains:

While running the cyrus2courier perl script, I ran into the following error:
Quote:
# /usr/bin/perl /tmp/maildir2cyrus-uid-internaldate
Can't locate Mail/Header.pm in @INC (@INC contains: /usr/local/lib/perl5/5.8.8/BSDPAN /usr/local/lib/perl5/site_perl/5.8.8/mach /usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.8.8/mach /usr/local/lib/perl5/5.8.8 .) at /tmp/maildir2cyrus-uid-internaldate line 60.
BEGIN failed--compilation aborted at /tmp/maildir2cyrus-uid-internaldate line 60.



For this, the perl MailTools module is needed.

To install Mail-Tools perl module on FreeBSD:
Code:
# make install -C /usr/ports/mail/p5-Mail-Tools
===>  License check disabled, port has not defined LICENSE
=> MailTools-2.06.tar.gz doesn't seem to exist in /usr/ports/distfiles/.
=> Attempting to fetch from ftp://ftp.funet.fi/pub/languages/perl/CPAN/modules/by-module/Mail/.
MailTools-2.06.tar.gz                         100% of   52 kB   68 kBps
===>  Extracting for p5-Mail-Tools-2.06
=> MD5 Checksum OK for MailTools-2.06.tar.gz.
=> SHA256 Checksum OK for MailTools-2.06.tar.gz.
===>   p5-Mail-Tools-2.06 depends on file: /usr/local/bin/perl5.8.8 - found
===>  Patching for p5-Mail-Tools-2.06
===>   p5-Mail-Tools-2.06 depends on file: /usr/local/bin/perl5.8.8 - found
===>   p5-Mail-Tools-2.06 depends on file: /usr/local/bin/perl5.8.8 - found
===>  Configuring for p5-Mail-Tools-2.06
WARNING: LICENSE is not a known parameter.
Checking if your kit is complete...
Looks good
Warning: prerequisite Test::Pod 1 not found.
'LICENSE' is not a known MakeMaker parameter name.
Writing Makefile for Mail
===>  Building for p5-Mail-Tools-2.06
cp lib/Mail/Address.pm blib/lib/Mail/Address.pm


The rest is obvious...





Top
Display posts from previous:  Sort by  
E-mail friendPrint view

Topics related to - "FreeBSD - Can't locate Mail/Header.pm in @INC (@INC contains:"
 Topics   Author   Replies   Views   Last post 
There are no new unread posts for this topic. FreeBSD - Collecting hardware information

LaR3

0

5502

Wed Aug 05, 2009 2:40 pm

LaR3 View the latest post

There are no new unread posts for this topic. FreeBSD portupgrade packages with manual dependencies

LaR3

0

501

Wed Aug 05, 2009 11:07 am

LaR3 View the latest post

There are no new unread posts for this topic. FreeBSD portupgrade without port vulnerability check

mandrei99

0

667

Thu Mar 18, 2010 6:12 am

mandrei99 View the latest post

There are no new unread posts for this topic. FreeBSD: Apache 2.2.15 (custom location) + mod_fcgid

debuser

0

432

Thu Jul 22, 2010 1:07 pm

debuser View the latest post

There are no new unread posts for this topic. FreeBSD ifconfig display capability and supported media types for an interface

debuser

0

1625

Thu Jul 08, 2010 6:26 am

debuser View the latest post

There are no new unread posts for this topic. FreeBSD: monitor network interface traffic throughput - exploring systat

admin

0

2914

Mon Feb 02, 2015 7:17 pm

admin View the latest post

There are no new unread posts for this topic. FreeBSD: php 5.3.2 configure error: xml2-config not found. Please check your libxml2 installation.

debuser

0

698

Thu Jul 22, 2010 1:41 pm

debuser View the latest post

 

Who is online
Users browsing this forum: No registered users and 0 guests
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum
Jump to:  
News News Site map Site map SitemapIndex SitemapIndex RSS Feed RSS Feed Channel list Channel list


Delete all board cookies | The team | All times are UTC - 5 hours [ DST ]



phpBB SEO