4 ms·
Autotools does do all of those things. I'm not a particular fan of it either, but when I'm packaging software for a Linux distro then I'd rather see autotools
by rwmj 10y ago
Autotools does do all of those things. I'm not a particular fan of it either, but when I'm packaging software for a Linux distro then I'd rather see autotools or cmake being used instead of some crappy custom build system that will require patching to make it work.
There is room for someone to come up with a good build system. It had better do everything autotools and cmake do, and be well documented and widely used, so there's a rather large barrier to entry.
- _RPM 10y agoAuto tools is great. To compile all you do is ./configure make make install It couldn't be simpler. Even though I am part of the GitHub generation, I don't see why so many of my peers hate it. I actually like it.
- wyldfire 10y agoThis is kinda hilarious because, yes, "Autotools is great" [as a consumer]. But autotools and m4 is kinda awful to write IMO.
- arglwarg 10y ago... and autotools is actively hate-inducing if you have to debug it.
- pja 10y agoautotools is pretty great for the end-user who wants to compile your code or the distributor who wants to package it up for Debian or whatever. It’s a crawling horror for the programmer that wants to use autotools as the build solution for their code however, which is the topic under discussion.
- flohofwoe 10y agoThis only works in the Unix world, on Mac only for command line tools (but only after installing autoconf and make), and not at all on Windows unless you install a complete Unix environment (cygwin or mingw).
- slrz 10y agoWhy would it only work with command line programs on the Mac? That's definitely not true, unless something changed very recently. Also, you don't need autotools itself to build a autotoolized program. The generated configure script is portable sh.
- _RPM 10y agoNot really. the end user doesn't need autotools installed actually. To build the configure script from the "configure.in" file, you need autotools. Go ahead and try!
- GFK_of_xmaspast 10y agoThat's the ideal situation, yes, but god help you when something goes wrong.
- _RPM 10y agoIt's not that hard. I recently had to debug a memcached configure.in script. But, I consider myself a C programmer, so that fact might be source of bias.
- _ph_ 10y agoWhenever "configure" is looking for a fortran compiler in a clearly non-fortran program, one has to wonder why no one fixes the configure scripts. From all I learned it is, because the underlying scripts are close to unmaintainable. So from that perspective, a better build tooling should be a high priority.