← Back to team overview

linuxdcpp-team team mailing list archive

[Bug 1692364] Re: unable to compile recent adchpp builds on linux

 

Just tried that, ncdc on the raspi on localhost works fine with the
adchpp hosted on the pi. ncdc on the linux laptop connecting to the rasp
also works fine. Tried DC++ on the laptop connecting to the pi, also
works fine. Looks like a AirDC++ issue, trying to narrow it down and
figure it out, since I've been using it for a couple of years with no
troubles.

Thanks for your help and guidance, I appreciate it!

-- 
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++:
  Invalid

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