nanoporetech / pomoxis

Analysis components from Oxford Nanopore Research
Other
94 stars 23 forks source link

missing dependencies #12

Closed jamestwebber closed 6 years ago

jamestwebber commented 6 years ago

Hey, I'm running make install on a fresh Ubuntu16 AMI and I've been wrestling with getting various dependencies installed. I don't know if these things can be automated but it would be good to at least put them in the install instructions.

Or maybe I'm not building this correctly, in which case please let me know!

jamestwebber commented 6 years ago

And more:

Fixed the hdf5.h issue with judicious application of CFLAGS:

~/pomoxis$ CFLAGS="-I/usr/include/hdf5/serial" CPPFLAGS="-I/usr/include/hdf5/serial"  make install

And then needed to apt-get libblas-* (or potentially some subset of that) to get cblas.h.

cjw85 commented 6 years ago

Hi @jamestwebber

Thanks for this reminder! We do aim to list these dependencies (at least for Ubuntu) in the README but in this case it must have slipped. We too have noticed that the include path for hdf on Ubuntu16 needs to be appended.

We'll try to get around to adding a "Ubuntu Dependencies" section to the README, or feel free to send a pull request.

For reference, a list of prerequisite Ubuntu (14.04, though 16.04 will be broadly similar) packages can currently be found in the https://github.com/nanoporetech/pomoxis/blob/master/.travis.yml file:

      - gcc-4.9
      - g++-4.9
      - zlib1g-dev
      - libncurses5-dev
      - python3-all-dev
      - libhdf5-dev
      - libatlas-base-dev
      - libopenblas-base
      - libopenblas-dev
      - libbz2-dev
      - liblzma-dev
      - libffi-dev