You are not logged in.
Whenever I try and install xorg-xpyb-git for pager-multihead-git and pytyle3 which are both mentioned in the openbox wiki I get a build error. I am unsure how to view the full log but what is on my screen now
KeryError: 'init64_t'
Makefile:1038: recipe for target 'sync.py' failed
make[1]: *** [sync.py] Error 1
make[1]: Leaving directory '/.............
makefile:464: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1
==> ERROR: A failure occured in build().
I have tried installing it manually through the terminal and using yaourt and I get the same error. Is there anyway around this?
Offline
Do you have base-devel group installed?
Offline
Yes, I just reinstalled it to make sure and I am getting the same error.
Offline
I get the same error on my 32-bit Arch:
python2 ./py_client.py -p /usr/lib/python2.7/site-packages /usr/share/xcb/sync.xml
Traceback (most recent call last):
File "./py_client.py", line 626, in <module>
module.generate()
File "/usr/lib/python2.7/site-packages/xcbgen/state.py", line 103, in generate
item.out(name)
File "./py_client.py", line 513, in py_request
_py_type_setup(self, name, 'Request')
File "./py_client.py", line 231, in _py_type_setup
_py_type_setup(field.type, field.field_type)
File "./py_client.py", line 231, in _py_type_setup
_py_type_setup(field.type, field.field_type)
File "./py_client.py", line 213, in _py_type_setup
self.py_format_str = _cardinal_types[_t(self.name)]
KeyError: 'int64_t'
Makefile:1038: recipe for target 'sync.py' failed
make[1]: *** [sync.py] Error 1
make[1]: Leaving directory '/home/karol/apps/xorg-xpyb-git/src/xpyb-build/src'
Makefile:464: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1
Offline
Well I'm on 64-bit arch... maybe the package is outdated.
Offline
It's a git package, so the source is as current as it gets :-)
Offline
hmm guess ill try downloading and updating the dependencies xorg-xypb-git requires. By the way, where is the error log file located?
Offline
==> Finished making: xorg-xpyb-git 20120808-3 (Mon Nov 11 19:47:47 EET 2013)
Seems that a few files are missing some type declarations (specifically for this case, INT64).
$ find <SOURCE_DIRECTORY> -type f -name py_client.py
In EACH of those files you'll see a block:
_cardinal_types = {'CARD8': 'B', 'uint8_t': 'B',
'CARD16': 'H','uint16_t': 'H',
'CARD32': 'I','uint32_t': 'I',
'INT8': 'b', 'int8_t': 'b',
'INT16': 'h', 'int16_t': 'h',
'INT32': 'i', 'int32_t': 'i',
'BYTE': 'B',
'BOOL': 'B',
'char': 'b',
'void': 'B',
'float': 'f',
'double' : 'd'}
Just modify all of those files to include INT64:
_cardinal_types = {'CARD8': 'B', 'uint8_t': 'B',
'CARD16': 'H','uint16_t': 'H',
'CARD32': 'I','uint32_t': 'I',
'INT8': 'b', 'int8_t': 'b',
'INT16': 'h', 'int16_t': 'h',
'INT32': 'i', 'int32_t': 'i',
'INT64': 'i', 'int64_t': 'i',
'BYTE': 'B',
'BOOL': 'B',
'char': 'b',
'void': 'B',
'float': 'f',
'double' : 'd'}
Rebuild by running:
$ makepkg -e
Offline
Awesome, you rock! Thanks for the help. ^_^
Offline
It looks like I'm running into another error this time while trying to build "pager-multihead-git"
/usr/lib/python2.7/site-package/gtk-2.0/gtk/__init__.py:57: GtkWarning: Could not open display
warning.warn(str(e), _gtk.Warning)
/usr/lib/python2.7/site-packages/keybinder/__init__py:26: GtkWarning: IA__gdk_keymap_get_for_display: assertion 'GDK_IS_DISPLAY (display)' failed from _keybinder import*
/usr/lib/python2.7/site-packages/keybinder/__init__py.26: GtkWarning: IA__gdk__screen_get_root_window: assertion 'GDK_IS_SCREEN (screen)' failed from _keybinder import*
/home/joseph/builds/pager-multihead-git/PKGBUILD: line 22: 9342 segmentation fault (core dumped) python2 ./setup.py install --root$pkgdir
Does this mean I need to install GTK?
Offline
https://wiki.archlinux.org/index.php/makepkg#Usage
If required dependencies are missing, makepkg will issue a warning before failing. To build the package and install needed dependencies automatically, simply use the command:
$ makepkg -s
Offline
It worked this time using the -s switch but I am still a bit confused because it didnt download anything.
Anyways thanks again COPE. ^_^
Offline