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

Build without sudo apt install #70

Closed
ShawnCone opened this issue Jul 9, 2018 · 2 comments
Closed

Build without sudo apt install #70

ShawnCone opened this issue Jul 9, 2018 · 2 comments

Comments

@ShawnCone
Copy link

ShawnCone commented Jul 9, 2018

Apologies in advance if this is not the right place to ask this question.

During the build process, it is stated that on linux:
sudo apt install liblzma-dev libbz2-dev
should be done for htslib dependency purposes.

However, in our local system, only the admin has the ability to use this command. Is there any alternative to this?

What has been done:

  • Manually downloading both liblzma-dev and libbz2-dev using wget
  • Installing both liblzma-dev and libbz2-dev
  • Add both paths to $LD_LIBRARY_PATH variable

After these, running make all within cloned mccortex folder still results in error. Attached is the stderr/stdout of the make all command.

McCortex Stdout and Stderr.txt

Thank you very much

@winni2k
Copy link

winni2k commented Aug 7, 2018

You can try compiling mccortex in a conda environment. Try installing miniconda from here. Then activate the environment and install libz with conda install zlib.

@noporpoise
Copy link
Member

Sorry I'm not sure how best to install the dependencies without admin. If @winni2k's suggestion doesn't work for you, could you ask your administrator to install the dependencies?

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

3 participants