Hi all,
For some reason when I use pp to package my software, my @INC array is not
correct. The error I get when I try to run the resulting executable is:

Can't locate Tie/Hash/NamedCapture.pm in @INC (@INC contains:
CODE(0x10ca178)
/tmp/par-evanh/cache-428ef70e263a7a318cfa573d1687cc411cf8ba65/inc/lib
/tmp/par-evanh/cache-428ef70e263a7a318cfa573d1687cc411cf8ba65/inc
CODE(0xeff9c0) CODE(0xef63e8)) at English.pm line 148.
BEGIN failed--compilation aborted at English.pm line 148.
Compilation failed in require at script/bagphenotype.pl line 4.
BEGIN failed--compilation aborted at script/bagphenotype.pl line 4.

but the first line in my main source file tells exactly where the modules I
am trying to use are:

#!/usr/bin/perl -w -I/home/valdar/perl/include/
# TODO: replace window.radius with peak.separation everywhere!!!
use strict;
use English;
use Assert;
use StdDefs;
use CConfigFile;
use CDataFrame;
use Debug;
use Data::Dumper;
use File::Copy;
use File::Path;
use FileIoHelper qw(OpenFilesForReading OpenFilesForWriting FileNotEmpty
FileEmptyOrAbsent FileExists GetFileBasename GetFileSuffix);
use Getopt::Long;


Why can't packager find these modules? Why is it looking in the tmp
directory shown in the error message? Also, when I run scandeps on this same
program, it tells me there is no dependency, which is definitely not
correct. Can anyone help?

Regards,

Evan

Reply via email to