pixel / hexedit

View and edit files in hexadecimal or in ASCII
http://rigaux.org/hexedit.html
GNU General Public License v2.0
98 stars 41 forks source link

config.h missing / build impossible #7

Closed bradenbest closed 4 years ago

bradenbest commented 8 years ago

Building with systems like Autotools is either impossible or exceedingly frustrating for me. I prefer to use a makefile directly or compile manually.

When I try to compile, it tells me that config.h is missing. I take it that it's generated by the build system. I tried using the build system (autoconf configure.in) and it failed because config.h.in is missing.

What gives? Is there a template for this file? At this point, I just want to copy a template, adjust it manually, and compile the whole thing myself. Autotools is just getting in the way. If I can't compile something manually, then there is a serious problem with the design of the project. You shouldn't rely on a build system. That's supposed to be there to help automate things; not to be your crutch. And Autotools, in particular, is impossible to work with, and for something that is supposed to make projects portable, it sure as hell doesn't want to build on Linux, the most ubiquitous *NIX system in the world.

Take a page from Suckless and include a pre-written config.def.h by default.

prigaux commented 8 years ago

To build:

autoheader && autoconf && ./configure && make

By the way, most linuxes have a pre-built hexedit package (debian, ubuntu, fedora...)

eribertomota commented 7 years ago

Or...

autoreconf -fi && ./configure && make

prigaux commented 4 years ago

You can also use the now bundled autogen.sh