51

Re: Sao cài xvnkb quài cho ubuntu hông được kà ?

Trong Core (phần lõi) của một số distro có khá nhiều thư viện, nếu thiếu cứ cài  vào.

Các bác nên cài đủ thư viện để cài một số chương trình từ nguồn (x-unikey, xvnkb, gxine ...)

Thiếu thư viện thì làm sao mà biên dịch được, huống chi là cài.

www.jasperlotus.blogspot.com

52

Re: Sao cài xvnkb quài cho ubuntu hông được kà ?

Nếu muốn dùng xvnkb, tạo cái locale en_US.UTF-8 trước, xem tài liệu của x-unikey để biết thêm chi tiết!

www.jasperlotus.blogspot.com

53

Re: Sao cài xvnkb quài cho ubuntu hông được kà ?

macatung viết:

Checking uchar... no
Checking ushort... yes
Checking uint... yes
Checking ulong... yes
Checking dynamic linking loader... yes
Checking X11 lib... /usr/X11R6
Checking pkg-config... no
Checking xft-config... no
Checking Xft... no

Compile options:
  Enable XFT: no
  Enable spell checking: yes
  Enable extended keystroke: no
  Enable ABC liked Telex keystroke: no
done.

Type "make" to compile
...

Cài gói libX11-devel xong thì nó lại báo lỗi như trên
Tới đây thì mình không biết cách làm nữa , mình cài trên Fedore Core 6 .

54

Re: Sao cài xvnkb quài cho ubuntu hông được kà ?

Lỗi đâu mà lỗi.

Type "make" to compile

đánh "make" đi.

Lời nói chẳng mất tiền mua,
Lựa lời mà nói cho vừa lòng nhau.

55

Re: Sao cài xvnkb quài cho ubuntu hông được kà ?

đánh lệnh make nó báo lỗi này không cài được nữa .

[root@dhcppc0 xvnkb-0.2.9a]# make
cc -fpic -O3 -s -fomit-frame-pointer -D_REENTRANT  -DVERSION=\"0.2.9a\" -Wall -I/usr/X11R6/include -c xvnkb.c
cc -fpic -O3 -s -fomit-frame-pointer -D_REENTRANT  -DVERSION=\"0.2.9a\" -Wall -I/usr/X11R6/include -c visckey.c
cc -fpic -O3 -s -fomit-frame-pointer -D_REENTRANT  -DVERSION=\"0.2.9a\" -Wall -I/usr/X11R6/include -c property.c
property.c: In function ‘VKGetValue’:
property.c:66: warning: dereferencing type-punned pointer will break strict-aliasing rules
property.c: In function ‘VKGetValues’:
property.c:90: warning: dereferencing type-punned pointer will break strict-aliasing rules
cc -O3 -s -shared -fpic -Wl,-soname,xvnkb.so.0.2.9a xvnkb.o visckey.o property.o -o xvnkb.so.0.2.9a -L/usr/X11R6/lib -ldl
cc -fpic -O3 -s -fomit-frame-pointer -D_REENTRANT  -DVERSION=\"0.2.9a\" -Wall -I/usr/X11R6/include -c data.c
cc -fpic -O3 -s -fomit-frame-pointer -D_REENTRANT  -DVERSION=\"0.2.9a\" -Wall -I/usr/X11R6/include -c flash.c
cc -fpic -O3 -s -fomit-frame-pointer -D_REENTRANT  -DVERSION=\"0.2.9a\" -Wall -I/usr/X11R6/include -c main.c
cc -fpic -O3 -s -fomit-frame-pointer -D_REENTRANT  -DVERSION=\"0.2.9a\" -Wall -I/usr/X11R6/include -c event.c
cc -fpic -O3 -s -fomit-frame-pointer -D_REENTRANT  -DVERSION=\"0.2.9a\" -Wall -I/usr/X11R6/include -c mainwin.c
cc -fpic -O3 -s -fomit-frame-pointer -D_REENTRANT  -DVERSION=\"0.2.9a\" -Wall -I/usr/X11R6/include -c menu.c
cc -fpic -O3 -s -fomit-frame-pointer -D_REENTRANT  -DVERSION=\"0.2.9a\" -Wall -I/usr/X11R6/include -c hotkey.c
cc -fpic -O3 -s -fomit-frame-pointer -D_REENTRANT  -DVERSION=\"0.2.9a\" -Wall -I/usr/X11R6/include -c systray.c
cc -fpic -O3 -s -fomit-frame-pointer -D_REENTRANT  -DVERSION=\"0.2.9a\" -Wall -I/usr/X11R6/include -c mode.c
cc -fpic -O3 -s -fomit-frame-pointer -D_REENTRANT  -DVERSION=\"0.2.9a\" -Wall -I/usr/X11R6/include -c session.c
cc -fpic -O3 -s -fomit-frame-pointer -D_REENTRANT  -DVERSION=\"0.2.9a\" -Wall -I/usr/X11R6/include -c xconfig.c
cc -fpic -O3 -s -fomit-frame-pointer -D_REENTRANT  -DVERSION=\"0.2.9a\" -Wall -I/usr/X11R6/include -c xresource.c
cc -fpic -O3 -s -fomit-frame-pointer -D_REENTRANT  -DVERSION=\"0.2.9a\" -Wall -I/usr/X11R6/include -c label.c
cc -fpic -O3 -s -fomit-frame-pointer -D_REENTRANT  -DVERSION=\"0.2.9a\" -Wall -I/usr/X11R6/include -c button.c
cc -O3 -s data.o flash.o main.o event.o mainwin.o menu.o hotkey.o systray.o mode.o property.o session.o xconfig.o xresource.o label.o button.o msgbox.o -o xvnkb -L/usr/X11R6/lib -lX11 -ldl -lXft
/usr/bin/ld: cannot find -lXft
collect2: ld returned 1 exit status
make: *** [xvnkb] Error 1

