Open mrdvt92 opened 3 years ago
I have all the dependencies installed. I am unable to run "rpmbuild -ta udpst-7.1.0.tar.gz"
I am unable to build the repository and run anything
How about just cloning the repo and running $ cmake . and $ make
From: souryendudas @.> Sent: Monday, June 21, 2021 6:18 PM To: BroadbandForum/obudpst @.> Cc: Subscribed @.***> Subject: Re: [BroadbandForum/obudpst] Added RPM package capability (#2)
[image]https://urldefense.com/v3/__https:/user-images.githubusercontent.com/37900365/122834520-f2391580-d2ab-11eb-899c-aaf2015c55a9.png__;!!BhdT!3yhaSCbhIYfgaD0I3Ax2zbrnFyIqmIF7_h8PX-6sRgxoDGsS7GGqIj0XlyZz$ I have all the dependencies installed. I am unable to run "rpmbuild -ta udpst-7.1.0.tar.gz"
I am unable to build the repository and run anything
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https:/github.com/BroadbandForum/obudpst/pull/2*issuecomment-865381394__;Iw!!BhdT!3yhaSCbhIYfgaD0I3Ax2zbrnFyIqmIF7_h8PX-6sRgxoDGsS7GGqItvriVt6$, or unsubscribehttps://urldefense.com/v3/__https:/github.com/notifications/unsubscribe-auth/ACILYGDAEBDSA6MH42BCP2TTT63AZANCNFSM4ZNHMZ7A__;!!BhdT!3yhaSCbhIYfgaD0I3Ax2zbrnFyIqmIF7_h8PX-6sRgxoDGsS7GGqIip908De$.
How about just cloning the repo and running $ cmake . and $ make
On CentOS 7, you must use cmake3
not cmake
. cmake3
is available from epel.
I updated the steps above with steps to add dependencies. I tested steps on a centos:7 docker image but without systemd.
To build on Centos 7 without spec file
$ sudo yum install epel-release
$ sudo yum install cmake3 make gcc-c++ openssl-devel
$ cmake3 -DCMAKE_INSTALL_PREFIX=/usr .
$ make
Updated spec file for 7.5.0 version
I uploaded the RPMs to the release https://github.com/mrdvt92/obudpst/releases
Thanks Michael!
Added RPM package capability
To build RPM, install and start service.