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

bam/version.hpp not found #14

Closed
kennethphough opened this issue Feb 7, 2015 · 3 comments
Closed

bam/version.hpp not found #14

kennethphough opened this issue Feb 7, 2015 · 3 comments

Comments

@kennethphough
Copy link

When I configure cufflinks on CentOS 7 with libbam installed in '/usr/local/' I get the following error:

checking for bamlib... configure: error: We could not detect the bam libraries (version or higher). If you have a staged bam library (still not installed) please specify $BAM_ROOT in your environment and do not give a PATH to --with-bam option. If you are sure you have bam installed, then check your version number looking in bam/version.hpp. See http://randspringer.de/bam for more documentation.

After tracking down the issue and making sure permissions where set correctly I realised that there is no "version.hpp". I downloaded Samtools 1.1 and it contains "version.h". Changing the configure file fixed the issue and cufflinks compiled correctly. Is this a bug or am I compiling Cufflinks incorrectly?

Thanks in advance,
Ken

@yoshimasaono
Copy link

Ken,
I experienced the same issue. samtools 1.X is htslib based. Try samtools 0.X.
http://sourceforge.net/projects/samtools/files/samtools/
Looks 0.1.20 is the latest but I used 0.1.19 and works fine.

best,

@loveshack
Copy link

For what it's worth, the srpm at http://arc.liv.ac.uk/downloads/misc/SRPMS/cufflinks-2.2.1-2.el6.src.rpm will build on centos7 with the samtools rpm from https://copr.fedoraproject.org/coprs/loveshack/livhpc/. I think it has a fiddle to get the packaged headers picked up in the build.

@kennethphough
Copy link
Author

Thanks for the help! (and sorry for the delay)

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