knm with 0.7

Beso givemesugarr at gmail.com
Sat Sep 29 13:01:37 CEST 2007


i still cannot run configure anymore. i've deleted completely the kdereview
dir and restarted the svn from its start and it seems that there were some
changes in the kdereview and they have deleted the makefile.cvs and the
configure and left only this file:

fujitsu kdereview # cat CMakeLists.txt
project(kdereview)

# search packages used by KDE
find_package(KDE4 REQUIRED)
include (KDE4Defaults)
include (MacroLibrary)
include(MacroOptionalAddSubdirectory)

add_definitions (${QT_DEFINITIONS} ${KDE4_DEFINITIONS})
include_directories (${CMAKE_SOURCE_DIR} ${CMAKE_BINARY_DIR}
${KDE4_INCLUDES})

macro_optional_add_subdirectory( kaider )
macro_optional_add_subdirectory(doc)

macro_display_feature_log()

when i try cmake on it breaks because i still use kde 3.5.7 and it's
requiring the kde4 libs.

this happens whenever i try to build the first time the svn version, so
there's the possibility that the script doesn't work anymore and new users
would not be able to compile the svn version.


2007/9/29, Michael Biebl <biebl at debian.org>:
>
> Helmut Schaa schrieb:
> > Am Freitag, 28. September 2007 14:54:19 schrieb Beso:
> >> the one from
> >> branches/extragear/kde3/network/networkmanager
> >
> > Ok, good :)
> >
> >> i compile it with the suse script:
> >>
> >> #!/bin/sh
> >>
> >> svn co -N svn://anonsvn.kde.org/home/kde/trunk/kdereview
> >> cd kdereview
> >> svn co svn://anonsvn.kde.org/home/kde/branches/KDE/3.5/kde-common/admin
> >> svn co
> >>
> svn://anonsvn.kde.org/home/kde/branches/extragear/kde3/network/knetworkmana
> >> ger/ make -f Makefile.cvs
> >> ./configure --prefix=`kde-config --prefix` --without-arts (because i
> don't
> >> use arts in my gentoo)
> >> make
> >> make install
> >
> > Did you clean the build directory before running the script?
> > Try to compile it in a completely new directory.
> >
> >> and i have managed to compile it well before that. the last time i had
> it
> >> compiled was about 10 days ago if i don't recall badly.
> >> after it failed i tried to reconfigure normally with only
> --without-arts
> >> option and then make it out from the script but it failed at the same
> point
> >> as before. if the svn didn't changed from 10 days ago there's something
> >> weird happening (maybe on my pc, but i don't seem to have
> inconsistencies
> >> in the system) since nothing changed, but if something changed in the
> svn
> >> maybe these changes have something bad inside.
> >
> > That's indeed weird...
> >
> > If I recall correctly there should not have been any changes since about
> two
> > weeks.
> >
> > Try to use the admin directory provided by your KDE installation instead
> of
> > the one from KDE-SVN.
>
> Try to add a
>
> #MIN_CONFIG(3.3)
>
> line to the top of your configure.in.in file and rerun "make -f
> admin/Makefile.common cvs". This way ./configure will be happy.
> It doesn't compile though against latest NM from svn (r2911).
> Here is the build log for knm r718329:
>
> make[2]: Entering directory
> `/home/michael/svn/knetworkmanager-0.7/obj-i486-linux-gnu/src'
> /bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I.
> -I/home/michael/svn/knetworkmanager-0.7/./src -I..
> -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include
> -DDBUS_API_SUBJECT_TO_CHANGE -I/usr/include/hal -I/usr/include/dbus-1.0
> -I/usr/lib/dbus-1.0/include      -I/usr/include/glib-2.0
> -I/usr/lib/glib-2.0/include    -I/usr/include/glib-2.0
> -I/usr/lib/glib-2.0/include   -I/usr/include/kde
> -I/usr/share/qt3/include -I.   -DQT_THREAD_SUPPORT  -D_REENTRANT
> -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE
> -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG
> -DNO_DEBUG -O2 -g -Wall -O2 -Wformat-security -Wmissing-format-attribute
> -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common
> -UQT_NO_ASCII_CAST -c -o main.lo
> /home/michael/svn/knetworkmanager-0.7/./src/main.cpp
> g++ -DHAVE_CONFIG_H -I. -I/home/michael/svn/knetworkmanager-0.7/./src
> -I.. -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include
> -DDBUS_API_SUBJECT_TO_CHANGE -I/usr/include/hal -I/usr/include/dbus-1.0
> -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0
> -I/usr/lib/glib-2.0/include -I/usr/include/glib-2.0
> -I/usr/lib/glib-2.0/include -I/usr/include/kde -I/usr/share/qt3/include
> -I. -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi
> -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall
> -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -g -Wall -O2
> -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor
> -fno-exceptions -fno-check-new -fno-common -UQT_NO_ASCII_CAST -c
> /home/michael/svn/knetworkmanager-0.7/./src/main.cpp  -fPIC -DPIC -o
> .libs/main.o
> In file included from
> /home/michael/svn/knetworkmanager-0.7/./src/knetworkmanager.h:30,
>                  from
> /home/michael/svn/knetworkmanager-0.7/./src/main.cpp:25:
> /usr/include/libnm-glib/nm-client.h:8:28: error: NetworkManager.h: No
> such file or directory
> In file included from /usr/include/libnm-glib/nm-client.h:10,
>                  from
> /home/michael/svn/knetworkmanager-0.7/./src/knetworkmanager.h:30,
>                  from
> /home/michael/svn/knetworkmanager-0.7/./src/main.cpp:25:
> /usr/include/libnm-glib/nm-device.h:10:27: error: nm-connection.h: No
> such file or directory
> In file included from
> /home/michael/svn/knetworkmanager-0.7/./src/knetworkmanager-devicestore.h
> :34,
>                  from
> /home/michael/svn/knetworkmanager-0.7/./src/knetworkmanager.h:37,
>                  from
> /home/michael/svn/knetworkmanager-0.7/./src/main.cpp:25:
> /home/michael/svn/knetworkmanager-0.7
> /./src/knetworkmanager-devicestore_dbus.h:32:41:
> error: NetworkManager/dbus-helpers.h: No such file or directory
> In file included from /usr/include/libnm-glib/nm-client.h:10,
>                  from
> /home/michael/svn/knetworkmanager-0.7/./src/knetworkmanager.h:30,
>                  from
> /home/michael/svn/knetworkmanager-0.7/./src/main.cpp:25:
> /usr/include/libnm-glib/nm-device.h:29: error: 'NMDeviceState' has not
> been declared
> /usr/include/libnm-glib/nm-device.h:51: error: 'NMDeviceState' does not
> name a type
> /usr/include/libnm-glib/nm-device.h:55: error: 'NMDeviceType' does not
> name a type
> In file included from
> /home/michael/svn/knetworkmanager-0.7/./src/knetworkmanager.h:30,
>                  from
> /home/michael/svn/knetworkmanager-0.7/./src/main.cpp:25:
> /usr/include/libnm-glib/nm-client.h:32: error: 'NMState' has not been
> declared
> /usr/include/libnm-glib/nm-client.h:47: error: 'NMState' does not name a
> type
> make[2]: *** [main.lo] Error 1
> make[2]: Leaving directory
> `/home/michael/svn/knetworkmanager-0.7/obj-i486-linux-gnu/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory
> `/home/michael/svn/knetworkmanager-0.7/obj-i486-linux-gnu'
> make: *** [all] Error 2
>
>
> --
> Why is it that all of the instruments seeking intelligent life in the
> universe are pointed away from Earth?
>
>
> _______________________________________________
> kde-networkmanager mailing list
> kde-networkmanager at kde.org
> https://mail.kde.org/mailman/listinfo/kde-networkmanager
>
>
>


-- 
dott. ing. beso
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/kde-networkmanager/attachments/20070929/a8437300/attachment.html 


More information about the kde-networkmanager mailing list