From kde-linux Thu Jun 14 02:38:01 2007 From: Firas Kraiem Date: Thu, 14 Jun 2007 02:38:01 +0000 To: kde-linux Subject: Re: [kde-linux] knetworkmanager won't compile...needs DBus-Qt Message-Id: <200706140438.02083.fkraiem () free ! fr> X-MARC-Message: https://marc.info/?l=kde-linux&m=118178874823911 On Thursday 14 June 2007 03:50:16 Travis M. wrote: > I am using Linux from Scratch with DBus 1.0.2 with the DBus-Qt > bindings installed. And, my DBus and DBus-Qt headers are split up like > this, so the "configure" script can't find my DBus-Qt headers, Ubuntu > 7.04 has a "dbus/connection.h" wrapper header to fix this. My dbus > header dirs are split up like this (from the "tree" command): There should be switches you can pass to your configure script to tell it where your headers are, something like : $ ./configure --with-dbus-includes=/usr/include/dbus-1.0 Run ./configure --help to know what they are. Firas > > travis@mcp-hexaflake:/tmp/tree-1.5.1.1$ ./tree /usr/include/dbus-1.0/ > /usr/include/dbus-1.0/ > > |-- dbus > | > | |-- dbus-address.h > | |-- dbus-bus.h > | |-- dbus-connection.h > | |-- dbus-errors.h > | |-- dbus-glib-bindings.h > | |-- dbus-glib-error-enum.h > | |-- dbus-glib-lowlevel.h > | |-- dbus-glib.h > | |-- dbus-gtype-specialized.h > | |-- dbus-macros.h > | |-- dbus-memory.h > | |-- dbus-message.h > | |-- dbus-misc.h > | |-- dbus-pending-call.h > | |-- dbus-protocol.h > | |-- dbus-python.h > | |-- dbus-server.h > | |-- dbus-shared.h > | |-- dbus-signature.h > | |-- dbus-threads.h > | |-- dbus-types.h > | > | `-- dbus.h > > `-- qt3 > `-- dbus > > |-- qdbusconnection.h > |-- qdbusdata.h > |-- qdbusdatalist.h > |-- qdbusdatamap.h > |-- qdbuserror.h > |-- qdbusmacros.h > |-- qdbusmessage.h > |-- qdbusobject.h > |-- qdbusobjectpath.h > |-- qdbusproxy.h > > `-- qdbusvariant.h > > 3 directories, 33 files > travis@mcp-hexaflake:/tmp/tree-1.5.1.1$ > > If I try to compile knetworkmanager 0.1 (the stable version at the > time of writing), with default everything (just extract the source and > run ./configure, and then make), I get this: > > travis@mcp-hexaflake:~/KNetworkManager/knetworkmanager-0.1$ > ./configure --with-dbus-sys=/etc/dbus-1/system.d --with-distro=lfs > --enable-final > > checking for D-BUS... checking for pkg-config... /usr/bin/pkg-config > checking for dbus-1 >= 0.33, hal, libnm-util... yes > checking PACKAGE_CFLAGS... -DDBUS_API_SUBJECT_TO_CHANGE > -I/usr/local/include/NetworkManager -I/usr/include/dbus- 1.0 > -I/usr/lib/dbus-1.0/include -I/usr/include/hal -I/usr/include/glib-2.0 > -I/usr/lib/glib-2.0/include > checking PACKAGE_LIBS... -L/usr/local/lib -lhal -ldbus-1 -lnm-util > -lglib-2.0 yes > checking dbus/connection.h usability... no > checking dbus/connection.h presence... no > checking for dbus/connection.h... no > configure: WARNING: You need D-Bus/Qt3 bindings > Your distribution (lfs) is not yet supported (e.g. you will not be > able to launch a tool to configure dial-up connections.) > checking if knetworkmanager should be compiled... no > checking if po should be compiled... yes > configure: creating ./config.status > > Good - your configure finished. Start make now > > travis@mcp-hexaflake:~/KNetworkManager/knetworkmanager-0.1$ > > Even though it says that knetworkmanager will not be compiled, due to > the DBus Qt headers missing, I decided to run make, and I get this: > > travis@mcp-hexaflake:~/KNetworkManager/knetworkmanager-0.1$ make > WARNING: use unsermake instead of make or use a wrapper script, e.g. > makeobj!!! unsermake all > make: unsermake: Command not found > make: *** [all] Error 127 > travis@mcp-hexaflake:~/KNetworkManager/knetworkmanager-0.1$ > > What patches do you suggest I apply to get that make error to go away? > I applied the Ubuntu patches, and those patches got that problem to go > away, but who knows what else it did to the code.... > > Anyways, here is the *fixed* knetworkmanager with the Ubuntu patches > applied (as you can see, it's not fixed): > > travis@mcp-hexaflake:~/KNetworkManager/knetworkmanager-0.1$ patch -Np1 > -i ../knetmgr.patch > patching file po/bg/Makefile.in > patching file po/br/Makefile.in > patching file po/da/Makefile.in > patching file po/de/Makefile.in > patching file po/cs/Makefile.in > patching file po/el/Makefile.in > patching file po/es/Makefile.in > patching file po/fi/Makefile.in > patching file po/ga/Makefile.in > patching file po/fr/Makefile.in > patching file po/gl/Makefile.in > patching file po/hu/Makefile.in > patching file po/ja/Makefile.in > patching file po/it/Makefile.in > patching file po/ka/Makefile.in > patching file po/km/Makefile.in > patching file po/nb/Makefile.in > patching file po/nl/Makefile.in > patching file po/pa/Makefile.in > patching file po/pl/Makefile.in > patching file po/pt/Makefile.in > patching file po/ru/Makefile.in > patching file po/sk/Makefile.in > patching file po/sl/Makefile.in > patching file po/sv/Makefile.in > patching file po/tr/Makefile.in > patching file po/uk/Makefile.in > patching file po/pt_BR/Makefile.in > patching file po/zh_CN/Makefile.in > patching file po/zh_TW/Makefile.in > patching file po/Makefile.in > patching file configure > patching file Makefile.in > patching file config.h.in > patching file knetworkmanager/src/Makefile.in > patching file knetworkmanager/pics/Makefile.in > patching file knetworkmanager/Makefile.in > patching file debian/patches/kubuntu_07_indicate_manual_config.diff > patching file debian/patches/10-configure_autostart.patch > patching file debian/patches/05-no_deserialize.patch > patching file debian/patches/09-dbus_bool_t.patch > patching file debian/patches/kubuntu_01_kdepot.patch > patching file debian/patches/07-overlay_icon_vpn.patch > patching file debian/patches/kubuntu_04_dcop_unique_service.diff > patching file debian/patches/kubuntu_05_networkstatus.diff > patching file debian/patches/01-fix_french_translation.patch > patching file debian/patches/06-pretty_notification.patch > patching file debian/patches/kubuntu_06_wpa_store_password.diff > patching file debian/patches/kubuntu_02_clean-desktop_file.patch > patching file debian/patches/kubuntu_03_static_config.diff > patching file debian/patches/08-disable_sm.patch > patching file debian/knetworkmanager.1.docbook > patching file debian/compat > patching file debian/copyright > patching file debian/control > patching file debian/DEBIAN-KUBUNTU-DIFFERENCES > patching file debian/rules > patching file debian/changelog > travis@mcp-hexaflake:~/KNetworkManager/knetworkmanager-0.1$ > ./configure --with-dbus-sys=/etc/dbus-1/system.d --with-distro=lfs > --enable-final > > checking for D-BUS... checking for pkg-config... /usr/bin/pkg-config > checking for dbus-1 >= 0.33, hal, libnm-util... yes > checking PACKAGE_CFLAGS... -DDBUS_API_SUBJECT_TO_CHANGE > -I/usr/local/include/NetworkManager -I/usr/include/dbus- 1.0 > -I/usr/lib/dbus-1.0/include -I/usr/include/hal -I/usr/include/glib-2.0 > -I/usr/lib/glib-2.0/include > checking PACKAGE_LIBS... -L/usr/local/lib -lhal -ldbus-1 -lnm-util > -lglib-2.0 yes > checking dbus/connection.h usability... no > checking dbus/connection.h presence... no > checking for dbus/connection.h... no > configure: WARNING: You need D-Bus/Qt3 bindings > Your distribution (lfs) is not yet supported (e.g. you will not be > able to launch a tool to configure dial-up connections.) > checking if knetworkmanager should be compiled... no > checking if po should be compiled... yes > configure: creating ./config.status > wrong input (flag != 4) at admin/conf.change.pl line 117, <> line 1278. > > Good - your configure finished. Start make now > > I then ran make, and it creates a bunch of ".mo" files only. > > Since it's still messed up...what do you suggest I do now? ___________________________________________________ This message is from the kde-linux mailing list. Account management: https://mail.kde.org/mailman/listinfo/kde-linux. Archives: http://lists.kde.org/. More info: http://www.kde.org/faq.html.