Bi giờ mìnnh phải làm sao nữa  yikes

56

Re: Sao cài xvnkb quài cho ubuntu hông được kà ?

cài thêm Xft vào nữa chứ sao!

Sao bác kẹt xỉ cài ít thư viện thế, chạy thiếu ổn định mà lại mất công khi cài các gói khác nữa!

www.jasperlotus.blogspot.com

57

Re: Sao cài xvnkb quài cho ubuntu hông được kà ?

Sao bác kẹt xỉ cài ít thư viện thế, chạy thiếu ổn định mà lại mất công khi cài các gói khác nữa!

big_smile Mình mới tập sư dùng FC6  và đây là chương trình đău tiên mình cài theo kiểu compile .
Thx mọi người , mình đã cài thêm được gói thư viện libXft-devel.i386 . Nhưng khi đánh lệnh 'make' nó lại báo lối

[root@dhcppc0 xvnkb-0.2.9a]# ./configure --use-abcstroke

Configuration for xvnkb 0.2.9a on Linux

  Type "./configure --help" for more information

Checking uchar... no
Checking ushort... yes
Checking uint... yes
Checking ulong... yes
Checking dynamic linking loader... yes
Checking X11 lib... /usr/X11R6
Checking pkg-config... yes
Checking Xft... yes

Compile options:
  Enable XFT: yes
  Enable spell checking: yes
  Enable extended keystroke: no
  Enable ABC liked Telex keystroke: yes
done.

Type "make" to compile
[root@dhcppc0 xvnkb-0.2.9a]# make
cc -fpic -O3 -s -fomit-frame-pointer -D_REENTRANT -DUSE_XFT -I/usr/include/freetype2   -DVERSION=\"0.2.9a\" -Wall -I/usr/X11R6/include -c xvnkb.c
cc -fpic -O3 -s -fomit-frame-pointer -D_REENTRANT -DUSE_XFT -I/usr/include/freetype2   -DVERSION=\"0.2.9a\" -Wall -I/usr/X11R6/include -c visckey.c
cc -fpic -O3 -s -fomit-frame-pointer -D_REENTRANT -DUSE_XFT -I/usr/include/freetype2   -DVERSION=\"0.2.9a\" -Wall -I/usr/X11R6/include -c property.c
property.c: In function ‘VKGetValue’:
property.c:66: warning: dereferencing type-punned pointer will break strict-aliasing rules
property.c: In function ‘VKGetValues’:
property.c:90: warning: dereferencing type-punned pointer will break strict-aliasing rules
cc -O3 -s -shared -fpic -Wl,-soname,xvnkb.so.0.2.9a xvnkb.o visckey.o property.o -o xvnkb.so.0.2.9a -L/usr/X11R6/lib -ldl
cc -fpic -O3 -s -fomit-frame-pointer -D_REENTRANT -DUSE_XFT -I/usr/include/freetype2   -DVERSION=\"0.2.9a\" -Wall -I/usr/X11R6/include -c data.c
cc -fpic -O3 -s -fomit-frame-pointer -D_REENTRANT -DUSE_XFT -I/usr/include/freetype2   -DVERSION=\"0.2.9a\" -Wall -I/usr/X11R6/include -c flash.c
cc -fpic -O3 -s -fomit-frame-pointer -D_REENTRANT -DUSE_XFT -I/usr/include/freetype2   -DVERSION=\"0.2.9a\" -Wall -I/usr/X11R6/include -c main.c
cc -fpic -O3 -s -fomit-frame-pointer -D_REENTRANT -DUSE_XFT -I/usr/include/freetype2   -DVERSION=\"0.2.9a\" -Wall -I/usr/X11R6/include -c event.c
cc -fpic -O3 -s -fomit-frame-pointer -D_REENTRANT -DUSE_XFT -I/usr/include/freetype2   -DVERSION=\"0.2.9a\" -Wall -I/usr/X11R6/include -c mainwin.c
cc -fpic -O3 -s -fomit-frame-pointer -D_REENTRANT -DUSE_XFT -I/usr/include/freetype2   -DVERSION=\"0.2.9a\" -Wall -I/usr/X11R6/include -c menu.c
cc -fpic -O3 -s -fomit-frame-pointer -D_REENTRANT -DUSE_XFT -I/usr/include/freetype2   -DVERSION=\"0.2.9a\" -Wall -I/usr/X11R6/include -c hotkey.c
cc -fpic -O3 -s -fomit-frame-pointer -D_REENTRANT -DUSE_XFT -I/usr/include/freetype2   -DVERSION=\"0.2.9a\" -Wall -I/usr/X11R6/include -c systray.c
cc -fpic -O3 -s -fomit-frame-pointer -D_REENTRANT -DUSE_XFT -I/usr/include/freetype2   -DVERSION=\"0.2.9a\" -Wall -I/usr/X11R6/include -c mode.c
cc -fpic -O3 -s -fomit-frame-pointer -D_REENTRANT -DUSE_XFT -I/usr/include/freetype2   -DVERSION=\"0.2.9a\" -Wall -I/usr/X11R6/include -c session.c
cc -fpic -O3 -s -fomit-frame-pointer -D_REENTRANT -DUSE_XFT -I/usr/include/freetype2   -DVERSION=\"0.2.9a\" -Wall -I/usr/X11R6/include -c xconfig.c
cc -fpic -O3 -s -fomit-frame-pointer -D_REENTRANT -DUSE_XFT -I/usr/include/freetype2   -DVERSION=\"0.2.9a\" -Wall -I/usr/X11R6/include -c xresource.c
cc -fpic -O3 -s -fomit-frame-pointer -D_REENTRANT -DUSE_XFT -I/usr/include/freetype2   -DVERSION=\"0.2.9a\" -Wall -I/usr/X11R6/include -c label.c
cc -fpic -O3 -s -fomit-frame-pointer -D_REENTRANT -DUSE_XFT -I/usr/include/freetype2   -DVERSION=\"0.2.9a\" -Wall -I/usr/X11R6/include -c button.c
cc -O3 -s data.o flash.o main.o event.o mainwin.o menu.o hotkey.o systray.o mode.o property.o session.o xconfig.o xresource.o label.o button.o msgbox.o -o xvnkb -L/usr/X11R6/lib -lX11 -ldl -lXft -lXrender -lfontconfig -lfreetype -lX11  
[color=red]msgbox.o: In function `VKCreateMsgBoxWindow':
msgbox.c:(.text+0x121): undefined reference to `vk_fontset'
msgbox.c:(.text+0x18f): undefined reference to `vk_fontset'
msgbox.c:(.text+0x291): undefined reference to `vk_fontset'
msgbox.c:(.text+0x322): undefined reference to `vk_fontset'
msgbox.o: In function `VKMsgBoxDraw':
msgbox.c:(.text+0x7ce): undefined reference to `vk_fontset'
msgbox.o:msgbox.c:(.text+0x832): more undefined references to `vk_fontset' follow
collect2: ld returned 1 exit status
make: *** [xvnkb] Error 1[/color]

Last edited by vominhvu (15/11/2006 10:37)

58

Re: Sao cài xvnkb quài cho ubuntu hông được kà ?

Nếu ai cài đầy đủ các lib (xft, xlib-dev, essential-build...)mà vẫn bị lỗi thì hãy sửa lại file config.h :
dòng -e #ifndef __VK_CONFIG_H thành #define __VK_CONFIG_H
và bỏ phần #endif ở cuối file , đây ko biết có phải lỗi của ubuntu hay bác chuối nhà ta gõ nhanh quá ?

Mình đả sứa file config.h .

#define __VK_CONFIG_H
#define VK_CHECK_SPELLING
#define VK_USE_ABCSTROKE
#define VK_NEED_UCHAR

config.h (END)

Vẫn bị lỗi như trên. :grater:

Last edited by vominhvu (15/11/2006 14:27)

59

Re: Sao cài xvnkb quài cho ubuntu hông được kà ?

thử giải nén và compile lại xem thế nào.

www.jasperlotus.blogspot.com

60

Re: Sao cài xvnkb quài cho ubuntu hông được kà ?

jasperlotus viết:

thử giải nén và compile lại xem thế nào.

Cám ơn jasperlotus đã giúp đỡ ^^ , mình cài được rồi .
Sau khi make install mình đả có thế sử dụng xvnkb được rồi , vậy các buớc huớng dẫn tiếp theo đễ làm gì vậy . big_smile

61

Re: Sao cài xvnkb quài cho ubuntu hông được kà ?

Chào các bạn!
Mình mới dùng Linux(Ubuntu5.10) nhưng khi cài đặt xvnkb thì bị lỗi giống nhưng các bạn thắc mắc ở trên:

Configuration for xvnkb 0.2.9a on Linux

  Type "./configure --help" for more information

Checking uchar... no
Checking ushort... yes
Checking uint... yes
Checking ulong... yes
Checking dynamic linking loader... yes
Checking X11 lib... no

Sau đó theo hướng dẫn down thêm các gói phần mềm: libxft | xserver-xorg-dev | xlibs-dev bằng câu lệnh:

vagrant@ubuntu:~/xvnkb-0.2.9a$ sudo apt-get install libxft-dev
Reading package lists... Done
Building dependency tree... Done
E: Couldn't find package libxft-dev
vagrant@ubuntu:~/xvnkb-0.2.9a$ sudo apt-get install xserver-xorg-dev
Reading package lists... Done
Building dependency tree... Done
E: Couldn't find package xserver-xorg-dev
vagrant@ubuntu:~/xvnkb-0.2.9a$ sudo apt-get install xlibs-dev
Reading package lists... Done
Building dependency tree... Done
Package xlibs-dev is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package xlibs-dev has no installation candidate

Dù máy có kết nối Internet nhưng không thể tải một số phần mềm có trên trang web của Ubuntu. sad
Xin giúp đỡ vagrant06.
Cảm ơn.

Last edited by vagrant06 (18/12/2006 21:30)

62

Re: Sao cài xvnkb quài cho ubuntu hông được kà ?

làm thử và vẫn chưa được
phuocx03a1@phuocx03a1-Linux:~/Desktop/xvnkb-0.2.9a$ ./configure --use-extstroke

Configuration for xvnkb 0.2.9a on Linux

  Type "./configure --help" for more information

Checking uchar... no
Checking ushort... yes
Checking uint... yes
Checking ulong... yes
Checking dynamic linking loader... yes
Checking X11 lib... /usr/X11R6
Checking pkg-config... yes
Checking Xft... yes

Compile options:
  Enable XFT: yes
  Enable spell checking: yes
  Enable extended keystroke: yes
  Enable ABC liked Telex keystroke: no
done.

Type "make" to compile

phuocx03a1@phuocx03a1-Linux:~/Desktop/xvnkb-0.2.9a$ make
cc -fpic -O3 -s -fomit-frame-pointer -D_REENTRANT -DUSE_XFT -I/usr/include/freetype2   -DVERSION=\"0.2.9a\" -Wall -I/usr/X11R6/include -c xvnkb.c
In file included from typedefs.h:24,
                 from xvnkb.c:32:
config.h:1: error: expected identifier or ‘(’ before ‘-’ token
config.h:1: error: stray ‘#’ in program
In file included from typedefs.h:24,
                 from xvnkb.c:32:
config.h:6:2: error: #endif without #if
In file included from xvnkb.c:32:
typedefs.h:28: warning: data definition has no type or storage class
typedefs.h:28: warning: type defaults to ‘int’ in declaration of ‘vk_methods’
xvnkb.c: In function ‘key_handler’:
xvnkb.c:155: error: ‘VKM_OFF’ undeclared (first use in this function)
xvnkb.c:155: error: (Each undeclared identifier is reported only once
xvnkb.c:155: error: for each function it appears in.)
xvnkb.c: In function ‘XNextEvent’:
xvnkb.c:347: error: ‘VKM_OFF’ undeclared (first use in this function)
make: *** [xvnkb.o] Error 1
phuocx03a1@phuocx03a1-Linux:~/Desktop/xvnkb-0.2.9a$


typedefs.h:28: warning: data definition has no type or storage class
typedefs.h:28: warning: type defaults to ‘int’ in declaration of ‘vk_methods’
xvnkb.c: In function ‘key_handler’:
xvnkb.c:155: error: ‘VKM_OFF’ undeclared (first use in this function)
xvnkb.c:155: error: (Each undeclared identifier is reported only once
xvnkb.c:155: error: for each function it appears in.)
xvnkb.c: In function ‘XNextEvent’:
xvnkb.c:347: error: ‘VKM_OFF’ undeclared (first use in this function)
make: *** [xvnkb.o] Error 1
phuocx03a1@phuocx03a1-Linux:~/Desktop/xvnkb-0.2.9a$

Last edited by phuocx03a1 (02/01/2007 13:02)

63

Re: Sao cài xvnkb quài cho ubuntu hông được kà ?

phuocx03a1 viết:

làm thử và vẫn chưa được
phuocx03a1@phuocx03a1-Linux:~/Desktop/xvnkb-0.2.9a$ ./configure --use-extstroke

Configuration for xvnkb 0.2.9a on Linux

  Type "./configure --help" for more information

Checking uchar... no
Checking ushort... yes
Checking uint... yes
Checking ulong... yes
Checking dynamic linking loader... yes
Checking X11 lib... /usr/X11R6
Checking pkg-config... yes
Checking Xft... yes

Compile options:
  Enable XFT: yes
  Enable spell checking: yes
  Enable extended keystroke: yes
  Enable ABC liked Telex keystroke: no
done.

Type "make" to compile

phuocx03a1@phuocx03a1-Linux:~/Desktop/xvnkb-0.2.9a$ make
cc -fpic -O3 -s -fomit-frame-pointer -D_REENTRANT -DUSE_XFT -I/usr/include/freetype2   -DVERSION=\"0.2.9a\" -Wall -I/usr/X11R6/include -c xvnkb.c
In file included from typedefs.h:24,
                 from xvnkb.c:32:
config.h:1: error: expected identifier or ‘(’ before ‘-’ token
config.h:1: error: stray ‘#’ in program
In file included from typedefs.h:24,
                 from xvnkb.c:32:
config.h:6:2: error: #endif without #if
In file included from xvnkb.c:32:
typedefs.h:28: warning: data definition has no type or storage class
typedefs.h:28: warning: type defaults to ‘int’ in declaration of ‘vk_methods’
xvnkb.c: In function ‘key_handler’:
xvnkb.c:155: error: ‘VKM_OFF’ undeclared (first use in this function)
xvnkb.c:155: error: (Each undeclared identifier is reported only once
xvnkb.c:155: error: for each function it appears in.)
xvnkb.c: In function ‘XNextEvent’:
xvnkb.c:347: error: ‘VKM_OFF’ undeclared (first use in this function)
make: *** [xvnkb.o] Error 1
phuocx03a1@phuocx03a1-Linux:~/Desktop/xvnkb-0.2.9a$


typedefs.h:28: warning: data definition has no type or storage class
typedefs.h:28: warning: type defaults to ‘int’ in declaration of ‘vk_methods’
xvnkb.c: In function ‘key_handler’:
xvnkb.c:155: error: ‘VKM_OFF’ undeclared (first use in this function)
xvnkb.c:155: error: (Each undeclared identifier is reported only once
xvnkb.c:155: error: for each function it appears in.)
xvnkb.c: In function ‘XNextEvent’:
xvnkb.c:347: error: ‘VKM_OFF’ undeclared (first use in this function)
make: *** [xvnkb.o] Error 1
phuocx03a1@phuocx03a1-Linux:~/Desktop/xvnkb-0.2.9a$

câu trả lời của bạn ở đây

vietnamese viết:

Nếu ai cài đầy đủ các lib (xft, xlib-dev, essential-build...)mà vẫn bị lỗi thì hãy sửa lại file config.h :
dòng -e #ifndef __VK_CONFIG_H thành #define __VK_CONFIG_H
và bỏ phần #endif ở cuối file

Last edited by prg (06/01/2007 00:12)

64

Re: Sao cài xvnkb quài cho ubuntu hông được kà ?

prg viết:

Nếu ai cài đầy đủ các lib (xft, xlib-dev, essential-build...)mà vẫn bị lỗi thì hãy sửa lại file config.h :
dòng -e #ifndef __VK_CONFIG_H thành #define __VK_CONFIG_H
và bỏ phần #endif ở cuối file , đây ko biết có phải lỗi của ubuntu hay bác chuối nhà ta gõ nhanh quá ?

tks vietnamese

Đương nhiên đó không phải là lỗi của tác giả, bằng chứng là cùng 1 src như nhau, biên dịch trên Fedora, SUSE, Slackware, Gentoo,... chả bị error đó.

"La photographie est une brève complicité entre la prévoyance et le hasard." John Stuart Mill

65

Re: Sao cài xvnkb quài cho ubuntu hông được kà ?

nthuy@desktop:~/softwares/xvnkb-0.2.9a$ sudo apt-get install xserver-xorg-dev
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Couldn't find package xserver-xorg-dev

Máy mình có internet sao vẫn không cài được gói này nhỉ

Ever never give up
Never ever say die

66

Re: Sao cài xvnkb quài cho ubuntu hông được kà ?

Em tai goi xvnkb-0.2.9 ve may nhung sau khi lam cac buoc:

do mkdir /usr/X11R6/include

sudo ln -s /usr/include/X11 /usr/X11R6/include/X11

sudo apt-get install xorg-dev

tar xvzf xvnkb.x.x.tar.gz

./configure

$ make

thi no bao loi:

thuhong@thuhong-desktop:~/Desktop/xvnkb-0.2.9$ make
cc -fpic -O3 -s -fomit-frame-pointer -D_REENTRANT -DUSE_XFT -I/usr/include/freetype2   -DVERSION=\"0.2.9\" -Wall -I/usr/X11R6/include -c xvnkb.c
In file included from typedefs.h:24,
                 from xvnkb.c:32:
config.h:1: error: expected identifier or ‘(’ before ‘-’ token
config.h:1: error: stray ‘#’ in program
In file included from typedefs.h:24,
                 from xvnkb.c:32:
config.h:5:2: error: #endif without #if
In file included from xvnkb.c:32:
typedefs.h:28: warning: data definition has no type or storage class
typedefs.h:28: warning: type defaults to ‘int’ in declaration of ‘vk_methods’
xvnkb.c: In function ‘key_handler’:
xvnkb.c:155: error: ‘VKM_OFF’ undeclared (first use in this function)
xvnkb.c:155: error: (Each undeclared identifier is reported only once
xvnkb.c:155: error: for each function it appears in.)
xvnkb.c: In function ‘XNextEvent’:
xvnkb.c:347: error: ‘VKM_OFF’ undeclared (first use in this function)
make: *** [xvnkb.o] Error 1

Anh chi giup em voi, xin loi vi may em khong go dau duoc!

67

Re: Sao cài xvnkb quài cho ubuntu hông được kà ?

Lưu ý: bản của tôi là xvnkb-0.2.9a, HDH là Ubuntu 6.10

tôi làm theo như chỉ dẫn trong trang 1 của bài post này, cài đặt hết cái gói được đề nghị. Sang cả đường link dẫn đến trang diendantinhoc. Vẫn bị báo lỗi trong file config.h có ko có #if mà có #endif

Tôi thử sửa file config.h, xoá dòng 1 (-e #in... __VK....), xoá luôn dòng 4 (#endif)

Chạy ./configure, make. Rồi make install (với root). Kết quả thành công mĩ mãn, test với OpenOffice.

Kết luận:
-  Thực sự chỉ là đối phó chứ không hiều tại sao lại phải làm như vầy. Cũng với bản này, không cần sửa gì cả install rất trơn tru trên OpenSUSE 10.2, Mandriva One 2007.

-  Hoàn toàn NO CLUE ! Chắc chỉ có tác giả mới biết thôi. :-))

68

Re: Sao cài xvnkb quài cho ubuntu hông được kà ?

Mình thì chỉ bỏ -e trong config.h là chạy với Ubuntu 6.10 -> cũng không hiểu vì sao lại như vậy?

69

Re: Sao cài xvnkb quài cho ubuntu hông được kà ?

Có ai quăng dùm em cái gói Deb cho xxx Ubuntu 6.10 lên đi.

70

Re: Sao cài xvnkb quài cho ubuntu hông được kà ?

Tôi quăng gói đã configure và make cho Ubuntu 6.10 lên www.mediamax.com/zxc232. Bạn giải nén, cd vào thư mục đó, rồi sudo make install là được.

Cùng học Kubuntu http://my.opera.com/zxc232/blog/

71

Re: Sao cài xvnkb quài cho ubuntu hông được kà ?

vivasilia viết:

Check là gì thế. Em mới cài Ubuntu nên chẳng biết gì đâu. Mọi người hướng dẫn cẩn thận đi.

Nếu là cài xvnkb-0.9.2 cho Ubuntu-7.04 thì nhấy qua mục Thảo Luận Chung coi cái bài mình đã post ở
http://forum.vnoss.org/viewtopic.php?id=4656&p=2
Chắc chắn làm được.

m k h _ s g n