-
Notifications
You must be signed in to change notification settings - Fork 252
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
Cannot compile under Debian #18
Comments
This is the same problem I had when compiling on Ubuntu. I pushed a modification to the INSTALL file which should fix it. Basically run |
Thanks for your help. I get an error while trying to run |
Hm really not sure.. but looks like maybe you don't have the libboost libraries installed? With Ubuntu I followed the dependency directions from here: |
In my first gist, you'll notice I've tried various ways of installing boost. I think I should have it. Perhaps you can point me to how to properly install it if I'm doing something wrongly? Thank you! :) |
I tried running the following (before
Incidentally, all of them installed fine, except for the last one, for which a package doesn't seem to exist. |
Sorry I'm out of ideas. I installed this late the other night, and didn't document my steps. It definitely wasn't a smooth process, I remember having many snags long the way. The author says the build process is hacky and needs to be reworked. You might check this pull request that some other guy just pushed which updates the documentation: |
What version of Debian or what distro are you installing this on? What is the author's distro? I'll set up a VM and try with your exact system specs and see if I can get it to run. |
Ubuntu 12.10 64bit
|
Thanks, I'll give it a shot. Did you use any 64-specific compile options? |
Nope, I didn't have to do that.
|
Just chiming in to say I had the same problem compiling on Debian 6.0.8 edit: just saw there's a new list of instructions for installing on Debian - trying them out now. edit#2: still get the same error, though I wasn't able to install libminiupnpc-dev via apt-get, or libdb++dev - had to install libdb4.8++dev specifically. Maybe Deb6 is too old? |
Trogau, you can edit your makefile.unix to have: libdb4.8++dev is available from bitcoin project (if you run newer Ubuntu 13.10) |
If you don't care about copying your binary wallet between computers (not that big deal, since copying the secretkey in text also works) then it is ok to use libdb5.1 which is current in debian, afaik. |
@EskimoBob: I'm not up to the point of compiling Twister from within src/ (which is the only place I see a makefile.unix file) so I am not sure if that's applicable..? This is occurring when running 'make' for libtorrent. @miguelfreitas: unfortunately it looks like Debian v6 / squeeze only supports libdb++ up to v4.8, so I might be out of luck? |
Old issue i think we can close that, we have new building system |
@iShift, if you're referring to the new bootstrap.sh script in the project root, I just tried that after a git pull and I still get the same error compiling:
|
apt-get update/upgrade? And install all packages from manual |
@iShift, as noted above, as I'm on Debian 6 I can't install some of the packages - I can only install libdb++ v4.8 and cannot install libminiupnpc-dev. I suspect it might just be an issue due to old libraries on deb6, but am not sure. |
@trogau I don't think it's libdb (4.8 is fine, btw) or upnp (which is optional), it looks like a Boost issue to me. Which version of libboost are you running ? |
@toyg, /usr/include/boost/version.hpp reports: #define BOOST_LIB_VERSION "1_42" , installed from the Ubuntu/Debian instructions (apt-get install libboost-all-dev). I'm not passing any Boost-specific parameters via the ./configure line (configure works fine), and don't seem to have any Boost environment variables set - but the configure process seems to pick up Boost fine:
|
Ok, yes -- the > operator between those boost objects was added in 1.44, so libtorrent will need that version at least. Debian oldstable only ships 1.42, so you should get an updated package (I think the first good package for most architectures in Sid is 1.49, there are some previous versions for some exotic architectures only). |
@toyg, thanks for the explanation. I'm a bit scared to switch out of stable on this particular machine so I might have to leave it here for now, although if time permits later I might try getting Boost from source and having another go at it. |
@trogau any chance you could close this issue then? The tracker is a bit of a mess atm :) |
@toyg, I didn't open it so am not sure if I can close it, sorry..? |
Ah, sorry, it's @dionyziz who could close it... |
FWIW, I also fail to compile this in Debian, Wheezy (6.0.8) amd64:
Seems also to be a problem with boost. Maybe it would be better if twister would use the system libtorrent instead? |
@anarcat no can do: Miguel had to modify libtorrent, he's not just using it. That error seems a problem with Boost indeed, Google says: https://bbs.archlinux.org/viewtopic.php?id=144593 You might want to try with Boost 1.50+. We recently found that 1.44 seems to be the minimum for the set of features the codebase uses, but we don't really know all the bugs for all Boost versions... |
The discussion about libtorrent should happen in #140. Problem with 1.50+ is that it's not available in Debian stable (wheezy) or any Ubuntu before Saucy so that really limits adoption of this software, unless people (like me) start backporting stuff like crazy. |
@anarcat that's a problem for Boost and Debian really...? This is alpha software. I think Miguel has enough stuff to do without asking him to work around bugs in a specific version of Boost for backward-compatibility purposes 😃 |
I guess it's a problem if people actually want this to get out of alpha one day. Obviously, this is not the right time for me to help with this project... |
@anarcat Which version of boost is available for wheezy? If you have libtorrent compiled with an unsupported boost version, does it means that the debian package includes some fix/backport? We may do the same here, no objections. |
@miguelfreitas http://packages.debian.org/libboost Squeeze/oldstable: 1.42 We can probably ignore squeeze at this point for all intents and purposes. It would be useful to make this work in boost 1.49, but I don't really expect this to happen considering how wild boost transitions are... There's no debian package of Twister, as far as I know. As for libtorrent, those are the versions available in Debian: http://packages.debian.org/search?keywords=libtorrent - libtorrent 0.13 seems to be compiling fine in Wheezy. There doesn't seem to be any special compile-time flags or patches in the Debian package that I can find. |
twister does work with boost 1.49, that's for sure. It is the version i use at home and also in a remote debian machine. check if this version means something to you: it compiles fine in this machine. |
|
I'm getting boost compile errors on OSX . Tried running a make in the libtorrent src directory but it didn't help. |
@kerskine the preferred build system is the one at the top level directory. I don't know about OSX specifics, but if you have automake/autoconf/etc you should try running "bootstrap.sh" and then "make" (not the libtorrent one). |
@kerskine if you are getting boost from homebrew, try updating it ( |
er... this is about Debian, can we keep the discussion about it please? |
I'm getting this error on Debian jessie
And then ./configure fails. Any idea what might be wrong? |
Also, would it be difficult to get binary packages of Twister available on Debian? |
@rodneyrod they are available already. see our download page (twister.net.co) |
I'm getting the following errors when trying to compile under a Debian Linux system. Not sure how to get this to work.
Here is the full log. Compile errors are at the end:
https://gist.github.com/dionyziz/8202593
Thanks for your time!
The text was updated successfully, but these errors were encountered: