Hi Bert, im not a c++ programer but i made it work this way:
 in ubuntu 14.04 if you compile metronome using the Makefile as is
downloaded from git repository you get this error at make step:

interpolate.cc:2:21: fatal error: Eigen/SVD: No such file or directory

It seems like the eigen's include directories in ubuntu are not installed
in the standard path, googling aroun a found this:

http://askubuntu.com/questions/491067/eigen-installation-seemed-to-work-but-i-still-cant-make-eigen-work


So i modified the line 2 in  interpolate.cc to read :

#include <eigen3/Eigen/SVD>

Now metronome compiles ok but i fails to start with the error:

metronome[22973]: Fatal error: Enable multithreading to use std::thread:
Operation not permitted

 googling again i found it has something to do with pthread library in
ubuntu, i found this bug report:

https://bugs.launchpad.net/ubuntu/+source/gcc-defaults/+bug/1228201


I added -Wl,--no-as-needed to line 10 in Makefile to read:


LDFLAGS+=$(CXX2011FLAGS) -pthread  $(STATICFLAGS)  -Wl,--no-as-needed


 and the error is gone, but there is not any entry in home page drop box.






On Wed, Jan 20, 2016 at 5:13 PM, bert hubert <[email protected]>
wrote:

>
> On 20 Jan 2016, at 23:31, Miguel Miranda <[email protected]>
> wrote:
>
> Hi, after several attemps i'm finally running a local copy of the
> beautiful metronome  package, i followed the README instructions to the
> letter (except some change due to a bug in ubuntu eigen3-devel package).
> So far so good, i see the graphs in ./stats directory, owned by root, now
> the problem is that i dont see any entries in the web interface, the server
> ip address is 192.168.10.40 so i changed local.js to this:
>
> var m = new Metronome( {url: "//192.168.10.40/", datapoints: 150 });
>
>
>
> Can you check your ‘developer console’ in your browser? Could you try
> another browser and see what happens? Could you tell me about the bug in
> the ubuntu eigen3 package?
>
> Tanks!
>
>
>
> What else am  i missing?
> kind regards
>
> ---
> Miguel
>
>
>
>
> _______________________________________________
> Pdns-users mailing list
> [email protected]
> http://mailman.powerdns.com/mailman/listinfo/pdns-users
>
>
>
_______________________________________________
Pdns-users mailing list
[email protected]
http://mailman.powerdns.com/mailman/listinfo/pdns-users

Reply via email to