Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting the jbrowse/bin scripts to work #18

Open
mpoelchau opened this issue Sep 11, 2019 · 2 comments
Open

Getting the jbrowse/bin scripts to work #18

mpoelchau opened this issue Sep 11, 2019 · 2 comments

Comments

@mpoelchau
Copy link
Contributor

mpoelchau commented Sep 11, 2019

To get the scripts in jbrowse/bin to work, we had to do the following:

  bin/cpanm -l extlib --installdeps .
  sudo yum install perl-CPAN.x86_64
  sudo cpan local::lib
  sudo cpan JSON

Then, add /home/vagrant/jbrowse/bin to PATH

This was kind of a convoluted troubleshooting process, so the following may also be necessary:

sudo yum groupinstall "Development Tools" 
sudo yum install zlib-devel perl-ExtUtils-MakeMaker

and then (can break if node is not up to date)

cd ~/jbrowse
./setup.sh

In the future, we'd need to run through the whole process again to see what's absolutely necessary to install, then update the vagrantfile accordingly.

Related issues:

@mpoelchau
Copy link
Contributor Author

This time around setup.sh didn't work. We installed the missing perl modules manually. Had to go in as root and use cpan. Installed the following modules:

Hash::Merge
CGI
Heap::Simple
Heap::Simple:XS

@mpoelchau
Copy link
Contributor Author

Update - this setup worked after setting up vagrant via kenttools branch. I think having node installed is a prerequisite. I included some notes below about changes that need to be made in order to make this work via vagrant. FYI using jbrowse's setup.sh failed, hence some of the extra installation steps here.

cd ~/jbrowse
bin/cpanm -l extlib --installdeps .
sudo yum install perl-CPAN.x86_64 #note that this is interactive/have to press y
sudo cpan local::lib #note that this is interactive
sudo cpan JSON
sudo yum groupinstall "Development Tools" #also interactive
sudo cpan Hash::Merge #interactive
cpanm CGI --sudo
cpanm  Heap::Simple --sudo
sudo cpan Heap::Simple:XS #interactive

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant