knm with 0.7

Michael Biebl biebl at debian.org
Sat Sep 29 02:43:25 CEST 2007


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?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
Url : http://mail.kde.org/pipermail/kde-networkmanager/attachments/20070929/154d178d/attachment.pgp 


More information about the kde-networkmanager mailing list