dcjones / quip

Compressing next-generation sequencing data with extreme prejudice.
http://www.cs.washington.edu/homes/dcjones/quip/
BSD 3-Clause "New" or "Revised" License
78 stars 10 forks source link

Problems compiling quip #1

Closed ghuls closed 12 years ago

ghuls commented 12 years ago

It looks to me that the instructions for compiling are wrong: ./configure && make install There is no ./configure file (yet).

You need to run some automake commands first: $ git clone https://github.com/dcjones/quip.git quip-git $ cd quit-git $ aclocal $ autoconf $ automake configure.ac:9: required file ./compile' not found configure.ac:9:automake --add-missing' can install compile' configure.ac:3: required file./install-sh' not found configure.ac:3: automake --add-missing' can installinstall-sh' configure.ac:3: required file ./missing' not found configure.ac:3:automake --add-missing' can install missing' configure.ac:79: required filesrc/config.h.in' not found src/Makefile.am:3: Libtool library used but LIBTOOL' is undefined src/Makefile.am:3: The usual way to defineLIBTOOL' is to add AC_PROG_LIBTOOL' src/Makefile.am:3: toconfigure.ac' and run aclocal' andautoconf' again. src/Makefile.am:3: If AC_PROG_LIBTOOL' is inconfigure.ac', make sure src/Makefile.am:3: its definition is in aclocal's search path. src/Makefile.am: required file ./depcomp' not found src/Makefile.am:automake --add-missing' can install depcomp' $ automake --add-missing configure.ac:9: installing./compile' configure.ac:3: installing ./install-sh' configure.ac:3: installing./missing' configure.ac:79: required file src/config.h.in' not found src/Makefile.am:3: Libtool library used butLIBTOOL' is undefined src/Makefile.am:3: The usual way to define LIBTOOL' is to addAC_PROG_LIBTOOL' src/Makefile.am:3: to configure.ac' and runaclocal' and autoconf' again. src/Makefile.am:3: IfAC_PROG_LIBTOOL' is in configure.ac', make sure src/Makefile.am:3: its definition is in aclocal's search path. src/Makefile.am: installing./depcomp' How can those remaining problems be fixed?

Can you update the instructions in the readme?

dcjones commented 12 years ago

Can you try the version I just pushed, and run autoreconf -i then ./configure and make? It should be fixed now.

I've updated the README with the missing step. Thank you for reporting this.

ghuls commented 12 years ago

It works now.

ghuls commented 12 years ago

I got this issue (also last time):

$ autoreconf -i
configure.ac:15: warning: macro `AM_PROG_AR' not found in library

Which is the best way to solve this warning?

Changing configure.ac to:

AC_PROG_RANLIB
#AM_PROG_AR
m4_pattern_allow([AM_PROG_AR], [AM_PROG_AR])

solves the warning message.

Do you know what I need to install to pass the original AM_PROG_AR check, without this hack?

dcjones commented 12 years ago

I think AM_PROG_AR was added pretty recently to automake. The latest versions will complain if it isn't used, and previous versions complain if it is. :)