Skip to content

Build.PL only works for non-system-wide installs #12

@jonathancrabtree

Description

@jonathancrabtree

Build.PL is currently broken for system-wide installs (i.e. those in which "sudo ./Build install" is used.) There are 2 main problems:

  • the "cfg_files" (e.g., predefined-tracks.cfg, brewer.txt) don't appear to be getting installed anywhere
  • the main circleator script is using FindBin to look in ../lib/perl5 for the modules

In a system-wide install the modules may go in a completely different location e.g., /usr/local/share/perl/5.14.2 on Ubuntu 13.04 so this needs to be taken into account in the 'use lib' statement in circleator and around line 814 where FindBin is also used to locate predefined-tracks.cfg. With regard to the config files it looks like the install_path needs to be set correctly in the call to Module::Build->new.

Metadata

Metadata

Labels

No labels
No labels

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions