Open Daxcor69 opened 6 months ago
To build ProFTPD with mod_prometheus from source, you will need the source code for ProFTPD, the source code for mod_prometheus, and the necessary libraries installed. (The CI workflow definition has sections showing we install Alpine, RPM, and/or Debian/Ubuntu packages as part of the automated builds.)
Assuming the source code for ProFTPD via Git, after installing the necessary libraries, your instructions might look something like this:
$ git clone https://github.com/proftpd/proftpd.git
$ cd proftpd/
$ git clone https://github.com/Castaglia/proftpd-mod_prometheus.git contrib/mod_prometheus
$ ./configure \
--sysconfdir=/etc/proftpd \
--disable-ident \
--enable-dso \
--enable-ctrls \
--with-modules=mod_tls:mod_sftp:mod_prometheus
$ make
$ make install
I have to admit up front I am not very good at compiling code. I have proftpd up and running and just want to add this module.
Here is what I am doing, but it seems the make can't find files. So I am not sure where to put your files from the tar ball.
I tried putting them in the contrib and modules dir, but the make errors out with
I am using
any help would be appreciated, thx Brad