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

Create a working .travis.yml #2

Open
mmterpstra opened this issue Mar 29, 2017 · 4 comments
Open

Create a working .travis.yml #2

mmterpstra opened this issue Mar 29, 2017 · 4 comments

Comments

@mmterpstra
Copy link

mmterpstra commented Mar 29, 2017

Please consider updating this .travis.yml by forking this branch and then squash commits and merge into sandbox.

This will also help with my issue below:
Our cluster the install is quite a pain because new automake/autconf features.
I could spend a day or two trying to fix the possible issues or create a good starting point to fix this using travis. Me of course did the latter and this is what I got.
problems:

  • no documentation needing gnuplot/R/etc...
  • htslib complains about config.status: error: cannot find input file: 'htslib/Makefile.in' and htslib complains about missing HMAC library -> a (rm -r htslib && git clone https://github.com/samtools/htslib.git && cd htslib && autoheader && autoconf && ./configure && make && make install) fixes both though...
  • then it crashes with a lot of undefined references which might be due to our build system....
@ghuls
Copy link

ghuls commented Apr 20, 2017

I also had problems compiling apigenome.

The instructions above helped a lot.

I only had a small problem. HTSlib is now version 1.4 and requires also libbzip2 and liblzma (and libcurl), so I guess the following line should be changed in src/Makefile.am:

bcfast_LDADD = ../htslib/libhts.a -lpthread

cramore_LDADD = ../htslib/libhts.a -lpthread -lgomp
bcfast_LDADD = ../htslib/libhts.a -lpthread -lbz2 -llzma -lcurl

cramore_LDADD = ../htslib/libhts.a -lpthread -lgomp -lbz2 -llzma -lcurl

@mmterpstra
Copy link
Author

mmterpstra commented Apr 21, 2017

Ok added at mmterpstra-patch-travis although it still won't build on travis:
https://travis-ci.org/mmterpstra/apigenome/builds

@ghuls
Copy link

ghuls commented Apr 21, 2017

I think libzip-dev is not needed.

Like mentioned in #1 I still had to copy htslib/Makefile to htslib/Makefile.im.

I also ran:

autoheader
autoreconf
./configure

# For some reason ./configure generates a libtool in the current dir from Debian which is incompatible with the autoconf version I have installed.
cp /usr/bin/libtool libtool

make

mmterpstra added a commit to mmterpstra/apigenome that referenced this issue Apr 21, 2017
@mmterpstra
Copy link
Author

mmterpstra commented Apr 21, 2017

after some fumbeling around now the .travis.yml works. Good luck porting to yer system. Also see #3 for the code

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

2 participants