Althttpd

document updated build instructions
Login

document updated build instructions

(1) By Alan Bram (flyboy) on 2024-08-15 23:27:39 [link] [source]

The main landing page says that you can simply download the one source file and compile it. But that seems to be no longer true, since the VERSION.h file was introduced. It would be considerate to revise the build instructions.

(2) By drh on 2024-08-15 23:36:08 in reply to 1 [link] [source]

Thanks for the trouble report.

The "manifest" flag had not been set on the server. Please redo the download of the tarball and try again. Report back success or failure, because I'm not sure this will fix the problem, though it does seem likely.

(3) By Alan Bram (flyboy) on 2024-08-21 20:56:41 in reply to 2 [source]

Gosh, I'm sorry, but I'm confused by your reply. Let me try to be more thorough in explaining what I'm doing; maybe that will be helpful, maybe I've been doing it wrong.

Originally (like, a year ago) I only downloaded the one C source file. And I did it simply by clicking on the hyperlink in that main doc page (I guess I must have then clicked on the "Download" button there). Then I typed the gcc command just like it says on the doc. Last year that worked.

When I tried the same thing recently of course it doesn't work, because I don't have the VERSION.h file.

I eventually figured out what had changed. So I did a fossil clone operation and ran make to do the build. And that worked.

So I was just suggesting that the doc page should be changed: get rid of the explicit gcc command examples, and the verbiage about being "contained within a single C-code file," and mention that one should run make. I guess you could also explicitly say that one needs a full tarball, not just the one file, but that might be obvious.

(4) By Stephan Beal (stephan) on 2024-08-22 10:38:39 in reply to 3 [link] [source]

So I was just suggesting that the doc page should be changed...

They have been updated to reflect current reality. Thank you for the report.