-
-
Notifications
You must be signed in to change notification settings - Fork 424
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
FreeBSD: 0.15.0: tinyxml2:error 'utils/base64.h' file not found #1353
Comments
Patching: --- src/rpc/xmlrpc_tinyxml2.cc.orig 2024-12-27 10:43:05 UTC
+++ src/rpc/xmlrpc_tinyxml2.cc
@@ -17,7 +17,7 @@
#include "parse_commands.h"
#include "rpc/tinyxml2/tinyxml2.h"
-#include "utils/base64.h"
+#include "base64.h"
#include "xmlrpc.h"
Full log: |
It looks like
The warnings can be ignored if compilation still succeeds, C++14 is the current supported language version. |
Hello, As I being told for a FreeBSD dev, I did wrong using our include/base64.h. |
If you just want to build and test locally, you can grab it directly from the repo: https://raw.githubusercontent.com/rakshasa/rtorrent/refs/heads/master/src/utils/base64.h and put it into I'll have to wait for @rakshasa to find out exactly why the release process didn't pull it in, it looks like |
you need to have base64.h listed in Makefile.am to make dist will take it into the distfiles. |
I confirm that it builds with missing file fetched to src/utils. Not sure if it is supposed to be linked with
Including full log just in case: I will now proceed with some run testing |
@nunotexbsd no it is not, tinyxml2 is bundled into and nothing in the build system exist to use an external already packaged version of it. |
@bapt yes, I can confirm that too. Removed lib dep Run test is OK |
I added patch #1354 to build but it still fail with
Any idea? OS: OpenMandriva Cooker |
@AngryPenguinPL That patch fixes the distribution tarball by adding missing file to it. |
Off-topic a bit, but how do you manage to achieve:
I can only get it to yes or no, and then error out complaining that I can't enable both xmlrpc-c and tinyxml2. Whatever I do, however I ./configure. |
You can't enable both. So when you add:
at same time |
Here's the rub: I never enable both. I can even disable both explicitly, and configure will still error out complaining about me enabling both. I've tried --without-xmlrpc-c and --with-xmlrpc-c=no, and both at the same time, but no. |
The way configure works |
Fixed missing header. |
FreeBSD 15
Clang 19.1.5
tinyxml2 10.0.0
Some C++17 imcompatibilities and
utils/base64.h
file not found as it is located ininclude/base64.h
.What's best procedure to fix it?
Thanks
Full log:
rtorrent-0.15.0.log
The text was updated successfully, but these errors were encountered: