[Privoxy-devel] new windows build system
Fabian Keil
fk at fabiankeil.de
Thu Apr 28 15:03:41 UTC 2016
Lee <ler762 at gmail.com> wrote:
> I've been working on getting Privoxy to build under the current
> cygwin, which requires a 'cross-compiler toolchain'. The autoconf
> stuff in privoxy is so old that it doesn't support --host & --build so
> how do you feel about replacing config.guess & config.sub with
> current/later versions? What I've been using is
>
> http://git.savannah.gnu.org/gitweb/?p=autoconf.git;a=blob_plain;f=build-aux/config.guess;hb=refs/heads/master
> http://git.savannah.gnu.org/gitweb/?p=autoconf.git;a=blob_plain;f=build-aux/config.sub;hb=refs/heads/master
We're currently using the last revisions that were licensed under
GPLv2 or later. The current versions are licensed under GPLv3 or
later and while there is an exception, it does not apply to Privoxy
(according to my interpretation) because we don't ship files generated
by autoconf.
Hopefully that's just an oversight.
I've contacted the FSF to ask if they can change the wording of the
exception so it covers Privoxy as well.
> and replacing AC_CANONICAL_HOST with AC_CANONICAL_SYSTEM in configure.in
Did you try adding AC_CANONICAL_SYSTEM without removing AC_CANONICAL_HOST?
> That much gets me to where I can do a cross-compiler toolchain build
> (with a few source code changes) as well as continue to build privoxy
> under cygwin 1.5 / gcc v3 -mno-cygwin
Great. What do you use as host system when cross-compiling?
> Any suggestions on privoxy-regression-test.pl parameters for testing
> this thing? I'm a bit surprised it even works at all, but it hasn't
> crashed yet & old vs. new test results for
> privoxy-regression-test.pl --max-level 200 --privoxy-address 127.0.0.1:8118
The parameters seem reasonable, but I'm not sure I understand the question.
> /source/privoxy
> $ ./run_regression_test
> Wed Apr 27 00:22:46 EDT 2016
> 2016-04-27 00:22:46: Asking Privoxy for the number of action files available ...
> 2016-04-27 00:22:46: Gathering regression tests from 9 action file(s)
> delivered by Privoxy (Unknown version!).
> 2016-04-27 00:22:48: Executing regression tests ...
> 2016-04-27 00:23:47: Ooops. Got: 'REMOVAL' while expecting: SOME CHANGE
[...]
> 2016-04-27 00:24:11: Executed 832 regression tests. Skipped 73. 823
> successes, 9 failures.
> Wed Apr 27 00:24:11 EDT 2016
>
> so it's close, but not quite there yet :)
Do you get the same errors when only using the default action files?
Fabian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <https://lists.privoxy.org/pipermail/privoxy-devel/attachments/20160428/f19d933f/attachment.bin>
More information about the Privoxy-devel
mailing list