jonathancrabtree / Circleator

Flexible circular visualization of genome-associated data with BioPerl and SVG.
Other
46 stars 8 forks source link

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

Closed jonathancrabtree closed 10 years ago

jonathancrabtree commented 10 years ago

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

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.