Re: [oprof-cvs] popt.h: File not found
Solal Amouyal <[email protected]> Mon, 29 Jul 2019 10:23:05 +0300
| Newsgroups | gmane.linux.oprofile |
|---|---|
| Message-ID | <CAN8ajf6KE4K_yZPKq0jGTLhC6N0+QrPKEaJWK76O+3AuRu-7tQ@mail.gmail.com> |
Will, Thank you for your reply. I was able to successfully install it. I do have some experience with Linux but am new to Centos, I'm just learning my way around it. Thanks again, _________________________ Solal Amouyal On Tue, Jul 23, 2019 at 11:31 PM William Cohen <[email protected]> wrote: > On 7/23/19 10:17 AM, Solal Amouyal wrote: > > Hello, > > Hi, > > cc'ing the appropriate list for this reply. > > > > > I am running on CentOS Linux release 7.6.1810. > > > > I am trying to install oprofile on my machine. It is available to > install from yum but only as an older version (0.9.9). > > > > It is a good starting point to download the source rpm and look at the > packages that you need to have installed to build the package. These > should be pretty much the same for the more recent version of the package > (the yum install... and yum-builddep will need to be run as root): > > yum install yum-utils rpm-build > yumdownloader --source oprofile > yum-builddep ./oprofile*.rpm > > You can see what they are your self with: > > rpm -Uvh oprofile*.rpm > more ~/rpm/SPECS/oprofile.spec > > > > I downloaded the git repository and run ./configure && make. The make > command terminated with the following error: > > op_popt.h:16:18: fatal error: popt.h: No such file or directory > > #include <popt.h> > > > > op_popt.h is located in ./libutil.h > > There is not popt.h file in the repository, only popt_options.h located > in libopt++. > > I tried adding a popt.h file found online, modifying op_popt.h to > include popt_options.h instead... I couldnt get it to work. I have attached > the config.log file. > > It looks like you are missing popt-devel. You will need to install that. > There may be some other packages that you need to install besides that. > > -Will > > > > Any help is appreciated. Thanks, > > > > _________________________ > > > > Solal Amouyal > > > > > > _______________________________________________ > > Oprofile-commits mailing list > > [email protected] > > https://lists.sourceforge.net/lists/listinfo/oprofile-commits > > > > _______________________________________________ oprofile-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/oprofile-list