Reply To: How to build?

#5408
rpedde
Participant

@peller wrote:

Sorry if this is obvious, but can anyone help me figure out how to do a build on Linux? I looked at the readme which starts at ./configure. I tried doing an autoconf, but I must be missing some dependencies and/or switches?

autoconf says:

configure.in:6: error: possibly undefined macro: AM_CONFIG_HEADER
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
configure.in:7: error: possibly undefined macro: AM_INIT_AUTOMAKE
configure.in:13: error: possibly undefined macro: AC_PROG_LIBTOOL
configure.in:21: error: possibly undefined macro: AM_CONDITIONAL

then ./configure says:

configure: error: cannot find sources (config.h.in) in . or ..

(Sorry, I’m pretty ignorant when it comes to autoconf)

I’d like to try fixing #78 and #79, which don’t look too hard.

-Adam

Copy reconf.sh.templ to reconf.sh, and run that. You’ll need libtool installed, as well as automake. That should go, so long as you have reasonably recent auto tools.

If you want the fix for #78 and #79 merged, make it an environment variable, and replace popen with exec. Something like http://www.iu.hio.no/~mark/unix/unix.html#SEC178 might be helpful. Also, kill the process if it doesn’t die by itself when stdin closes. That’s what #78 and #79 are waiting on, so you can speed the process by doing it that way to being with.

— Ron