T
Teo
Hi,
I just tried to write my first Makefile.PL as follows:
# Load the Module::Install bundled in ./inc/
use inc::Module::Install;
# Define metadata (we read it from the script)
name 'dprofpp_grapher';
abstract_from 'dprofpp_grapher';
author_from 'dprofpp_grapher';
version_from 'dprofpp_grapher';
license_from 'dprofpp_grapher';
# Specific dependencies
require 'Data:umper' => 0;
# other requirements stripped
install_script 'dprofpp_grapher';
auto_install;
WriteAll;
All the required modules are available: I can run
perl -e "use Data:umper;"
for all the required modules without any problem.
When I run
perl Makefile.PL
I get
include /Users/corti/svn/nethz/tools/dprofpp_grapher/inc/Module/
Install.pm
include inc/Module/Install/Metadata.pm
include inc/Module/Install/Base.pm
Can't locate Data:umper in @INC (@INC contains: inc /sw/lib/
perl5/5.8.6/darwin-thread-multi-2level
/sw/lib/perl5/5.8.6 /sw/lib/perl5 /sw/lib/perl5/darwin
/System/Library/Perl//5.8.6/darwin-thread-multi-2level /System/
Library/Perl//5.8.6
/System/Library/Perl/ /System/Library/Perl/5.8.6//darwin-thread-
multi-2level
/System/Library/Perl/5.8.6/ /System/Library/Perl/5.8.6/darwin-thread-
multi-2level/
/System/Library/Perl/5.8.6/darwin-thread-multi-2level /System/
Library/Perl/5.8.6
/Library/Perl/5.8.6/darwin-thread-multi-2level /Library/Perl/5.8.6 /
Library/Perl
/Network/Library/Perl/5.8.6/darwin-thread-multi-2level /Network/
Library/Perl/5.8.6 /Network/Library/Perl
/System/Library/Perl/Extras/5.8.6/darwin-thread-multi-2level /System/
Library/Perl/Extras/5.8.6
/Library/Perl/5.8.1/darwin-thread-multi-2level /Library/Perl/
5.8.1 .) at Makefile.PL line 16.
How can I make Modules::Install find the same modules as the perl
executable?
Many thanks for any hint.
Matteo
I just tried to write my first Makefile.PL as follows:
# Load the Module::Install bundled in ./inc/
use inc::Module::Install;
# Define metadata (we read it from the script)
name 'dprofpp_grapher';
abstract_from 'dprofpp_grapher';
author_from 'dprofpp_grapher';
version_from 'dprofpp_grapher';
license_from 'dprofpp_grapher';
# Specific dependencies
require 'Data:umper' => 0;
# other requirements stripped
install_script 'dprofpp_grapher';
auto_install;
WriteAll;
All the required modules are available: I can run
perl -e "use Data:umper;"
for all the required modules without any problem.
When I run
perl Makefile.PL
I get
include /Users/corti/svn/nethz/tools/dprofpp_grapher/inc/Module/
Install.pm
include inc/Module/Install/Metadata.pm
include inc/Module/Install/Base.pm
Can't locate Data:umper in @INC (@INC contains: inc /sw/lib/
perl5/5.8.6/darwin-thread-multi-2level
/sw/lib/perl5/5.8.6 /sw/lib/perl5 /sw/lib/perl5/darwin
/System/Library/Perl//5.8.6/darwin-thread-multi-2level /System/
Library/Perl//5.8.6
/System/Library/Perl/ /System/Library/Perl/5.8.6//darwin-thread-
multi-2level
/System/Library/Perl/5.8.6/ /System/Library/Perl/5.8.6/darwin-thread-
multi-2level/
/System/Library/Perl/5.8.6/darwin-thread-multi-2level /System/
Library/Perl/5.8.6
/Library/Perl/5.8.6/darwin-thread-multi-2level /Library/Perl/5.8.6 /
Library/Perl
/Network/Library/Perl/5.8.6/darwin-thread-multi-2level /Network/
Library/Perl/5.8.6 /Network/Library/Perl
/System/Library/Perl/Extras/5.8.6/darwin-thread-multi-2level /System/
Library/Perl/Extras/5.8.6
/Library/Perl/5.8.1/darwin-thread-multi-2level /Library/Perl/
5.8.1 .) at Makefile.PL line 16.
How can I make Modules::Install find the same modules as the perl
executable?
Many thanks for any hint.
Matteo