Re: not able to build Oprofile on ubuntu 14.04
William Cohen <[email protected]>
| Newsgroups | gmane.linux.oprofile |
|---|---|
| Message-ID | <[email protected]> |
On 01/19/2017 02:24 PM, Shiva M wrote: > Hi Michael, > > Thank for your response. After copying libiberty.a to installed directory, Error "configure: error: liberty library not found" got solved. But I see > > configure: error: Unable to find clock_gettime function; required by ocount > > I checked configure.ac <http://configure.ac> and pe_couting/Makefile.am. Both these files are latest. I tried copying lrt.a file to installed directory but its not working. > > Any help would really appreciated. > > Thanks, > Shiva Hi Shiva, You might need to install additional packages to get oprofile to compile. Rather than running the config and having it fail a little farther in the process after another package is installed you might take a look at what packages are required to be installed when building the Ubuntu or debian oprofile package. https://help.ubuntu.com/community/CompilingEasyHowTo http://stackoverflow.com/questions/130894/how-to-build-a-debian-ubuntu-package-from-source -Will > > On Thu, Jan 19, 2017 at 6:31 PM, Michael Petlan <[email protected] <mailto:[email protected]>> wrote: > > Hi Shiva, > > on Debian, the package you need is called "libiberty-dev". > I expect it will be the same on Ubuntu. > > Hope it helps. > > Cheers, > Michael > > > On Thu, 19 Jan 2017, Shiva M wrote: > > Hi > I am new to Oprofile tools. I have downloaded oprofile-1.1.0.tgz and ran ./configure but I see > > configure: error: liberty library not found > > > I have built the dependencies but somehow not able to build Oprofile. I have installed popt library and follwed binutils pass1 and pass2 from linux from scratch website to build > bintutils-2.27 > > http://www.linuxfromscratch.org/lfs/view/development/chapter05/binutils-pass2.html <http://www.linuxfromscratch.org/lfs/view/development/chapter05/binutils-pass2.html> > > Can someone help in building Oprofile-1.1.0. > > Thanks, > Shiva > > > > > > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > > > > _______________________________________________ > oprofile-list mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/oprofile-list > ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot