[campcaster-support] make install doesn't find libxml++-2.6 ver. 2.8.1
  • I'm in the process of installing Campcaster on a RHES4.0 server.

    I've run into a number of dependencies and -- up until now -- have been
    able to install the required packages.

    I am now having a problem with getting the Campcaster install to
    recognize that I have installed libxml++-2.6.

    Campcaster's requirement is that libxml++-2.6 >= 2.8.1 (which seems
    absurd on the surface but it turns out that there really is a version
    2.8.1 of libxml++-2.6). I have installed it but the Campcaster install
    can't find it and errs out.

    Here is the tail end of the output from 'make install', followed by some
    commands to demonstrate that libxml++-2.6 version 2.8.1 is indeed
    installed, that my PKG_CONFIG_PATH is correctly set to point to
    libxml++-2.6.pc, and that the contents of libxml++-2.6.pc indicates that
    the version is 2.8.1:

    checking for errno.h... yes
    checking for stdint.h... (cached) yes
    using compiler options: -O3
    using pkg-config path: /opt/campcaster/lib/pkgconfig
    checking for boostlib >= 1.33.1... yes
    checking whether the Boost::Date_Time library is available... yes
    checking for main in -lboost_date_time... yes
    checking for pkg-config... /usr/bin/pkg-config
    checking for libxml++-2.6 >= 2.8.1... Package libxml++-2.6 was not found
    in the pkg-config search path.
    Perhaps you should add the directory containing `libxml++-2.6.pc'
    to the PKG_CONFIG_PATH environment variable
    No package 'libxml++-2.6' found

    configure: error: Library requirements (libxml++-2.6 >= 2.8.1) not met;
    consider adjusting the PKG_CONFIG_PATH environment variable if your
    libraries are in a nonstandard prefix so pkg-config can find them.
    make: *** [tmp/modules_setup.stamp] Error 1
    [root@tiger campcaster-1.2.0]#


    [root@tiger campcaster-1.2.0]# echo $PKG_CONFIG_PATH
    /usr/local/lib/pkgconfig <----


    [root@tiger campcaster-1.2.0]# ls -l /usr/local/lib/pkgconfig
    total 40
    -rw-r--r-- 1 root root 335 Apr 25 13:09 glib-2.0.pc
    -rw-r--r-- 1 root root 289 Apr 25 13:14 glibmm-2.4.pc
    -rw-r--r-- 1 root root 278 Apr 25 13:09 gmodule-2.0.pc
    -rw-r--r-- 1 root root 278 Apr 25 13:09 gmodule-export-2.0.pc
    -rw-r--r-- 1 root root 257 Apr 25 13:09 gmodule-no-export-2.0.pc
    -rw-r--r-- 1 root root 245 Apr 25 13:09 gobject-2.0.pc
    -rw-r--r-- 1 root root 240 Apr 25 13:09 gthread-2.0.pc
    -rw-r--r-- 1 root root 295 Apr 25 13:42 libxml++-2.6.pc <---
    -rw-r--r-- 1 root root 352 Aug 9 2006 shout.pc
    -rw-r--r-- 1 root root 282 Apr 24 14:53 sigc++-2.0.pc


    [root@tiger campcaster-1.2.0]# cat /usr/local/lib/pkgconfig/libxml++-2.6.pc
    prefix=/usr/local
    exec_prefix=${prefix}
    libdir=${exec_prefix}/lib
    includedir=${prefix}/include

    Name: libxml++
    Description: C++ wrapper for libxml
    Requires: libxml-2.0 glibmm-2.4
    Version: 2.8.1 <----
    Libs: -L${libdir} -lxml++-2.6
    Cflags: -I${includedir}/libxml++-2.6 -I${libdir}/libxml++-2.6/include

    Any suggestions?

    Thanks in advance,
    John Hicks

    --
    John Hicks

    When replying to me personally, please use "johnhicks" instead of "johnlist" in the email address.
  • 1 Comment sorted by
  • John Hicks wrote on 04/26/2007 07:29 AM:
    > I'm in the process of installing Campcaster on a RHES4.0 server.
    >
    > I've run into a number of dependencies and -- up until now -- have been
    > able to install the required packages.
    >
    > I am now having a problem with getting the Campcaster install to
    > recognize that I have installed libxml++-2.6.

    This was a bug; I fixed it now, both in the SVN HEAD and in the 1.2
    branch. Thanks for reporting it.

    > Any suggestions?

    Start with a new checkout of the 1.2 branch, and try again. Note that
    the HEAD version does not work properly at the moment. To check out the
    1.2 branch, use

    svn checkout \
    svn://code.campware.org/campcaster/branches/campcaster-1.2/campcaster

    Ferenc