Re: not able to build Oprofile on ubuntu 14.04
William Cohen <[email protected]>
| Newsgroups | gmane.linux.oprofile |
|---|---|
| Message-ID | <[email protected]> |
On 01/20/2017 01:40 AM, Shiva M wrote: > Hi Michael, > > I am building libiberty-dev, binutils-dev from source. Trying to make it as part of rootfs packages for our System. > > Thanks, > Shiva Hi Shiva, Why build them from source when there are binaries already available? It would be much more easier to install the already built packages. As mentioned in previous email getting all the dependencies installed to build the package locally is the preferred way to get things set up. -Will > > On Fri, Jan 20, 2017 at 6:51 AM, Michael Petlan <[email protected] <mailto:[email protected]>> wrote: > > Hi Shiva, I haven't understood why you copy libiberty.a and/or lrt.a anywhere... > This shouldn't be necessary to be done. > > You just need to install packages: > > apt-get install libiberty-dev binutils-dev libpopt-dev libc6-dev > > The clock_gettime() function should be available in libc6-dev. > > Having that (and build-essentials), you should be able to proceed through the > ./configure pass without any other problems. > > > On Fri, 20 Jan 2017, 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 > > 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