Closed GoogleCodeExporter closed 8 years ago
You need to build and install dbus-c++ with glib integration by passing
--enable-glib
to the configure script.
I think it's mentioned in the wiki.
Original comment by ZeFl...@gmail.com
on 19 Feb 2008 at 2:49
i'm build dbus-c++ with this flag, but contents of my package after install is
vase selfip # paludis -k dbus-c++
* sys-apps/dbus-c++-9999::installed
/usr
/usr/bin
/usr/bin/dbusxx-introspect
/usr/bin/dbusxx-xml2cpp
/usr/include
/usr/include/dbus-c++-1
/usr/include/dbus-c++-1/dbus-c++
/usr/include/dbus-c++-1/dbus-c++/api.h
/usr/include/dbus-c++-1/dbus-c++/config.h
/usr/include/dbus-c++-1/dbus-c++/connection.h
/usr/include/dbus-c++-1/dbus-c++/dbus.h
/usr/include/dbus-c++-1/dbus-c++/debug.h
/usr/include/dbus-c++-1/dbus-c++/dispatcher.h
/usr/include/dbus-c++-1/dbus-c++/error.h
/usr/include/dbus-c++-1/dbus-c++/eventloop-integration.h
/usr/include/dbus-c++-1/dbus-c++/eventloop.h
/usr/include/dbus-c++-1/dbus-c++/interface.h
/usr/include/dbus-c++-1/dbus-c++/introspection.h
/usr/include/dbus-c++-1/dbus-c++/message.h
/usr/include/dbus-c++-1/dbus-c++/object.h
/usr/include/dbus-c++-1/dbus-c++/pendingcall.h
/usr/include/dbus-c++-1/dbus-c++/property.h
/usr/include/dbus-c++-1/dbus-c++/refptr_impl.h
/usr/include/dbus-c++-1/dbus-c++/server.h
/usr/include/dbus-c++-1/dbus-c++/types.h
/usr/include/dbus-c++-1/dbus-c++/util.h
/usr/lib64
/usr/lib64/libdbus-c++-1.a
/usr/lib64/libdbus-c++-1.la
/usr/lib64/libdbus-c++-1.so -> libdbus-c++-1.so.0.0.0
/usr/lib64/libdbus-c++-1.so.0 -> libdbus-c++-1.so.0.0.0
/usr/lib64/libdbus-c++-1.so.0.0.0
/usr/lib64/pkgconfig
/usr/lib64/pkgconfig/dbus-c++-1.pc
Original comment by v.tolsto...@gtempaccount.com
on 19 Feb 2008 at 3:18
Ah, seems dbus-c++ has rearranged their files. I'll have to look at it more but
I
think they just renamed the header to eventloop-integration.h
Original comment by ZeFl...@gmail.com
on 20 Feb 2008 at 12:19
i'm traying to rename #include to new name - compile does not successful
finished.
error in some classes...
Original comment by v.tolsto...@gtempaccount.com
on 20 Feb 2008 at 2:13
I just checked it out. DBus-c++ have not renamed any files so the only reason
why the
build fails must be that dbus-c++ is built without glib integration for you.
Are you sure the ebuild passes --enable-glib to the configure script?
Original comment by ZeFl...@gmail.com
on 22 Feb 2008 at 5:58
This is my ebuild
vase@vase ~ $ cat /media/storage/selfip/sys-apps/dbus-c++/dbus-c++-9999.ebuild
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit git autotools eutils
DESCRIPTION="dbus-c++"
HOMEPAGE="http://www.freedesktop.org/wiki/Software/DBusBindings"
EGIT_REPO_URI="git://anongit.freedesktop.org/git/dbus/dbus-c++/"
KEYWORDS="~x86 ~amd64"
IUSE="glib doc examples"
DEPEND="sys-apps/dbus"
RDEPEND="${DEPEND}"
src_unpack() {
git_src_unpack
cd "${S}"
eautoreconf
econf $(use_enable glib) \
$(use_enable doc doxygen-docs) || die "econf failed"
}
src_install() {
make install DESTDIR=${D} || die "emake install failed"
}
This is flags
* sys-apps/dbus-c++::selfip [R 9999] <target>
doc examples glib
Original comment by v.tolsto...@gtempaccount.com
on 24 Feb 2008 at 3:34
hm... ebuild is invalid. but if i'm manual compile dbus-c++ - --enable-glib
break
compile on
xml.o: In function `DBus::Xml::Document::from_xml(std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&)':
xml.cpp:(.text+0x147b): undefined reference to `XML_ParserCreate'
xml.cpp:(.text+0x1489): undefined reference to `XML_SetUserData'
xml.cpp:(.text+0x149b): undefined reference to `XML_SetDoctypeDeclHandler'
xml.cpp:(.text+0x14ad): undefined reference to `XML_SetElementHandler'
xml.cpp:(.text+0x14ba): undefined reference to `XML_SetCharacterDataHandler'
xml.cpp:(.text+0x14cf): undefined reference to `XML_Parse'
xml.cpp:(.text+0x14db): undefined reference to `XML_GetErrorCode'
xml.cpp:(.text+0x14e2): undefined reference to `XML_ErrorString'
xml.cpp:(.text+0x14ed): undefined reference to `XML_GetCurrentLineNumber'
xml.cpp:(.text+0x14f8): undefined reference to `XML_GetCurrentColumnNumber'
xml.cpp:(.text+0x1503): undefined reference to `XML_ParserFree'
xml.cpp:(.text+0x1552): undefined reference to `XML_ParserFree'
is linkage needed dbus-c++ or maybe not ?
Original comment by v.tolsto...@gtempaccount.com
on 24 Feb 2008 at 4:24
dbus-c++ is needed by linkage.
Judging from the linking errors you don't have libxml installed.
Original comment by ZeFl...@gmail.com
on 27 Feb 2008 at 8:37
Original comment by ZeFl...@gmail.com
on 8 Apr 2008 at 4:32
ebuild is incorrect.
should be --enable-glib=yes
somethink like this
src_unpack() {
git_src_unpack
cd "${S}"
eautoreconf
}
src_compile() {
#econf $(use_enable glib) \
econf $(use_enable doc doxygen-docs) --enable-glib=yes || die "econf failed"
emake || die "emake failed"
}
src_install() {
make install DESTDIR=${D} || die "emake install failed"
}
Original comment by denis.go...@gmail.com
on 16 Apr 2008 at 8:55
Thank You, Denis!
Original comment by v.tolsto...@gtempaccount.com
on 17 Apr 2008 at 5:57
Original issue reported on code.google.com by
v.tolsto...@gtempaccount.com
on 19 Feb 2008 at 9:10