Claudio,

pkg_add node_exporter ?

I already had a good look at the package list on the FTP mirror and can't see 
any node_exporter there ?  pkg_add seems to agree with me, it says "can't find 
node_exporter" ?

Certainly pkg_add would be my preferred option, but it seems someone has forgot 
poor old node_exporter for recent releases ?  

Regarding the other gmake suggestion, that possibility occurred to me after 
sending yesterday's email, but I guess I would have to edit various source 
files to make sure its calling the right command.  Not rocket science I guess, 
but equally could be time consuming to make sure I've caught all the right 
spots in the code.


Sep 20, 2019, 05:29 by cje...@diehard.n-r-g.com:

> On Thu, Sep 19, 2019 at 10:13:23PM +0000, Travis Cole wrote:
>
>>
>> Looks like they are assuming GNU make.
>>
>>
>> Try doing the build with 'gmake'.
>>
>>
>> If you don't already have gmake installed:
>>
>>
>> # pkg_add gmake
>>
>
> Or just do `pkg_add node_exporter`. While prometheus does not provide
> a pre-compiled binary OpenBSD does.
>
>> On Thu, Sep 19, 2019 at 11:49:20PM +0200, Rachel Roch wrote:
>> > Hi,
>> > 
>> > The official Prometheus github repo 
>> > (https://github.com/prometheus/node_exporter) 
>> > <https://github.com/prometheus/node_exporter> appears to suggest in 
>> > multiple places that node_exporter is capable of working on OpenBSD.
>> > 
>> > But although they provide pre-compiled binaries for multiple platforms 
>> > including NetBSD (https://github.com/prometheus/node_exporter/releases) 
>> > <https://github.com/prometheus/node_exporter/releases> they seemingly 
>> > don't provide a binary for OpenBSD.
>> > 
>> > So I tried downloading the source and compiling it, but I get a screenful 
>> > of nasty sounding messages, e.g.:
>> > Bad modifier: , ,$(shell $(GO) env GOPATH)))                               
>> >                                                                   
>> > Bad modifier: , ,$(shell $(GO) env GOPATH)))                               
>> >                                                                   
>> > No closing parenthesis in archive specification                            
>> >                                                                   
>> > *** Parse error: Error in archive specification: "(, \.'))" 
>> > (Makefile.common:41)                                                       
>> >       
>> > *** Parse error: Need an operator in 'else' (Makefile.common:51)           
>> >                                                                   
>> > *** Parse error: Need an operator in '' (Makefile.common:54)               
>> >                                                                   
>> > *** Parse error: Need an operator in '' (Makefile.common:55)               
>> >                                                                   
>> > *** Parse error: Need an operator in 'endif' (Makefile.common:61)          
>> >                                                                   
>> > Bad modifier: , ,$(shell go env GOPATH)))                                  
>> >                                                                   
>> > Bad modifier: , ,$(shell go env GOPATH))) 
>> > 
>> > 
>> > Given the popularity of Prometheus, I'm sure someone on-list must be 
>> > actively running it ?
>> > 
>> > Thanks !
>> > 
>> > Rachel
>> > 
>>
>
> -- 
> :wq Claudio
>

Reply via email to