linuxdcpp-team team mailing list archive
-
linuxdcpp-team team
-
Mailing list archive
-
Message #08786
[Bug 1692364] Re: unable to compile recent adchpp builds on linux
Yeah I had looked at that but the process of the hub starting seemed to
be stuck on the very beginning so it seems I missed some changes needed
in the scripts config later on (the parts that weren't loading after the
2.12.1 (r"[unknown]") Debug running,) .
It turns out that running the hub via ./adchppd doesn't find the config/
folder right next to it, I tried explicitly using the what-I-thought-
was-optional -c /path/to/config/folder switch to give it the same
config/ folder and it launches fine.
I think that part of the doc should be fixed/clarified if the issue I
had happens in general as well - "./adchppd" alone doesn't work, it
needs ./adchppd -c /path/to/config.
Thanks for your reply, I'll proceed setting up my hub, should be fine
now.
--
You received this bug notification because you are a member of
Dcplusplus-team, which is subscribed to ADCH++.
https://bugs.launchpad.net/bugs/1692364
Title:
unable to compile recent adchpp builds on linux
Status in ADCH++:
New
Bug description:
Hi. I've been trying to run a adchpp hub (migrating from ptokax).
The provided Windows binaries for the latest version 2.12.1 works fine, but compiling the source for this newest version on linux fails.
I've tried compiling on Ubuntu 14.04/16.04 x64 (inbuilt in windows 10 bash-on-windows), on Debian Jessie x64, and Raspbian Jessie on my raspberry pi 2B (arm). I referred to this question posted 3-4 years ago https://answers.launchpad.net/adchpp/+question/236015
which provided the info to remove the two lines in SConstruct to get the build compiling.
However the binary generated does not run correctly:
adchpp_2.12.1_source/build/debug-default-x64/bin] ./adchppd
Starting.
Core initialized
.Thrown: FileException: Could not open file
Unable to load adchpp.xml, using defaults: FileException: Could not open file
.
2.12.1 (r"[unknown]") Debug running, press ctrl-c to exit...
Logging: 2017-05-21 21:16:16: SocketManager: Starting
Thrown: FileException: Could not open file
LogManager::log: FileException: Could not open file
Thrown: FileException: Could not open file
LogManager::log2: FileException: Could not open file
^CLogging: 2017-05-21 21:16:20: core: Shutting down...
Thrown: FileException: Could not open file
LogManager::log: FileException: Could not open file
Thrown: FileException: Could not open file
LogManager::log2: FileException: Could not open file
Shut downBusy pool objects: 0
I've pasted the scripts files and config files as required (in the same way as in the windows build of adchpp, where it works fine)
I can paste the entire compile log if needed
(it seems to compile fine, with
# collect2 0.68 0.06
Move("build/debug-default/bin/socket/core.so", "build/debug-default/lua/LuaSocket/socket/core.so")
scons: done building targets.
at the end)
^This is from my rpi arm build, I've also tried x64 debug build and x64 release build options with the same apparent success in compilation.
I also tried manually doing chmod 777 to all files in the build folder
and running as sudo, still the same issues, seems to not be compiling
properly.
To manage notifications about this bug go to:
https://bugs.launchpad.net/adchpp/+bug/1692364/+subscriptions
References