• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1177
  • Last Modified:

Problem installing kcachegrind-0.4.6

I tried to install kcachegrind-0.4.6
and i got the following error

/usr/bin/ld: cannot find -lart_lgpl_2
collect2: ld returned 1 exit status
make[2]: *** [kcachegrind] Error 1
make[2]: Leaving directory `/usr/local/src/kcachegrind-0.4.6/kcachegrind'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/kcachegrind-0.4.6'
make: *** [all] Error 2

I m running Cent OS 3.6 and have installed  valgrind-3.2.3 successfully
Please help me fix the problem
0
babuno5
Asked:
babuno5
  • 6
  • 5
1 Solution
 
ravenplCommented:
You lack gnome-libs-devel package
up2date gnome-libs-devel
0
 
babuno5Author Commented:
Thanks for the reply
following was the output of the above command


[root@localhost root]# up2date gnome-libs-devel

Fetching Obsoletes list for channel: centos-3-base...

Fetching Obsoletes list for channel: centos-3-addons...

Fetching Obsoletes list for channel: centos-3-updates...

Fetching Obsoletes list for channel: centos-3-extras...

Fetching rpm headers...
########################################

Name                                    Version        Rel
----------------------------------------------------------
gnome-libs-devel                        1.4.1.2.90     34.2              i386


Testing package set / solving RPM inter-dependencies...

Downloading headers to solve dependencies...
#######################################
Downloading headers to solve dependencies...
########################################
ORBit-devel-0.5.17-10.4.i38 ########################## Done.
warning: rpmts_HdrFromFdno: V3 DSA signature: NOKEY, key ID 025e513b
The package ORBit-devel-0.5.17-10.4 is signed, but with an unknown GPG key. Aborting...
Package ORBit-devel-0.5.17-10.4 has a unknown GPG signature.
 Aborting...



I again tried to configure and make but the same error was generated
0
 
ravenplCommented:
I don't know why Your key will not match, maybe try reconfiguring up2date to not use gpg verification for this update shot.
either edit /etc/sysconfig/rhn/up2date and change useGPG to
useGPG=1

or run 'up2date-config' and answer appropriately

then install gnome-libs-devel again
0
Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

 
babuno5Author Commented:
should i make useGPG=0 as it currently showing as useGPG=1
0
 
ravenplCommented:
Right, my mistake - just copied from the file where it was 1. Change to 0. Should not fail on gpg verification then.
0
 
babuno5Author Commented:
the updation was successful but it is still giving the same error
0
 
ravenplCommented:
Give it one more shoot (I was checking different version of RH)
up2date libart_lgpl-devel
0
 
babuno5Author Commented:
thanks but another problem came up now

make[2]: Leaving directory `/usr/local/src/kcachegrind-0.4.6/kcachegrind'
Making all in pics
make[2]: Entering directory `/usr/local/src/kcachegrind-0.4.6/pics'
Making all in hicolor
make[3]: Entering directory `/usr/local/src/kcachegrind-0.4.6/pics/hicolor'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/local/src/kcachegrind-0.4.6/pics/hicolor'
make[3]: Entering directory `/usr/local/src/kcachegrind-0.4.6/pics'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/usr/local/src/kcachegrind-0.4.6/pics'
make[2]: Leaving directory `/usr/local/src/kcachegrind-0.4.6/pics'
Making all in po
make[2]: Entering directory `/usr/local/src/kcachegrind-0.4.6/po'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/local/src/kcachegrind-0.4.6/po'
Making all in doc
make[2]: Entering directory `/usr/local/src/kcachegrind-0.4.6/doc'
Making all in en
make[3]: Entering directory `/usr/local/src/kcachegrind-0.4.6/doc/en'
/usr/bin/meinproc --check --cache index.cache.bz2 ./index.docbook
index.docbook:13: error: failed to load external entity "dtd/kdex.dtd"
]>
  ^
index.docbook:17: error: Entity 'language' not defined
<book lang="&language;">
                      ^
index.docbook:17: validity error: No declaration for attribute lang of element book
<book lang="&language;">
                       ^
index.docbook:1: validity error: No declaration for element application
<title>The &kcachegrind; Handbook</title>
                        ^
index.docbook:20: validity error: No declaration for element title
<title>The &kcachegrind; Handbook</title>
                                         ^
index.docbook:24: validity error: No declaration for element firstname
<firstname>Josef</firstname>
.
.
.
.
       ^
index.docbook:928: validity error: No declaration for element sect1
</sect1>
        ^
index.docbook:896: validity error: No declaration for element appendix
</appendix>
           ^
index.docbook:939: error: Entity 'documentation.index' not defined
&documentation.index;
                     ^
index.docbook:17: validity error: No declaration for element book
</book>
       ^
make[3]: *** [index.cache.bz2] Error 1
make[3]: Leaving directory `/usr/local/src/kcachegrind-0.4.6/doc/en'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/src/kcachegrind-0.4.6/doc'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/kcachegrind-0.4.6'
make: *** [all] Error 2


