-
Notifications
You must be signed in to change notification settings - Fork 57
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
make command fails #48
Comments
The error message says
which means you're missing the libtins headers. They can be installed with the To see the visual traceroute just follow the instructions after running the tool. It will suggest you to transform the JSON output to a PNG by using the Python bindings, which in turn require graphviz (libraries and tools). I'm closing this issue, feel free to reopen if it doesn't solve it for you. |
I just realized that "libations" in your request was actually "libtins". So you may just have the wrong version: dublin-traceroute requires libtins 3.4 as indicated in CMakeLists.txt. Can you check your installed version ? |
Hey insomiacslk, I really appreciate you helping me out with this. I'm using it for a school project and it'll really make things so much better! I had the latest version installed (4.x). I pulled 3.4 and built it. Then I went to libtin's page and realized I needed to run: Then I went to my dublin folder and did the make command and voila:
I made sure I removed any old libtin/dublin folder and did the git clone, cmake and make from the beginning. Thanks for your help again, you're doing a fantastic job! :) |
Christ, it finally worked. Will keep you posted if anything comes up. In order to use the Python bindings, I added unstable + testing repos and then ran this command from the python git:
But then I get the following errors:
|
I see you sorted things out, good job! If you don't need the latest code and don't need to make any changes there is also a (not too recent) Debian package that you can install with Another option is using the Go implementation of the tool, that you can find under the I am maintaining both implementations at the moment, but I'm adding new features only to the Go version. At some point I think the C++ implementation will go away, and the features from the python bindings will also merge in the Go program. Let me know if I can help with your school project! |
Hey, I'm trying this install on another machine (just Dublin, not the Python version). I keep getting this error when I run the 'make' command from the build folder.
So I tried running:
I have libpcap-dev, libtins v3.4 and libjsoncpp-dev installed. But I still get the same error. I've spent a few hours trying to fix this, and perhaps fixing this issue will help others as well. Any help is appreciated. |
I believe that is libtins that should be recompiled with -fPIC. Can you try that and let me know? |
Hello insomniacslk, I tried to have the flag for libtins, but I was not successful. Let me get back to you later perhaps? Thanks a lot for your prompt replies man, the tool is super cool! |
Sure. I noticed that it tries to use the archive file (libtins.a) instead of the shared object. So the suggestion to recompile with-fPIC may be a red herring. Can you make sure that your installation of libtins is actually including the .so file? |
I installed libations, jsconcpp, libpcap-dev but when I run the make command in the "build" directory inside dublin-traceroute, it fails.
ubuntu:~/dublin-traceroute/build$ make [ 12%] Building CXX object CMakeFiles/dublintraceroute.dir/src/common.cc.o In file included from /home/ubuntu/dublin-traceroute/src/common.cc:16:0: /home/ubuntu/dublin-traceroute/include/dublintraceroute/common.h:23:23: fatal error: tins/tins.h: No such file or directory compilation terminated. CMakeFiles/dublintraceroute.dir/build.make:62: recipe for target 'CMakeFiles/dublintraceroute.dir/src/common.cc.o' failed make[2]: *** [CMakeFiles/dublintraceroute.dir/src/common.cc.o] Error 1 CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/dublintraceroute.dir/all' failed make[1]: *** [CMakeFiles/dublintraceroute.dir/all] Error 2 Makefile:127: recipe for target 'all' failed make: *** [all] Error 2
This is running on AWS, on an Ubuntu 16.04.6 LTS xenial. Will I need to RDP into it, to be able to see the graphical representation of the Traceroute?
Help would be appreciated.
The text was updated successfully, but these errors were encountered: