[big / cats / code / f / fw / j / m / ma / o / w / z] [sc / scdev] [wiki / schism] [iichan (wakachan) / 2ch.us]
[Burichan] [Futaba] [Photon] [Transmission] [Wiiabu] - [Home]

[Return]
Posting mode: Reply
Spam trap (leave blank):
Name
Link
Subject
Comment
File
  • Supported file types are: JPG, PNG, GIF, MP3, M4A, AAC, OGG, IT, S3M, XM, MOD, ZIP, TAR, GZ, BZ2, TGZ, MID
  • Maximum file size allowed is 20480 KB.
  • Images greater than 175x175 pixels will be thumbnailed.
  • Protect your name; use a tripcode.
  • Thread Index

No.536

I try to compile CVS ver. on FreeBSD 6.3

  1. Has corrected symbolical references to utilities automake (INSTALL, install-sh, etc) as they did not work in my system.
  2. A mistake at compilation:

code:
.....deps/xkb.Tpo -c -o xkb.o test -f 'sys/x11/xkb.c' || echo './'sys/x11/xkb.c
sys/x11/xkb.c: In function `_key_info_setup':
sys/x11/xkb.c:91: error: `us_kb_map' undeclared (first use in this function)
sys/x11/xkb.c:91: error: (Each undeclared identifier is reported only once
sys/x11/xkb.c:91: error: for each function it appears in.)
sys/x11/xkb.c: In function `key_scancode_lookup':
sys/x11/xkb.c:143: error: `us_kb_map' undeclared (first use in this function)
*** Error code 1

No.539

Add the following after line 49, but before the #endif:

#else
static void *us_kb_map;

I'm curious as to why HAVE_X11_EXTENSIONS_XKB_H
isn't active on your FreeBSD 6.3 - perhaps you're missing some headers? Perhaps autoconf didn't find xkb.h?

Posting logs (config.log for example) would help with this...

No.540
File: config.log.tar.gz -(7 kb)  7 kb

Thanks!
Compilation have come to the end successfully (after correct xkb.c). Schism works)

config.log in attach

No.541

>>540

conftest.c:79:32: X11/extensions/XKB.h: No such file or directory

Is there an XKB.h on your system? Can you run locate -i xkb.h and perhaps do some digging?

Without xkb support, FreeBSD users with non-US or non-qwerty keyboards/layouts will have great difficulty using schismtracker...

No.544

>>541
Schism certainly doesn't work with a dvorak keyboard, are you saying it would be worse without xkb?

No.545

>>Can you run locate -i xkb.h and perhaps do some digging?

Yes:
===========
[nau@buddha ~]locate -i xkb.h
/usr/local/include/X11/extensions/XKB.h
============

>>will have great difficulty using >>schismtracker...

All hotkeys which has had time to check up work, in the pattern editor too all is good.

I use "ru, us"
xorg.conf:
==========
Section "InputDevice"

Identifier  "Keyboard1"
Driver "kbd"
Option "AutoRepeat" "500 30"
Option "XkbVariant" "winkeys"
Option "XkbRules" "xorg"
Option "XkbModel" "pc101"
Option "XkbLayout" "us,ru"
#ru"
Option "XkbOptions" "grp:caps_toggle,grp_led:scroll"
#,keypad:legacy"

EndSection
==============

No.546

>>545 Ah I see it's in /usr/local/ I'll see about fixing this up later...

No.547

>>545

If you run configure as:

./configure --x-includes=/usr/local/include

does it build correctly?



[]