Now what do i do
0
 
ravenplCommented:
It used to be in kdelibs
up2date kdelibs

otherwise try: ./configure --help
from kchacegrind and verify if there can be supplied kde or docbook or sgmltools path...
0
 
babuno5Author Commented:
i did
[root@localhost kcachegrind-0.4.6]# up2date kdelibs

Fetching Obsoletes list for channel: centos-3-base...

Fetching Obsoletes list for channel: centos-3-addons...

Fetching Obsoletes list for channel: centos-3-updates...

Fetching Obsoletes list for channel: centos-3-extras...

Fetching rpm headers...
########################################

Name                                    Version        Rel
----------------------------------------------------------
kdelibs                                 3.1.3          6.12              i386


Testing package set / solving RPM inter-dependencies...

Downloading headers to solve dependencies...
########################################
kdelibs-3.1.3-6.12.i386.rpm ########################## Done.
kdelibs-devel-3.1.3-6.12.i3 ########################## Done.
Preparing              ########################################### [100%]

Installing...
   1:kdelibs                ########################################### [100%]
   2:kdelibs-devel          ########################################### [100%]
The following packages were added to your selection to satisfy dependencies:

Name                                    Version        Release
--------------------------------------------------------------
kdelibs-devel                           3.1.3          6.12


and then did a ./configure and make but still getting the same error

the output of ./configure --help does not contains docbook or sgmmltools

some content of the output ::
`configure' configures this package to adapt to many kinds of systems.

Usage: ./configure [OPTION]... [VAR=VALUE]...

To assign environment variables (e.g., CC, CFLAGS...), specify them as
VAR=VALUE.  See below for descriptions of some of the useful variables.

Defaults for the options are specified in brackets.

Configuration:
  -h, --help              display this help and exit
      --help=short        display options specific to this package
      --help=recursive    display the short help of all the included packages
  -V, --version           display version information and exit
  -q, --quiet, --silent   do not print `checking...' messages
      --cache-file=FILE   cache test results in FILE [disabled]
  -C, --config-cache      alias for `--cache-file=config.cache'
  -n, --no-create         do not create output files
      --srcdir=DIR        find the sources in DIR [configure dir or `..']

Installation directories:
  --prefix=PREFIX         install architecture-independent files in PREFIX
                          [/usr/local/kde]
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
                          [PREFIX]

By default, `make install' will install all the files in
`/usr/local/kde/bin', `/usr/local/kde/lib' etc.  You can specify
an installation prefix other than `/usr/local/kde' using `--prefix',
for instance `--prefix=$HOME'.

For better control, use the options below.

Fine tuning of the installation directories:
  --bindir=DIR           user executables [EPREFIX/bin]
  --sbindir=DIR          system admin executables [EPREFIX/sbin]
  --libexecdir=DIR       program executables [EPREFIX/libexec]
  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
  --libdir=DIR           object code libraries [EPREFIX/lib]
  --includedir=DIR       C header files [PREFIX/include]
  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
  --infodir=DIR          info documentation [PREFIX/info]
  --mandir=DIR           man documentation [PREFIX/man]

Program names:
  --program-prefix=PREFIX            prepend PREFIX to installed program names
  --program-suffix=SUFFIX            append SUFFIX to installed program names
  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
0
 
babuno5Author Commented:
waiting for some more help on this
0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

  • 6
  • 5
Tackle projects and never again get stuck behind a technical roadblock.
Join Now