varnish / hitch

A scalable TLS proxy by Varnish Software.
https://www.varnish-software.com/
Other
1.87k stars 157 forks source link

Ntgr #342

Closed emontellese closed 3 years ago

emontellese commented 4 years ago

A couple of tweaks required to allow cross-compiling for OpenWrt with the following settings:

CONFIGURE_ARGS+= \ --enable-silent-rules \ --with-lex \ --with-yacc \

CONFIGURE_VARS += \ ac_cv_so_reuseport_works=yes \ ac_cv_so_tfo=yes

dridi commented 4 years ago

There are two separate problems here.

One is that we obviously can't run cross-compiled programs but if possible I'd like to keep that for regular builds.

The documentation issue is probably the result of trying to build without documentation rules from a git clone. This shouldn't be a problem from a release archive where we ship pre-built manuals and don't bother rebuilding them.

I will try to address the cross-compiling issue separately for starters.

emontellese commented 3 years ago

@Dridi, thanks for the update and for taking a look at the issues reported. For the cross-compile problem: Perhaps the addition of a cross-compile option?

For the documentation change, understood that it doesn't occur in your use case. However, for a user who is trying to build hitch from git (but without documentation) this error occurs. Seems like a typical use case?

Thanks again, and happy new year 👍