-
Notifications
You must be signed in to change notification settings - Fork 418
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gnukfreebsd compilation #302
Comments
@benkasminbullock ok, it looks like it is trying to include
It seems tidy-html5.h header is generated by make-c-file.pl, but looks like a simple combining of the tidy headers tidyplatform.h, tidyenum.h, tidy.h, and tidybuffio.h... Does the gnukfreebsd platform have If yes, then we need a way to In tidyplatform.h we already have several BSD_BASED_OS, namely What would be the equivalent in gnukfreebsd? And I further assume If this option is off then maybe we do not need the utime() functions, or perhaps there is an aternative that can set the file time appropriately... Of course I need big HELP to fix this since I do not have access to a gnukfreebsd box to test... |
@benkasminbullock I have now looked at the
This is set at the top, and maybe Should be a simple fix... |
@geoffmcl Just to be clear I don't have gnuk/freebsd either, I got these reports from CPAN testers. I am just passing along the information. I don't want to use the file operations from tidy-html5 so I have switched that off, as you correctly noticed. The tests above are for this version of the source code: https://metacpan.org/source/BKB/HTML-Valid-0.00_01 The results look like this: http://matrix.cpantesters.org/?dist=HTML-Valid+0.00_01 The currently testing source code is as follows: https://metacpan.org/source/BKB/HTML-Valid-0.00_02 I don't have gnukfreebsd results yet: http://matrix.cpantesters.org/?dist=HTML-Valid+0.00_02 As it says in the comments of make-c-file.pl, I don't expect to use any of the file operations in tidy-html5, but only use it to operate on in-memory buffers, so for my own purposes I am just switching PRESERVE_FILE_TIMES off wholesale. However I reported this in case the tidy-html5 project wanted to support the gnukfreebsd platform for the standalone program or for other languages or projects. I'll continue to report issues as I find them. I hope it helps. |
@benkasminbullock ok, you do not have a gnuk/freebsd, nor I presume a Darwin box for #305. And to me these small build problems can only be addressed by a person with that OS, and who is willing to conduct tests, and help in a fix... There seems no way I could guess what needs to be done from these simple error reports, without the ability to test and confirm... We do want to support just about every platform, including So this HTML Tidy
So I have moved these to one of our public list, say https://lists.w3.org/Archives/Public/html-tidy/ under the topic like Accordingly, will close this and #305... as stated thanks for reporting... |
For the gnukfreebsd I think that the fix applied by setting PRESERVE_FILE_TIMES to 0 seems to have worked. For the Darwin results the tested system is slightly different between the two tests. All of the failed tests for 0.00_02 are with a threaded system and the successful tests for 0.00_01 are with a slightly different unthreaded system. The fix I applied for the darwin system is to simply remove every "uint" and "ulong" from tidy-html5. That resolved the compiler errors. These solve my particular problems.
I will respect your decision. Note that if you have ideas which you want me to apply to test the system I can change the version of HTML Tidy I've used, and try testing them against CPAN testers. I can also contact the testers and ask them for assistance if there is a problem.
If there is anything further I can do to help, please don't hesitate to ask. |
Currently the default compilation fails on gnukfreebsd.
See this:
http://www.cpantesters.org/cpan/report/6e229334-8b8f-11e5-afef-e7dd1d056eec
and this:
http://www.cpantesters.org/cpan/report/77888ed8-8b85-11e5-afef-e7dd1d056eec
There doesn't seem to be a gnukfreebsd handler in the options in tidyplatform.h.
The text was updated successfully, but these errors were encountered: