Re: [libxml++] Compilation



On Wed, Sep 17, 2008 at 9:48 PM, Fabian Jacquet
<fabian jacquet gmail com> wrote:
> Hi all,
>
> I want to compile libxml++ 2.22.0
> I have to know all dependencies. Could you give me the name and the version
> of each dependencies needed for 2.22.0?
> I need to compile each dependencies too, if you can help me too find all
> sources, it would be very kind.

The web page says so:

<quote>
http://libxmlplusplus.sourceforge.net

Required Libraries
libxml2
glibmm-2.4 (or a subset of it containing at least Glib::ustring)
</quote>

I installed binary package libxml++2.6-dev on debian. This package
seems to be a libxml++ 2.14.0 implementation <url:
http://packages.debian.org/etch/libxml++2.6-2>. It has these
dependencies:

$ ldd /usr/lib/libxml++-2.6.so
        linux-gate.so.1 =>  (0xffffe000)
        libxml2.so.2 => /usr/lib/libxml2.so.2 (0xb7e6c000)
        libglibmm-2.4.so.1 => /usr/lib/libglibmm-2.4.so.1 (0xb7e23000)
        libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0xb7de9000)
        libsigc-2.0.so.0 => /usr/lib/libsigc-2.0.so.0 (0xb7de3000)
        libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0xb7d51000)
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb7c6c000)
        libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb7c47000)
        libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7b15000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb7b0a000)
        libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb7b06000)
        libz.so.1 => /usr/lib/libz.so.1 (0xb7af2000)
        libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0xb7aef000)
        librt.so.1 => /lib/tls/i686/cmov/librt.so.1 (0xb7ae6000)
        /lib/ld-linux.so.2 (0x80000000)
        libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0xb7ad3000)
$

This is Makefile for my xml config module:

$ cat Makefile
################################################################################
# Filename      : Makefile
# Description   : Makefile for xml config module
# Author        : lovecreatesbeauty gmail com
# Date          : May 19, 2008
################################################################################

CXX             = g++
CXXFLAGS        = -ansi -pedantic -Wall -W -g           \
                        -I/usr/include/libxml++-2.6     \
                        -I/usr/include/glibmm-2.4       \
                        -I/usr/include/glib-2.0         \
                        -I/usr/lib/glib-2.0/include     \
                        -I/usr/lib/glibmm-2.4/include
LDFLAGS         = -lglibmm-2.4 -lxml++-2.6
OBJS            = main.o cfg.o
OUT             = cfg.out

$(OUT)  : $(OBJS)
        $(CXX) $(LDFLAGS) $^ -o $@

main.o cfg.o : cfg.h

.PHONY  : clean
clean   :
        rm $(OUT) $(OBJS)
$




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]