You are not logged in.
Pages: 1
make[3]: Entering directory `/home/david/src/gnome-control-center/panels/datetime'
gdbus-codegen \
--interface-prefix org.freedesktop. \
--generate-c-code timedated \
./timedated1-interface.xml
Traceback (most recent call last):
File "/usr/local/bin/gdbus-codegen", line 39, in <module>
from codegen import codegen_main
ImportError: No module named codegen
make[3]: *** [timedated.h] Error 1
make[3]: Leaving directory `/home/david/src/gnome-control-center/panels/datetime'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/david/src/gnome-control-center/panels'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/david/src/gnome-control-center'
make: *** [all] Error 2
That's the error I'm getting when I try to build gnome-control-center 3.4.
This is how I cloned the repository:
git clone -b gnome-3-4 http://git.gnome.org/browse/gnome-control-center
I can't find any info on codegen and I also tried "PYTHON=/usr/bin/python2 ./autogen.sh" and "PYTHON=/usr/bin/python2 make" just in case.
Any ideas? Thank you.
Offline
How about building from ABS?
LENOVO Y 580 IVYBRIDGE 660M NVIDIA
Unix is user-friendly. It just isn't promiscuous about which users it's friendly with. - Steven King
Offline
How about building from ABS?
I can't find a way to use ABS for it and I really need to build from source.
Offline
Are you saying ABS is not working for you?
Did you follow the wiki page?
https://wiki.archlinux.org/index.php/ABS
LENOVO Y 580 IVYBRIDGE 660M NVIDIA
Unix is user-friendly. It just isn't promiscuous about which users it's friendly with. - Steven King
Offline
Are you saying ABS is not working for you?
Did you follow the wiki page?
https://wiki.archlinux.org/index.php/ABS
What I'm saying is that I prefer to use the default build system for that specific project, because I want to make sure it works on several distributions.
Offline
actually I am not able to build it through ABS too. It is throwing up some errors too. But different from yours.
pp-utils.c: In function 'get_ppd_name':
pp-utils.c:938:27: error: dereferencing pointer to incomplete type
pp-utils.c:940:39: error: dereferencing pointer to incomplete type
pp-utils.c:940:73: error: dereferencing pointer to incomplete type
pp-utils.c:942:50: error: dereferencing pointer to incomplete type
pp-utils.c:943:36: error: dereferencing pointer to incomplete type
pp-utils.c:953:50: error: dereferencing pointer to incomplete type
pp-utils.c:955:46: error: dereferencing pointer to incomplete type
pp-utils.c:956:35: error: dereferencing pointer to incomplete type
pp-utils.c:957:49: error: dereferencing pointer to incomplete type
pp-utils.c:958:51: error: dereferencing pointer to incomplete type
pp-utils.c:959:40: error: dereferencing pointer to incomplete type
pp-utils.c:960:54: error: dereferencing pointer to incomplete type
pp-utils.c:961:51: error: dereferencing pointer to incomplete type
pp-utils.c:962:40: error: dereferencing pointer to incomplete type
pp-utils.c:963:44: error: dereferencing pointer to incomplete type
pp-utils.c:964:51: error: dereferencing pointer to incomplete type
pp-utils.c:965:40: error: dereferencing pointer to incomplete type
pp-utils.c:966:47: error: dereferencing pointer to incomplete type
pp-utils.c:968:38: error: dereferencing pointer to incomplete type
pp-utils.c:1012:27: error: dereferencing pointer to incomplete type
pp-utils.c:1017:43: error: dereferencing pointer to incomplete type
pp-utils.c:1017:77: error: dereferencing pointer to incomplete type
pp-utils.c:1019:54: error: dereferencing pointer to incomplete type
pp-utils.c:1020:40: error: dereferencing pointer to incomplete type
pp-utils.c:1030:54: error: dereferencing pointer to incomplete type
pp-utils.c:1032:50: error: dereferencing pointer to incomplete type
pp-utils.c:1033:39: error: dereferencing pointer to incomplete type
pp-utils.c:1034:53: error: dereferencing pointer to incomplete type
pp-utils.c:1035:55: error: dereferencing pointer to incomplete type
pp-utils.c:1036:44: error: dereferencing pointer to incomplete type
pp-utils.c:1037:58: error: dereferencing pointer to incomplete type
pp-utils.c:1038:55: error: dereferencing pointer to incomplete type
pp-utils.c:1039:44: error: dereferencing pointer to incomplete type
pp-utils.c:1040:48: error: dereferencing pointer to incomplete type
pp-utils.c:1041:55: error: dereferencing pointer to incomplete type
pp-utils.c:1042:44: error: dereferencing pointer to incomplete type
pp-utils.c:1043:51: error: dereferencing pointer to incomplete type
pp-utils.c:1045:42: error: dereferencing pointer to incomplete type
pp-utils.c: In function 'ccGetAllowedUsers':
pp-utils.c:1355:27: error: dereferencing pointer to incomplete type
pp-utils.c:1355:61: error: dereferencing pointer to incomplete type
pp-utils.c:1357:19: error: dereferencing pointer to incomplete type
pp-utils.c:1358:19: error: dereferencing pointer to incomplete type
pp-utils.c:1359:31: error: dereferencing pointer to incomplete type
pp-utils.c:1363:29: error: dereferencing pointer to incomplete type
pp-utils.c:1367:38: error: dereferencing pointer to incomplete type
pp-utils.c:1371:41: error: dereferencing pointer to incomplete type
pp-utils.c: In function 'get_ppd_attribute':
pp-utils.c:1395:11: warning: 'ppdFindAttr' is deprecated (declared at /usr/include/cups/ppd.h:407) [-Wdeprecated-declarations]
pp-utils.c: In function 'renew_cups_subscription':
pp-utils.c:1457:19: error: dereferencing pointer to incomplete type
pp-utils.c:1462:19: error: dereferencing pointer to incomplete type
pp-utils.c:1484:19: error: dereferencing pointer to incomplete type
pp-utils.c:1489:24: error: dereferencing pointer to incomplete type
pp-utils.c: In function 'printer_rename':
pp-utils.c:1658:23: error: dereferencing pointer to incomplete type
pp-utils.c:1662:46: error: dereferencing pointer to incomplete type
pp-utils.c:1666:43: error: dereferencing pointer to incomplete type
pp-utils.c:1669:31: error: dereferencing pointer to incomplete type
pp-utils.c:1671:35: error: dereferencing pointer to incomplete type
pp-utils.c:1672:39: error: dereferencing pointer to incomplete type
pp-utils.c:1673:54: error: dereferencing pointer to incomplete type
pp-utils.c:1677:31: error: dereferencing pointer to incomplete type
pp-utils.c:1679:34: error: dereferencing pointer to incomplete type
pp-utils.c:1680:39: error: dereferencing pointer to incomplete type
pp-utils.c:1681:53: error: dereferencing pointer to incomplete type
pp-utils.c:1685:31: error: dereferencing pointer to incomplete type
pp-utils.c:1687:34: error: dereferencing pointer to incomplete type
pp-utils.c:1688:39: error: dereferencing pointer to incomplete type
pp-utils.c:1689:53: error: dereferencing pointer to incomplete type
make[3]: *** [pp-utils.lo] Error 1
make[3]: Leaving directory `/var/abs/extra/gnome-control-center/src/gnome-control-center-3.4.2/panels/printers'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/abs/extra/gnome-control-center/src/gnome-control-center-3.4.2/panels'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/abs/extra/gnome-control-center/src/gnome-control-center-3.4.2'
make: *** [all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
LENOVO Y 580 IVYBRIDGE 660M NVIDIA
Unix is user-friendly. It just isn't promiscuous about which users it's friendly with. - Steven King
Offline
Hi you !
Please patch it.
http://sources.gentoo.org/cgi-bin/viewv … -1.6.patch
Have fun ^^
Offline
Hi you !
Please patch it.
http://sources.gentoo.org/cgi-bin/viewv … -1.6.patch
Have fun ^^
Thanks a lot, but I tried to apply it and I got these errors:
patching file panels/printers/cc-printers-panel.c
Hunk #1 succeeded at 58 (offset -1 lines).
Hunk #2 succeeded at 316 (offset -6 lines).
Hunk #3 succeeded at 324 (offset -6 lines).
Hunk #4 succeeded at 2293 (offset 20 lines).
patching file panels/printers/pp-new-printer-dialog.c
Hunk #1 succeeded at 59 (offset -1 lines).
Hunk #2 FAILED at 1704.
1 out of 2 hunks FAILED -- saving rejects to file panels/printers/pp-new-printer-dialog.c.rej
patching file panels/printers/pp-utils.c
Hunk #1 FAILED at 36.
Hunk #2 succeeded at 935 (offset -42 lines).
Hunk #3 succeeded at 950 (offset -42 lines).
Hunk #4 succeeded at 1009 (offset -42 lines).
Hunk #5 succeeded at 1027 (offset -42 lines).
Hunk #6 FAILED at 1382.
Hunk #7 succeeded at 1454 (offset -31 lines).
Hunk #8 succeeded at 1481 (offset -31 lines).
Hunk #9 succeeded at 1655 (offset -32 lines).
2 out of 9 hunks FAILED -- saving rejects to file panels/printers/pp-utils.c.rej
exit 1
The patch says it was made for 3.4.2, but I am patching it on 3.4.2 and it's not working.
Offline
Pages: 1