Re: BUILD ERR ?
John Donnelly <[email protected]>
| Newsgroups | gmane.linux.oprofile |
|---|---|
| Message-ID | <CAAVn4MZkvvB8WjbrasQb22kUnPGg5sFbA45MZFad8froc_FQbA@mail.gmail.com> |
Thank you. That fixed it. This should be added to the README file for oprofile. It is a very obscure error and hard to find package. On 11/7/15, William Cohen <[email protected]> wrote: > On 11/07/2015 05:41 AM, John Donnelly wrote: >> Thank you. >> >> I was looking for this "liberty" lib as a installable component. Is >> there a rpm for that ? >> > Hi, > > I think you want to install the binutils-devel rpm for libiberty. However, > you should go through the list of buildrequires in the oprofile.spec to make > sure that nothing else is missing. > > -Will > >> >> >> On 11/6/15, William Cohen <[email protected]> wrote: >>> On 11/06/2015 09:27 PM, John Donnelly wrote: >>>> centos 6.7 : >>>> >>>> >>>> checking libiberty.h presence... no >>>> checking for libiberty.h... no >>>> checking for cplus_demangle in -liberty... no >>>> configure: error: liberty library not found >>>> >>> Hi, >>> >>> As a check you might try to download the oprofile srpm with >>> "yumdownloader >>> --source oprofile" and make sure all BuildRequires rpms listed in the >>> oprofile.spec are installed on the machine. Check with the following >>> URL >>> for more information about building from srpms: >>> >>> https://wiki.centos.org/HowTos/RebuildSRPM >>> >>> I hope that helps you build oprofile locally. >>> >>> >>> -Will >>> >>> >> >> > > -- /* A small moment in history can be found at : * * http://www.freewebs.com/balloffireiii/ * */ ------------------------------------------------------------------------------