kraiz / eiskaltdcpp-daemon-openwrt

packaging eiskaltdcpp for openwrt
1 stars 3 forks source link

eiskaltdcpp on Chaos Calmer? #1

Open makefu opened 8 years ago

makefu commented 8 years ago

Hi, i tried to build eiskaltdcpp for ChaosCalmer but without success. it seems something changed with how boost is included as a dependency. Did you have any success with upgrading? https://travis-ci.org/makefu/eiskaltdcpp-daemon-openwrt/builds/160373588#L343

kraiz commented 8 years ago

Hey, i switched the device where eiskaltdcpp is running but i'm willing to help :)

Looks like it has trouble to unpack boost in L289ff and fails to locate it in L308 which then let the import fail.

Why do you silence the output of boost install command here. Maybe it gives some hints?

kraiz commented 8 years ago

Oh, i had a deeper look in my old build logs and discovered that i didn't handle boost at all (here & here is identical to your builds). But it kind of worked back then which leads to your assumption that there was a change.

kraiz commented 8 years ago

Seems like eiskaltdcpp pulls a the boost.tar.gz from SourceForge whichs fails.

makefu commented 8 years ago

@kraiz thanks very much for debugging. this means that we should use the headers directly from openwrt right? By doing so there would be no need to fetch boost headers. Maybe i could limit the boost required packages as well because boost itself is FUCKING HUGE :D !

And yes i also tried to build for kirkwood to use it on the goflex net - a pretty powerful (and incredibly cheap) device with 2 sata ports. You can get them for 12 euros from ebay.

kraiz commented 8 years ago

I added step to preempt the download here which seems to work for now. But if you could manage to use openwrt boost for the build, that would be better.

makefu commented 8 years ago

@kraiz looks good. in the meantime i tried to bump the version of eiskaltdcpp to latest but for some reason i get:

../dcpp/libeiskaltdcpp.a(Text.cpp.o): In function `dcpp::Text::convert(std::string const&, std::string&, std::string const&, std::string const&)':
Text.cpp:(.text+0xd30): undefined reference to `iconv_open'
Text.cpp:(.text+0xdc4): undefined reference to `iconv'
Text.cpp:(.text+0xf0c): undefined reference to `iconv_close'

I do not really get it because i tried to apply your patched files and even tried to explicitly add -liconv ... without avail....

https://travis-ci.org/makefu/eiskaltdcpp-daemon-openwrt/builds/160726871

update: i cannot believe i finally got a working compile: https://travis-ci.org/makefu/eiskaltdcpp-daemon-openwrt/builds/160733827 with https://github.com/makefu/eiskaltdcpp-daemon-openwrt . I will test the binary tomorrow and if everything works i will merge with your branch and create a PR.