doublemarket / grafana-rrd-server

A HTTP server that helps Grafana read RRD files via Grafana Simple JSON Datasource plugin
MIT License
153 stars 38 forks source link

Does it support linux/386? #36

Closed xixjxj closed 6 years ago

xixjxj commented 6 years ago

Hi, i am new here. And I am wondering if this support linux/386 OS? My RRD is running on CentOS 6 386 OS. It would be highly appreciated if you can provide linux/386 release.

Thank you.

xixjxj commented 6 years ago

I followed the instruction on a CentOS 6.5/386 OS. , but got below error:

`[root@grafana-rrd ~]# go get github.com/doublemarket/grafana-rrd-server

github.com/ziutek/rrd

/tmp/go-build291067257/b039/_x003.o: In function rrdInfo': go/src/github.com/ziutek/rrd/rrdfunc.c:39: undefined reference torrd_info_r' collect2: ld returned 1 exit status

github.com/ziutek/rrd

rrdfunc.c: In function 鈥榬rdError鈥

                                 rrdfunc.c:11: warning: incompatible implicit declaration of built-in function 鈥榮trdup鈥

rrdfunc.c: In function 鈥榬rdInfo鈥

                                       rrdfunc.c:39: warning: assignment makes pointer from integer without a cast

[root@grafana-rrd ~]# `

xixjxj commented 6 years ago

Finally, i am able to build it on 386 OS. It was because the RRDTool is below than 1.4. After re-install RRD, the issue disappear. Thank you .