Вот что пишет:
[root@localhost di]# rpm -ta xxkb-1.10.tgz
Невозможно выполнить /usr/lib/rpm/rpmb: Нет такого файла или каталога
Помогите!!!
И у меня не собирается RPM! Но причина другая.
Модератор: Bizdelnick
-
DiAndi
- Сообщения: 46
- ОС: ALTLinux
И у меня не собирается RPM! Но причина другая.
Mandriva 2008.0
-
Rootlexx
- Бывший модератор
- Сообщения: 4471
- Статус: GNU generation
- ОС: Debian GNU/Linux
-
romuil
- Сообщения: 2095
- Статус: Ромунцель
- ОС: ALTLinux Sisyphus
Re: И у меня не собирается RPM! Но причина другая.
Не установлен конечно, и файл spec писать придется.
-
DiAndi
- Сообщения: 46
- ОС: ALTLinux
Re: И у меня не собирается RPM! Но причина другая.
Spec там есть в архиве. В репозитарии только rpm-buildupdate. Это он?
Mandriva 2008.0
-
BDag
- Сообщения: 276
- ОС: Mandriva Linux Cooker
Re: И у меня не собирается RPM! Но причина другая.
urpmq rpm-build -i
Name : rpm-build
Version : 4.4.2.3
Release : 0.rc1.5mnb1
Group : System/Configuration/Packaging
Size : 1841950 Architecture: i586
Source RPM : rpm-4.4.2.3-0.rc1.5mnb1.src.rpm
URL : http://rpm.org/
Summary : Scripts and executable programs used to build packages
Description :
This package contains scripts and executable programs that are used to
build packages using RPM.
Name : rpm-build
Version : 4.4.2.3
Release : 0.rc1.5mnb1
Group : System/Configuration/Packaging
Size : 1841950 Architecture: i586
Source RPM : rpm-4.4.2.3-0.rc1.5mnb1.src.rpm
URL : http://rpm.org/
Summary : Scripts and executable programs used to build packages
Description :
This package contains scripts and executable programs that are used to
build packages using RPM.
-
DiAndi
- Сообщения: 46
- ОС: ALTLinux
Re: И у меня не собирается RPM! Но причина другая.
Все равно ругается:
Выполняется(%prep):
Выполняется(%build):
или вот так ругается:
Неужели для установки такой маленькой приблуды нужно перелопатить весь Инет? Помогите, пожалуйста!!!
Выполняется(%prep):
Код:
/bin/sh -e /var/tmp/rpm-tmp.61206
+ umask 022
+ cd /usr/src/rpm/BUILD
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ cd /usr/src/rpm/BUILD
+ rm -rf xxkb-1.10
+ /usr/bin/gzip -dc /home/di/sources/xxkb-1.10.tgz
+ tar -xvvf -
drwxr-xr-x pascal/pascal 0 2003-04-01 16:17 xxkb-1.10/
-rw-r--r-- pascal/pascal 20277 2003-03-19 14:56 xxkb-1.10/xxkb.c
-rw-r--r-- pascal/pascal 1210 1999-05-22 14:35 xxkb-1.10/wlist.c
-rw-r--r-- pascal/pascal 1917 2002-11-30 15:26 xxkb-1.10/xxkb.h
-rw-r--r-- pascal/pascal 12753 2002-11-30 15:34 xxkb-1.10/resource.c
-rw-r--r-- pascal/pascal 1356 2002-12-05 07:02 xxkb-1.10/XXkb.ad
-rw-r--r-- pascal/pascal 6205 1999-07-03 14:24 xxkb-1.10/LICENSE
-rw-r--r-- pascal/pascal 398 2003-03-19 14:34 xxkb-1.10/wlist.h
-rw-r--r-- pascal/pascal 507 2003-03-19 14:56 xxkb-1.10/Imakefile
-rw-r--r-- pascal/pascal 2672 1999-05-22 14:30 xxkb-1.10/ua48.xpm
-rw-r--r-- pascal/pascal 1826 2003-04-01 15:55 xxkb-1.10/xxkb.spec
-rw-r--r-- pascal/pascal 461 1999-05-22 14:30 xxkb-1.10/ua15.xpm
-rw-r--r-- pascal/pascal 2571 1999-05-22 14:30 xxkb-1.10/su48.xpm
-rw-r--r-- pascal/pascal 440 1999-05-22 14:30 xxkb-1.10/su15.xpm
-rw-r--r-- pascal/pascal 2678 1999-05-22 14:30 xxkb-1.10/ru48.xpm
-rw-r--r-- pascal/pascal 467 1999-05-22 14:30 xxkb-1.10/ru15.xpm
-rw-r--r-- pascal/pascal 2657 1999-05-22 14:30 xxkb-1.10/en48.xpm
-rw-r--r-- pascal/pascal 443 2003-03-19 14:23 xxkb-1.10/en15.xpm
-rw-r--r-- pascal/pascal 14870 2003-04-01 16:08 xxkb-1.10/README.koi8
-rw-r--r-- pascal/pascal 7828 2003-04-01 15:54 xxkb-1.10/CHANGES.koi8
-rw-r--r-- pascal/pascal 10725 2003-04-01 16:17 xxkb-1.10/xxkb.man
-rw-r--r-- pascal/pascal 454 2000-01-29 14:07 xxkb-1.10/README-Linux.koi8
-rw-r--r-- pascal/pascal 395 2003-03-19 14:27 xxkb-1.10/by15.xpm
-rw-r--r-- pascal/pascal 2606 2003-03-19 14:27 xxkb-1.10/by48.xpm
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd xxkb-1.10
+ exit 0Выполняется(%build):
Код:
/bin/sh -e /var/tmp/rpm-tmp.61206
+ umask 022
+ cd /usr/src/rpm/BUILD
+ cd xxkb-1.10
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ xmkmf
imake -DUseInstalled -I/usr/share/X11/config
+ make PROJECROOT=/usr PIXMAPDIR=/usr/share/xxkb
gcc -m32 -O2 -I/usr/include -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DAPPDEFDIR=\"/usr/lib/X11/app-defaults\" -DPIXMAPDIR=\"/usr/share/xxkb\" -c -o xxkb.o xxkb.c
xxkb.c:4:22: error: X11/Xlib.h: Нет такого файла или каталога
xxkb.c:5:23: error: X11/Xutil.h: Нет такого файла или каталога
xxkb.c:6:24: error: X11/XKBlib.h: Нет такого файла или каталога
xxkb.c:7:25: error: X11/Xlibint.h: Нет такого файла или каталога
xxkb.c:8:23: error: X11/Xatom.h: Нет такого файла или каталога
In file included from xxkb.c:10:
wlist.h:10: ошибка: expected specifier-qualifier-list before ‘Window’
wlist.h:16: ошибка: ‘NULL’ undeclared here (not in a function)
wlist.h:18: ошибка: expected ‘)’ before ‘w’
wlist.h:19: ошибка: expected ‘)’ before ‘button’
wlist.h:20: ошибка: expected ‘)’ before ‘w’
wlist.h:21: ошибка: expected ‘)’ before ‘w’
In file included from xxkb.c:11:
xxkb.h:58: ошибка: expected specifier-qualifier-list before ‘XImage’
xxkb.h:61: ошибка: expected ‘)’ before ‘*’ token
xxkb.h:62: ошибка: expected ‘)’ before ‘*’ token
xxkb.h:63: ошибка: expected ‘)’ before ‘w’
xxkb.h:64: ошибка: expected ‘)’ before ‘w’
xxkb.h:68: ошибка: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ExpectInput’
xxkb.h:69: ошибка: expected ‘)’ before ‘*’ token
xxkb.h:71: ошибка: expected ‘)’ before ‘w’
xxkb.h:72: ошибка: expected ‘)’ before ‘w’
xxkb.h:73: ошибка: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘GetGrandParent’
xxkb.h:74: ошибка: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘MakeButton’
xxkb.h:76: ошибка: expected ‘)’ before ‘w’
xxkb.h:77: ошибка: expected ‘)’ before ‘win’
xxkb.c:17:28: error: X11/IntrinsicP.h: Нет такого файла или каталога
xxkb.c:18: ошибка: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘app_cont’
xxkb.c:23: ошибка: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
xxkb.c:24: ошибка: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘gc’
xxkb.c:25: ошибка: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ev’
xxkb.c:27: ошибка: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘root’
xxkb.c:29: ошибка: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
xxkb.c:30: ошибка: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
xxkb.c:31: ошибка: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘class_hints’
xxkb.c:33: ошибка: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘take_focus_atom’
xxkb.c:37: ошибка: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘focused_event’
xxkb.c:38: ошибка: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘DefErrHandler’
xxkb.c:40: ошибка: expected ‘)’ before ‘w’
xxkb.c: В функции ‘main’
xxkb.c:45: ошибка: ‘Bool’ undeclared (first use in this function)
xxkb.c:45: ошибка: (Each undeclared identifier is reported only once
xxkb.c:45: ошибка: for each function it appears in.)
xxkb.c:45: ошибка: expected ‘;’ before ‘fout_flag’
xxkb.c:47: ошибка: ‘Atom’ undeclared (first use in this function)
xxkb.c:47: ошибка: expected ‘;’ before ‘protocols’
xxkb.c:50: ошибка: ‘dpy’ undeclared (first use in this function)
xxkb.c:53: предупреждение: incompatible implicit declaration of built-in function ‘printf’
xxkb.c:55: ошибка: ‘XkbOD_BadLibraryVersion’ undeclared (first use in this function)
xxkb.c:56: ошибка: ‘XkbOD_BadServerVersion’ undeclared (first use in this function)
xxkb.c:58: ошибка: ‘XkbMajorVersion’ undeclared (first use in this function)
xxkb.c:58: ошибка: ‘XkbMinorVersion’ undeclared (first use in this function)
xxkb.c:63: ошибка: ‘XkbOD_ConnectionRefused’ undeclared (first use in this function)
xxkb.c:66: ошибка: ‘XkbOD_NonXkbServer’ undeclared (first use in this function)
xxkb.c:72: предупреждение: incompatible implicit declaration of built-in function ‘exit’
xxkb.c:76: ошибка: ‘root’ undeclared (first use in this function)
xxkb.c:77: ошибка: ‘base_mask’ undeclared (first use in this function)
xxkb.c:78: ошибка: ‘take_focus_atom’ undeclared (first use in this function)
xxkb.c:78: ошибка: ‘True’ undeclared (first use in this function)
xxkb.c:79: ошибка: ‘wm_del_win’ undeclared (first use in this function)
xxkb.c:79: ошибка: ‘False’ undeclared (first use in this function)
xxkb.c:80: ошибка: ‘DefErrHandler’ undeclared (first use in this function)
xxkb.c:80: ошибка: ‘XErrorHandler’ undeclared (first use in this function)
xxkb.c:80: ошибка: expected ‘)’ before ‘ErrHandler’
xxkb.c:82: ошибка: ‘focused_event’ undeclared (first use in this function)
xxkb.c:82: ошибка: ‘FocusIn’ undeclared (first use in this function)
xxkb.c:88: ошибка: ‘app_cont’ undeclared (first use in this function)
xxkb.c:95: ошибка: ‘XNegative’ undeclared (first use in this function)
xxkb.c:95: ошибка: ‘YNegative’ undeclared (first use in this function)
xxkb.c:97: ошибка: ‘Window’ undeclared (first use in this function)
xxkb.c:97: ошибка: expected ‘;’ before ‘rwin’
xxkb.c:98: ошибка: ‘rwin’ undeclared (first use in this function)
xxkb.c:106: ошибка: ‘MainWin’ undeclared (first use in this function)
xxkb.c:112: ошибка: ‘wm_hints’ undeclared (first use in this function)
xxkb.c:115: ошибка: ‘InputHint’ undeclared (first use in this function)
xxkb.c:115: ошибка: ‘WindowGroupHint’ undeclared (first use in this function)
xxkb.c:119: ошибка: ‘class_hints’ undeclared (first use in this function)
xxkb.c:124: ошибка: ‘XValue’ undeclared (first use in this function)
xxkb.c:124: ошибка: ‘YValue’ undeclared (first use in this function)
xxkb.c:125: ошибка: ‘size_hints’ undeclared (first use in this function)
xxkb.c:128: ошибка: ‘USPosition’ undeclared (first use in this function)
xxkb.c:132: ошибка: ‘protocols’ undeclared (first use in this function)
xxkb.c:137: ошибка: ‘icon’ undeclared (first use in this function)
xxkb.c:144: ошибка: ‘WithdrawnState’ undeclared (first use in this function)
xxkb.c:145: ошибка: ‘StateHint’ undeclared (first use in this function)
xxkb.c:145: ошибка: ‘IconWindowHint’ undeclared (first use in this function)
xxkb.c:149: ошибка: expected ‘;’ before numeric constant
xxkb.c:152: ошибка: expected ‘;’ before ‘r’
xxkb.c:157: ошибка: ‘r’ undeclared (first use in this function)
xxkb.c:162: ошибка: ‘XA_WINDOW’ undeclared (first use in this function)
xxkb.c:172: ошибка: ‘XkbUseCoreKbd’ undeclared (first use in this function)
xxkb.c:172: ошибка: ‘XkbStateNotify’ undeclared (first use in this function)
xxkb.c:173: ошибка: ‘XkbAllStateComponentsMask’ undeclared (first use in this function)
xxkb.c:173: ошибка: ‘XkbGroupStateMask’ undeclared (first use in this function)
xxkb.c:175: ошибка: ‘SubstructureNotifyMask’ undeclared (first use in this function)
xxkb.c:177: ошибка: ‘ExposureMask’ undeclared (first use in this function)
xxkb.c:177: ошибка: ‘ButtonPressMask’ undeclared (first use in this function)
xxkb.c:180: ошибка: ‘gc’ undeclared (first use in this function)
xxkb.c:186: ошибка: ‘WInfo’ has no member named ‘win’
xxkb.c:187: ошибка: ‘WInfo’ has no member named ‘button’
xxkb.c:188: ошибка: ‘WInfo’ has no member named ‘state’
xxkb.c:193: ошибка: expected ‘;’ before ‘rwin’
xxkb.c:194: ошибка: ‘parent’ undeclared (first use in this function)
xxkb.c:194: ошибка: ‘children’ undeclared (first use in this function)
xxkb.c:195: ошибка: ‘child’ undeclared (first use in this function)
xxkb.c:197: ошибка: ‘app’ undeclared (first use in this function)
xxkb.c:197: ошибка: expected ‘;’ before numeric constant
xxkb.c:203: ошибка: ‘focused’ undeclared (first use in this function)
xxkb.c:204: предупреждение: assignment makes pointer from integer without a cast
xxkb.c:210: ошибка: ‘ev’ undeclared (first use in this function)
xxkb.c:217: ошибка: ‘fout_flag’ undeclared (first use in this function)
xxkb.c:219: ошибка: ‘None’ undeclared (first use in this function)
xxkb.c:219: ошибка: ‘PointerRoot’ undeclared (first use in this function)
xxkb.c:221: ошибка: ‘WInfo’ has no member named ‘win’
xxkb.c:222: предупреждение: assignment makes pointer from integer without a cast
xxkb.c:224: ошибка: ‘WInfo’ has no member named ‘state’
xxkb.c:232: ошибка: ‘WInfo’ has no member named ‘state’
xxkb.c:233: ошибка: ‘WInfo’ has no member named ‘state’
xxkb.c:235: ошибка: ‘WInfo’ has no member named ‘state’
xxkb.c:245: ошибка: ‘WInfo’ has no member named ‘state’
xxkb.c:247: ошибка: ‘WInfo’ has no member named ‘state’
xxkb.c:248: ошибка: ‘WInfo’ has no member named ‘state’
xxkb.c:250: ошибка: ‘WInfo’ has no member named ‘button’
xxkb.c:251: ошибка: ‘WInfo’ has no member named ‘button’
xxkb.c:262: ошибка: ‘Expose’ undeclared (first use in this function)
xxkb.c:264: ошибка: ‘win’ undeclared (first use in this function)
xxkb.c:266: ошибка: ‘WInfo’ has no member named ‘state’
xxkb.c:268: предупреждение: assignment makes pointer from integer without a cast
xxkb.c:269: ошибка: ‘WInfo’ has no member named ‘state’
xxkb.c:272: ошибка: ‘ButtonPress’ undeclared (first use in this function)
xxkb.c:275: ошибка: ‘Button1’ undeclared (first use in this function)
xxkb.c:276: ошибка: ‘WInfo’ has no member named ‘button’
xxkb.c:279: ошибка: ‘WInfo’ has no member named ‘state’
xxkb.c:280: ошибка: ‘WInfo’ has no member named ‘state’
xxkb.c:286: ошибка: ‘WInfo’ has no member named ‘state’
xxkb.c:288: ошибка: ‘WInfo’ has no member named ‘state’
xxkb.c:292: ошибка: ‘Button3’ undeclared (first use in this function)
xxkb.c:293: ошибка: ‘WInfo’ has no member named ‘button’
xxkb.c:296: ошибка: ‘WInfo’ has no member named ‘state’
xxkb.c:298: ошибка: ‘WInfo’ has no member named ‘state’
xxkb.c:302: ошибка: ‘Button2’ undeclared (first use in this function)
xxkb.c:307: ошибка: ‘WInfo’ has no member named ‘button’
xxkb.c:308: ошибка: ‘WInfo’ has no member named ‘win’
xxkb.c:309: ошибка: ‘WInfo’ has no member named ‘ignore’
xxkb.c:312: предупреждение: assignment makes pointer from integer without a cast
xxkb.c:314: ошибка: ‘WInfo’ has no member named ‘win’
xxkb.c:315: ошибка: ‘WInfo’ has no member named ‘ignore’
xxkb.c:327: предупреждение: assignment makes pointer from integer without a cast
xxkb.c:329: предупреждение: incompatible implicit declaration of built-in function ‘printf’
xxkb.c:332: ошибка: ‘WInfo’ has no member named ‘ignore’
xxkb.c:333: ошибка: ‘WInfo’ has no member named ‘state’
xxkb.c:335: ошибка: ‘WInfo’ has no member named ‘state’
xxkb.c:335: ошибка: ‘WInfo’ has no member named ‘state’
xxkb.c:339: ошибка: ‘FocusOut’ undeclared (first use in this function)
xxkb.c:343: ошибка: ‘WInfo’ has no member named ‘state’
xxkb.c:344: ошибка: ‘WInfo’ has no member named ‘state’
xxkb.c:346: ошибка: ‘WInfo’ has no member named ‘state’
xxkb.c:350: ошибка: ‘ReparentNotify’ undeclared (first use in this function)
xxkb.c:355: ошибка: ‘TRUE’ undeclared (first use in this function)
xxkb.c:359: ошибка: ‘DestroyNotify’ undeclared (first use in this function)
xxkb.c:363: предупреждение: assignment makes pointer from integer without a cast
xxkb.c:370: предупреждение: assignment makes pointer from integer without a cast
xxkb.c:371: ошибка: ‘WInfo’ has no member named ‘button’
xxkb.c:373: ошибка: ‘ConfigureNotify’ undeclared (first use in this function)
xxkb.c:376: предупреждение: assignment makes pointer from integer without a cast
xxkb.c:380: ошибка: ‘PropertyNotify’ undeclared (first use in this function)
xxkb.c:382: предупреждение: assignment makes pointer from integer without a cast
xxkb.c:384: ошибка: expected ‘;’ before ‘rwin’
xxkb.c:385: ошибка: ‘childrens’ undeclared (first use in this function)
xxkb.c:389: ошибка: ‘ClientMessage’ undeclared (first use in this function)
xxkb.c:395: ошибка: ‘CreateNotify’ undeclared (first use in this function)
xxkb.c:396: ошибка: ‘UnmapNotify’ undeclared (first use in this function)
xxkb.c:397: ошибка: ‘MapNotify’ undeclared (first use in this function)
xxkb.c:398: ошибка: ‘MappingNotify’ undeclared (first use in this function)
xxkb.c:399: ошибка: ‘GravityNotify’ undeclared (first use in this function)
xxkb.c:402: предупреждение: incompatible implicit declaration of built-in function ‘printf’
xxkb.c: В функции ‘Reset’
xxkb.c:412: ошибка: ‘WInfo’ has no member named ‘state’
xxkb.c:413: ошибка: ‘dpy’ undeclared (first use in this function)
xxkb.c:413: ошибка: ‘XkbUseCoreKbd’ undeclared (first use in this function)
xxkb.c: В функции ‘Terminate’
xxkb.c:419: ошибка: ‘dpy’ undeclared (first use in this function)
xxkb.c:419: ошибка: ‘gc’ undeclared (first use in this function)
xxkb.c:420: ошибка: ‘icon’ undeclared (first use in this function)
xxkb.c:421: ошибка: ‘MainWin’ undeclared (first use in this function)
xxkb.c:427: предупреждение: incompatible implicit declaration of built-in function ‘exit’
xxkb.c: На верхнем уровне:
xxkb.c:431: предупреждение: conflicting types for ‘getGC’
xxkb.c:180: предупреждение: previous implicit declaration of ‘getGC’ was here
xxkb.c: В функции ‘getGC’
xxkb.c:431: ошибка: expected declaration specifiers before ‘Window’
xxkb.c:432: ошибка: expected declaration specifiers before ‘GC’
xxkb.c:435: ошибка: ‘XGCValues’ undeclared (first use in this function)
xxkb.c:435: ошибка: expected ‘;’ before ‘values’
xxkb.c:436: ошибка: неверный аргумент для ‘unary *’
xxkb.c:436: ошибка: ‘dpy’ undeclared (first use in this function)
xxkb.c:436: ошибка: ‘values’ undeclared (first use in this function)
xxkb.c: На верхнем уровне:
xxkb.c:441: предупреждение: conflicting types for ‘update_window’
xxkb.c:252: предупреждение: previous implicit declaration of ‘update_window’ was here
xxkb.c: В функции ‘update_window’
xxkb.c:441: ошибка: expected declaration specifiers before ‘Window’
xxkb.c:441: ошибка: expected declaration specifiers before ‘GC’
xxkb.c:443: ошибка: ‘XXkbConfig’ has no member named ‘pictures’
xxkb.c:444: ошибка: ‘dpy’ undeclared (first use in this function)
xxkb.c:444: ошибка: ‘XXkbConfig’ has no member named ‘pictures’
xxkb.c: На верхнем уровне:
xxkb.c:449: предупреждение: conflicting types for ‘update_button’
xxkb.c:251: предупреждение: previous implicit declaration of ‘update_button’ was here
xxkb.c: В функции ‘update_button’
xxkb.c:449: ошибка: expected declaration specifiers before ‘Window’
xxkb.c:449: ошибка: expected declaration specifiers before ‘GC’
xxkb.c:451: ошибка: ‘XXkbConfig’ has no member named ‘pictures’
xxkb.c:452: ошибка: ‘dpy’ undeclared (first use in this function)
xxkb.c:452: ошибка: ‘XXkbConfig’ has no member named ‘pictures’
xxkb.c: На верхнем уровне:
xxkb.c:457: ошибка: conflicting types for ‘AddWindow’
xxkb.c:199: ошибка: previous implicit declaration of ‘AddWindow’ was here
xxkb.c: В функции ‘AddWindow’
xxkb.c:457: ошибка: expected declaration specifiers before ‘Window’
xxkb.c:462: ошибка: ‘XWindowAttributes’ undeclared (first use in this function)
xxkb.c:462: ошибка: expected ‘;’ before ‘attr’
xxkb.c:466: ошибка: ‘dpy’ undeclared (first use in this function)
xxkb.c:466: ошибка: ‘PropertyChangeMask’ undeclared (first use in this function)
xxkb.c:477: предупреждение: assignment makes pointer from integer without a cast
xxkb.c:479: предупреждение: assignment makes pointer from integer without a cast
xxkb.c:482: ошибка: ‘WInfo’ has no member named ‘state’
xxkb.c:485: ошибка: ‘WInfo’ has no member named ‘state’
xxkb.c:485: ошибка: ‘WInfo’ has no member named ‘state’
xxkb.c:488: ошибка: ‘focused’ undeclared (first use in this function)
xxkb.c:489: ошибка: ‘FocusChangeMask’ undeclared (first use in this function)
xxkb.c:489: ошибка: ‘StructureNotifyMask’ undeclared (first use in this function)
xxkb.c:491: ошибка: ‘focused_event’ undeclared (first use in this function)
xxkb.c:492: ошибка: ‘MainWin’ undeclared (first use in this function)
xxkb.c:492: ошибка: ‘XEvent’ undeclared (first use in this function)
xxkb.c:492: ошибка: expected expression before ‘)’ token
xxkb.c:495: ошибка: ‘WInfo’ has no member named ‘ignore’
xxkb.c:496: ошибка: ‘WInfo’ has no member named ‘button’
xxkb.c:497: ошибка: ‘WInfo’ has no member named ‘button’
xxkb.c:500: ошибка: ‘attr’ undeclared (first use in this function)
xxkb.c: На верхнем уровне:
xxkb.c:507: ошибка: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘MakeButton’
xxkb.c:509: ошибка: expected identifier or ‘(’ before ‘{’ token
xxkb.c:538: ошибка: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘GetGrandParent’
xxkb.c:540: ошибка: expected identifier or ‘(’ before ‘{’ token
xxkb.c:552: предупреждение: conflicting types for ‘GetAppWindow’
xxkb.c:198: предупреждение: previous implicit declaration of ‘GetAppWindow’ was here
xxkb.c: В функции ‘GetAppWindow’
xxkb.c:552: ошибка: expected declaration specifiers before ‘Window’
xxkb.c:553: ошибка: ‘Window’ undeclared (first use in this function)
xxkb.c:553: ошибка: expected ‘;’ before ‘rwin’
xxkb.c:554: ошибка: ‘dpy’ undeclared (first use in this function)
xxkb.c:554: ошибка: ‘rwin’ undeclared (first use in this function)
xxkb.c:554: ошибка: ‘parent’ undeclared (first use in this function)
xxkb.c:554: ошибка: ‘childrens’ undeclared (first use in this function)
xxkb.c:555: ошибка: ‘child’ undeclared (first use in this function)
xxkb.c:557: ошибка: ‘base_mask’ undeclared (first use in this function)
xxkb.c:558: ошибка: неверный аргумент для ‘unary *’
xxkb.c:562: ошибка: неверный аргумент для ‘unary *’
xxkb.c: На верхнем уровне:
xxkb.c:569: ошибка: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Compare’
xxkb.c:617: ошибка: expected declaration specifiers or ‘...’ before ‘Window’
xxkb.c: В функции ‘searchInPropList’
xxkb.c:621: ошибка: ‘Atom’ undeclared (first use in this function)
xxkb.c:621: ошибка: ‘props’ undeclared (first use in this function)
xxkb.c:621: ошибка: ‘atoms’ undeclared (first use in this function)
xxkb.c:625: ошибка: expected expression before ‘)’ token
xxkb.c:628: ошибка: ‘dpy’ undeclared (first use in this function)
xxkb.c:628: ошибка: ‘False’ undeclared (first use in this function)
xxkb.c:631: ошибка: ‘None’ undeclared (first use in this function)
xxkb.c:637: ошибка: ‘win’ undeclared (first use in this function)
xxkb.c: На верхнем уровне:
xxkb.c:658: ошибка: expected ‘)’ before ‘w’
xxkb.c:682: ошибка: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ExpectInput’
xxkb.c:710: ошибка: expected ‘)’ before ‘appwin’
xxkb.c:735: ошибка: expected ‘)’ before ‘appwin’
xxkb.c:761: ошибка: expected ‘)’ before ‘*’ token
make: *** [xxkb.o] Ошибка 1
ошибка: Неверный код возврата из /var/tmp/rpm-tmp.61206 (%build)
Ошибки сборки пакетов:
Неверный код возврата из /var/tmp/rpm-tmp.61206 (%build)или вот так ругается:
Код:
[root@localhost xxkb-1.10]# xmkmf
imake -DUseInstalled -I/usr/share/X11/config
[root@localhost xxkb-1.10]# make
gcc -m32 -O2 -I/usr/include -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DAPPDEFDIR=\"/usr/lib/X11/app-defaults\" -DPIXMAPDIR=\"/usr/share/xxkb\" -c -o xxkb.o xxkb.c
xxkb.c:4:22: error: X11/Xlib.h: Нет такого файла или каталога
xxkb.c:5:23: error: X11/Xutil.h: Нет такого файла или каталога
xxkb.c:6:24: error: X11/XKBlib.h: Нет такого файла или каталога
xxkb.c:7:25: error: X11/Xlibint.h: Нет такого файла или каталога
xxkb.c:8:23: error: X11/Xatom.h: Нет такого файла или каталога
In file included from xxkb.c:10:
wlist.h:10: ошибка: expected specifier-qualifier-list before ‘Window’
wlist.h:16: ошибка: ‘NULL’ undeclared here (not in a function)
wlist.h:18: ошибка: expected ‘)’ before ‘w’
wlist.h:19: ошибка: expected ‘)’ before ‘button’
wlist.h:20: ошибка: expected ‘)’ before ‘w’
wlist.h:21: ошибка: expected ‘)’ before ‘w’
In file included from xxkb.c:11:
xxkb.h:58: ошибка: expected specifier-qualifier-list before ‘XImage’
xxkb.h:61: ошибка: expected ‘)’ before ‘*’ token
xxkb.h:62: ошибка: expected ‘)’ before ‘*’ token
xxkb.h:63: ошибка: expected ‘)’ before ‘w’
xxkb.h:64: ошибка: expected ‘)’ before ‘w’
xxkb.h:68: ошибка: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ExpectInput’
xxkb.h:69: ошибка: expected ‘)’ before ‘*’ token
xxkb.h:71: ошибка: expected ‘)’ before ‘w’
xxkb.h:72: ошибка: expected ‘)’ before ‘w’
xxkb.h:73: ошибка: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘GetGrandParent’
xxkb.h:74: ошибка: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘MakeButton’
xxkb.h:76: ошибка: expected ‘)’ before ‘w’
xxkb.h:77: ошибка: expected ‘)’ before ‘win’
xxkb.c:17:28: error: X11/IntrinsicP.h: Нет такого файла или каталога
xxkb.c:18: ошибка: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘app_cont’
xxkb.c:23: ошибка: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
xxkb.c:24: ошибка: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘gc’
xxkb.c:25: ошибка: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ev’
xxkb.c:27: ошибка: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘root’
xxkb.c:29: ошибка: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
xxkb.c:30: ошибка: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
xxkb.c:31: ошибка: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘class_hints’
xxkb.c:33: ошибка: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘take_focus_atom’
xxkb.c:37: ошибка: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘focused_event’
xxkb.c:38: ошибка: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘DefErrHandler’
xxkb.c:40: ошибка: expected ‘)’ before ‘w’
xxkb.c: В функции ‘main’
xxkb.c:45: ошибка: ‘Bool’ undeclared (first use in this function)
xxkb.c:45: ошибка: (Each undeclared identifier is reported only once
xxkb.c:45: ошибка: for each function it appears in.)
xxkb.c:45: ошибка: expected ‘;’ before ‘fout_flag’
xxkb.c:47: ошибка: ‘Atom’ undeclared (first use in this function)
xxkb.c:47: ошибка: expected ‘;’ before ‘protocols’
xxkb.c:50: ошибка: ‘dpy’ undeclared (first use in this function)
xxkb.c:53: предупреждение: incompatible implicit declaration of built-in function ‘printf’
xxkb.c:55: ошибка: ‘XkbOD_BadLibraryVersion’ undeclared (first use in this function)
xxkb.c:56: ошибка: ‘XkbOD_BadServerVersion’ undeclared (first use in this function)
xxkb.c:58: ошибка: ‘XkbMajorVersion’ undeclared (first use in this function)
xxkb.c:58: ошибка: ‘XkbMinorVersion’ undeclared (first use in this function)
xxkb.c:63: ошибка: ‘XkbOD_ConnectionRefused’ undeclared (first use in this function)
xxkb.c:66: ошибка: ‘XkbOD_NonXkbServer’ undeclared (first use in this function)
xxkb.c:72: предупреждение: incompatible implicit declaration of built-in function ‘exit’
xxkb.c:76: ошибка: ‘root’ undeclared (first use in this function)
xxkb.c:77: ошибка: ‘base_mask’ undeclared (first use in this function)
xxkb.c:78: ошибка: ‘take_focus_atom’ undeclared (first use in this function)
xxkb.c:78: ошибка: ‘True’ undeclared (first use in this function)
xxkb.c:79: ошибка: ‘wm_del_win’ undeclared (first use in this function)
xxkb.c:79: ошибка: ‘False’ undeclared (first use in this function)
xxkb.c:80: ошибка: ‘DefErrHandler’ undeclared (first use in this function)
xxkb.c:80: ошибка: ‘XErrorHandler’ undeclared (first use in this function)
xxkb.c:80: ошибка: expected ‘)’ before ‘ErrHandler’
xxkb.c:82: ошибка: ‘focused_event’ undeclared (first use in this function)
xxkb.c:82: ошибка: ‘FocusIn’ undeclared (first use in this function)
xxkb.c:88: ошибка: ‘app_cont’ undeclared (first use in this function)
xxkb.c:95: ошибка: ‘XNegative’ undeclared (first use in this function)
xxkb.c:95: ошибка: ‘YNegative’ undeclared (first use in this function)
xxkb.c:97: ошибка: ‘Window’ undeclared (first use in this function)
xxkb.c:97: ошибка: expected ‘;’ before ‘rwin’
xxkb.c:98: ошибка: ‘rwin’ undeclared (first use in this function)
xxkb.c:106: ошибка: ‘MainWin’ undeclared (first use in this function)
xxkb.c:112: ошибка: ‘wm_hints’ undeclared (first use in this function)
xxkb.c:115: ошибка: ‘InputHint’ undeclared (first use in this function)
xxkb.c:115: ошибка: ‘WindowGroupHint’ undeclared (first use in this function)
xxkb.c:119: ошибка: ‘class_hints’ undeclared (first use in this function)
xxkb.c:124: ошибка: ‘XValue’ undeclared (first use in this function)
xxkb.c:124: ошибка: ‘YValue’ undeclared (first use in this function)
xxkb.c:125: ошибка: ‘size_hints’ undeclared (first use in this function)
xxkb.c:128: ошибка: ‘USPosition’ undeclared (first use in this function)
xxkb.c:132: ошибка: ‘protocols’ undeclared (first use in this function)
xxkb.c:137: ошибка: ‘icon’ undeclared (first use in this function)
xxkb.c:144: ошибка: ‘WithdrawnState’ undeclared (first use in this function)
xxkb.c:145: ошибка: ‘StateHint’ undeclared (first use in this function)
xxkb.c:145: ошибка: ‘IconWindowHint’ undeclared (first use in this function)
xxkb.c:149: ошибка: expected ‘;’ before numeric constant
xxkb.c:152: ошибка: expected ‘;’ before ‘r’
xxkb.c:157: ошибка: ‘r’ undeclared (first use in this function)
xxkb.c:162: ошибка: ‘XA_WINDOW’ undeclared (first use in this function)
xxkb.c:172: ошибка: ‘XkbUseCoreKbd’ undeclared (first use in this function)
xxkb.c:172: ошибка: ‘XkbStateNotify’ undeclared (first use in this function)
xxkb.c:173: ошибка: ‘XkbAllStateComponentsMask’ undeclared (first use in this function)
xxkb.c:173: ошибка: ‘XkbGroupStateMask’ undeclared (first use in this function)
xxkb.c:175: ошибка: ‘SubstructureNotifyMask’ undeclared (first use in this function)
xxkb.c:177: ошибка: ‘ExposureMask’ undeclared (first use in this function)
xxkb.c:177: ошибка: ‘ButtonPressMask’ undeclared (first use in this function)
xxkb.c:180: ошибка: ‘gc’ undeclared (first use in this function)
xxkb.c:186: ошибка: ‘WInfo’ has no member named ‘win’
xxkb.c:187: ошибка: ‘WInfo’ has no member named ‘button’
xxkb.c:188: ошибка: ‘WInfo’ has no member named ‘state’
xxkb.c:193: ошибка: expected ‘;’ before ‘rwin’
xxkb.c:194: ошибка: ‘parent’ undeclared (first use in this function)
xxkb.c:194: ошибка: ‘children’ undeclared (first use in this function)
xxkb.c:195: ошибка: ‘child’ undeclared (first use in this function)
xxkb.c:197: ошибка: ‘app’ undeclared (first use in this function)
xxkb.c:197: ошибка: expected ‘;’ before numeric constant
xxkb.c:203: ошибка: ‘focused’ undeclared (first use in this function)
xxkb.c:204: предупреждение: assignment makes pointer from integer without a cast
xxkb.c:210: ошибка: ‘ev’ undeclared (first use in this function)
xxkb.c:217: ошибка: ‘fout_flag’ undeclared (first use in this function)
xxkb.c:219: ошибка: ‘None’ undeclared (first use in this function)
xxkb.c:219: ошибка: ‘PointerRoot’ undeclared (first use in this function)
xxkb.c:221: ошибка: ‘WInfo’ has no member named ‘win’
xxkb.c:222: предупреждение: assignment makes pointer from integer without a cast
xxkb.c:224: ошибка: ‘WInfo’ has no member named ‘state’
xxkb.c:232: ошибка: ‘WInfo’ has no member named ‘state’
xxkb.c:233: ошибка: ‘WInfo’ has no member named ‘state’
xxkb.c:235: ошибка: ‘WInfo’ has no member named ‘state’
xxkb.c:245: ошибка: ‘WInfo’ has no member named ‘state’
xxkb.c:247: ошибка: ‘WInfo’ has no member named ‘state’
xxkb.c:248: ошибка: ‘WInfo’ has no member named ‘state’
xxkb.c:250: ошибка: ‘WInfo’ has no member named ‘button’
xxkb.c:251: ошибка: ‘WInfo’ has no member named ‘button’
xxkb.c:262: ошибка: ‘Expose’ undeclared (first use in this function)
xxkb.c:264: ошибка: ‘win’ undeclared (first use in this function)
xxkb.c:266: ошибка: ‘WInfo’ has no member named ‘state’
xxkb.c:268: предупреждение: assignment makes pointer from integer without a cast
xxkb.c:269: ошибка: ‘WInfo’ has no member named ‘state’
xxkb.c:272: ошибка: ‘ButtonPress’ undeclared (first use in this function)
xxkb.c:275: ошибка: ‘Button1’ undeclared (first use in this function)
xxkb.c:276: ошибка: ‘WInfo’ has no member named ‘button’
xxkb.c:279: ошибка: ‘WInfo’ has no member named ‘state’
xxkb.c:280: ошибка: ‘WInfo’ has no member named ‘state’
xxkb.c:286: ошибка: ‘WInfo’ has no member named ‘state’
xxkb.c:288: ошибка: ‘WInfo’ has no member named ‘state’
xxkb.c:292: ошибка: ‘Button3’ undeclared (first use in this function)
xxkb.c:293: ошибка: ‘WInfo’ has no member named ‘button’
xxkb.c:296: ошибка: ‘WInfo’ has no member named ‘state’
xxkb.c:298: ошибка: ‘WInfo’ has no member named ‘state’
xxkb.c:302: ошибка: ‘Button2’ undeclared (first use in this function)
xxkb.c:307: ошибка: ‘WInfo’ has no member named ‘button’
xxkb.c:308: ошибка: ‘WInfo’ has no member named ‘win’
xxkb.c:309: ошибка: ‘WInfo’ has no member named ‘ignore’
xxkb.c:312: предупреждение: assignment makes pointer from integer without a cast
xxkb.c:314: ошибка: ‘WInfo’ has no member named ‘win’
xxkb.c:315: ошибка: ‘WInfo’ has no member named ‘ignore’
xxkb.c:327: предупреждение: assignment makes pointer from integer without a cast
xxkb.c:329: предупреждение: incompatible implicit declaration of built-in function ‘printf’
xxkb.c:332: ошибка: ‘WInfo’ has no member named ‘ignore’
xxkb.c:333: ошибка: ‘WInfo’ has no member named ‘state’
xxkb.c:335: ошибка: ‘WInfo’ has no member named ‘state’
xxkb.c:335: ошибка: ‘WInfo’ has no member named ‘state’
xxkb.c:339: ошибка: ‘FocusOut’ undeclared (first use in this function)
xxkb.c:343: ошибка: ‘WInfo’ has no member named ‘state’
xxkb.c:344: ошибка: ‘WInfo’ has no member named ‘state’
xxkb.c:346: ошибка: ‘WInfo’ has no member named ‘state’
xxkb.c:350: ошибка: ‘ReparentNotify’ undeclared (first use in this function)
xxkb.c:355: ошибка: ‘TRUE’ undeclared (first use in this function)
xxkb.c:359: ошибка: ‘DestroyNotify’ undeclared (first use in this function)
xxkb.c:363: предупреждение: assignment makes pointer from integer without a cast
xxkb.c:370: предупреждение: assignment makes pointer from integer without a cast
xxkb.c:371: ошибка: ‘WInfo’ has no member named ‘button’
xxkb.c:373: ошибка: ‘ConfigureNotify’ undeclared (first use in this function)
xxkb.c:376: предупреждение: assignment makes pointer from integer without a cast
xxkb.c:380: ошибка: ‘PropertyNotify’ undeclared (first use in this function)
xxkb.c:382: предупреждение: assignment makes pointer from integer without a cast
xxkb.c:384: ошибка: expected ‘;’ before ‘rwin’
xxkb.c:385: ошибка: ‘childrens’ undeclared (first use in this function)
xxkb.c:389: ошибка: ‘ClientMessage’ undeclared (first use in this function)
xxkb.c:395: ошибка: ‘CreateNotify’ undeclared (first use in this function)
xxkb.c:396: ошибка: ‘UnmapNotify’ undeclared (first use in this function)
xxkb.c:397: ошибка: ‘MapNotify’ undeclared (first use in this function)
xxkb.c:398: ошибка: ‘MappingNotify’ undeclared (first use in this function)
xxkb.c:399: ошибка: ‘GravityNotify’ undeclared (first use in this function)
xxkb.c:402: предупреждение: incompatible implicit declaration of built-in function ‘printf’
xxkb.c: В функции ‘Reset’
xxkb.c:412: ошибка: ‘WInfo’ has no member named ‘state’
xxkb.c:413: ошибка: ‘dpy’ undeclared (first use in this function)
xxkb.c:413: ошибка: ‘XkbUseCoreKbd’ undeclared (first use in this function)
xxkb.c: В функции ‘Terminate’
xxkb.c:419: ошибка: ‘dpy’ undeclared (first use in this function)
xxkb.c:419: ошибка: ‘gc’ undeclared (first use in this function)
xxkb.c:420: ошибка: ‘icon’ undeclared (first use in this function)
xxkb.c:421: ошибка: ‘MainWin’ undeclared (first use in this function)
xxkb.c:427: предупреждение: incompatible implicit declaration of built-in function ‘exit’
xxkb.c: На верхнем уровне:
xxkb.c:431: предупреждение: conflicting types for ‘getGC’
xxkb.c:180: предупреждение: previous implicit declaration of ‘getGC’ was here
xxkb.c: В функции ‘getGC’
xxkb.c:431: ошибка: expected declaration specifiers before ‘Window’
xxkb.c:432: ошибка: expected declaration specifiers before ‘GC’
xxkb.c:435: ошибка: ‘XGCValues’ undeclared (first use in this function)
xxkb.c:435: ошибка: expected ‘;’ before ‘values’
xxkb.c:436: ошибка: неверный аргумент для ‘unary *’
xxkb.c:436: ошибка: ‘dpy’ undeclared (first use in this function)
xxkb.c:436: ошибка: ‘values’ undeclared (first use in this function)
xxkb.c: На верхнем уровне:
xxkb.c:441: предупреждение: conflicting types for ‘update_window’
xxkb.c:252: предупреждение: previous implicit declaration of ‘update_window’ was here
xxkb.c: В функции ‘update_window’
xxkb.c:441: ошибка: expected declaration specifiers before ‘Window’
xxkb.c:441: ошибка: expected declaration specifiers before ‘GC’
xxkb.c:443: ошибка: ‘XXkbConfig’ has no member named ‘pictures’
xxkb.c:444: ошибка: ‘dpy’ undeclared (first use in this function)
xxkb.c:444: ошибка: ‘XXkbConfig’ has no member named ‘pictures’
xxkb.c: На верхнем уровне:
xxkb.c:449: предупреждение: conflicting types for ‘update_button’
xxkb.c:251: предупреждение: previous implicit declaration of ‘update_button’ was here
xxkb.c: В функции ‘update_button’
xxkb.c:449: ошибка: expected declaration specifiers before ‘Window’
xxkb.c:449: ошибка: expected declaration specifiers before ‘GC’
xxkb.c:451: ошибка: ‘XXkbConfig’ has no member named ‘pictures’
xxkb.c:452: ошибка: ‘dpy’ undeclared (first use in this function)
xxkb.c:452: ошибка: ‘XXkbConfig’ has no member named ‘pictures’
xxkb.c: На верхнем уровне:
xxkb.c:457: ошибка: conflicting types for ‘AddWindow’
xxkb.c:199: ошибка: previous implicit declaration of ‘AddWindow’ was here
xxkb.c: В функции ‘AddWindow’
xxkb.c:457: ошибка: expected declaration specifiers before ‘Window’
xxkb.c:462: ошибка: ‘XWindowAttributes’ undeclared (first use in this function)
xxkb.c:462: ошибка: expected ‘;’ before ‘attr’
xxkb.c:466: ошибка: ‘dpy’ undeclared (first use in this function)
xxkb.c:466: ошибка: ‘PropertyChangeMask’ undeclared (first use in this function)
xxkb.c:477: предупреждение: assignment makes pointer from integer without a cast
xxkb.c:479: предупреждение: assignment makes pointer from integer without a cast
xxkb.c:482: ошибка: ‘WInfo’ has no member named ‘state’
xxkb.c:485: ошибка: ‘WInfo’ has no member named ‘state’
xxkb.c:485: ошибка: ‘WInfo’ has no member named ‘state’
xxkb.c:488: ошибка: ‘focused’ undeclared (first use in this function)
xxkb.c:489: ошибка: ‘FocusChangeMask’ undeclared (first use in this function)
xxkb.c:489: ошибка: ‘StructureNotifyMask’ undeclared (first use in this function)
xxkb.c:491: ошибка: ‘focused_event’ undeclared (first use in this function)
xxkb.c:492: ошибка: ‘MainWin’ undeclared (first use in this function)
xxkb.c:492: ошибка: ‘XEvent’ undeclared (first use in this function)
xxkb.c:492: ошибка: expected expression before ‘)’ token
xxkb.c:495: ошибка: ‘WInfo’ has no member named ‘ignore’
xxkb.c:496: ошибка: ‘WInfo’ has no member named ‘button’
xxkb.c:497: ошибка: ‘WInfo’ has no member named ‘button’
xxkb.c:500: ошибка: ‘attr’ undeclared (first use in this function)
xxkb.c: На верхнем уровне:
xxkb.c:507: ошибка: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘MakeButton’
xxkb.c:509: ошибка: expected identifier or ‘(’ before ‘{’ token
xxkb.c:538: ошибка: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘GetGrandParent’
xxkb.c:540: ошибка: expected identifier or ‘(’ before ‘{’ token
xxkb.c:552: предупреждение: conflicting types for ‘GetAppWindow’
xxkb.c:198: предупреждение: previous implicit declaration of ‘GetAppWindow’ was here
xxkb.c: В функции ‘GetAppWindow’
xxkb.c:552: ошибка: expected declaration specifiers before ‘Window’
xxkb.c:553: ошибка: ‘Window’ undeclared (first use in this function)
xxkb.c:553: ошибка: expected ‘;’ before ‘rwin’
xxkb.c:554: ошибка: ‘dpy’ undeclared (first use in this function)
xxkb.c:554: ошибка: ‘rwin’ undeclared (first use in this function)
xxkb.c:554: ошибка: ‘parent’ undeclared (first use in this function)
xxkb.c:554: ошибка: ‘childrens’ undeclared (first use in this function)
xxkb.c:555: ошибка: ‘child’ undeclared (first use in this function)
xxkb.c:557: ошибка: ‘base_mask’ undeclared (first use in this function)
xxkb.c:558: ошибка: неверный аргумент для ‘unary *’
xxkb.c:562: ошибка: неверный аргумент для ‘unary *’
xxkb.c: На верхнем уровне:
xxkb.c:569: ошибка: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Compare’
xxkb.c:617: ошибка: expected declaration specifiers or ‘...’ before ‘Window’
xxkb.c: В функции ‘searchInPropList’
xxkb.c:621: ошибка: ‘Atom’ undeclared (first use in this function)
xxkb.c:621: ошибка: ‘props’ undeclared (first use in this function)
xxkb.c:621: ошибка: ‘atoms’ undeclared (first use in this function)
xxkb.c:625: ошибка: expected expression before ‘)’ token
xxkb.c:628: ошибка: ‘dpy’ undeclared (first use in this function)
xxkb.c:628: ошибка: ‘False’ undeclared (first use in this function)
xxkb.c:631: ошибка: ‘None’ undeclared (first use in this function)
xxkb.c:637: ошибка: ‘win’ undeclared (first use in this function)
xxkb.c: На верхнем уровне:
xxkb.c:658: ошибка: expected ‘)’ before ‘w’
xxkb.c:682: ошибка: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ExpectInput’
xxkb.c:710: ошибка: expected ‘)’ before ‘appwin’
xxkb.c:735: ошибка: expected ‘)’ before ‘appwin’
xxkb.c:761: ошибка: expected ‘)’ before ‘*’ token
make: *** [xxkb.o] Ошибка 1
[root@l
Неужели для установки такой маленькой приблуды нужно перелопатить весь Инет? Помогите, пожалуйста!!!
Mandriva 2008.0
-
Cossack
- Сообщения: 374
- ОС: Ubuntu
Re: И у меня не собирается RPM! Но причина другая.
поищите готовую рпмку...
KUbuntu - AMD Phenom X4 9650, DDR2-800 4x1024Mb, nVidia GF 9800 GTX+
LUbuntu - ASUS Eee PC S101H
LUbuntu - ASUS Eee PC S101H
-
DiAndi
- Сообщения: 46
- ОС: ALTLinux
Re: И у меня не собирается RPM! Но причина другая.
А в чем причина? как узнать? А то как-то грустно получается: тыкался-мыкался, возился, а толку 0. Пусть не работает, ладно, но почему? А то как в мастдае - не работает-забей
Mandriva 2008.0
-
Cossack
- Сообщения: 374
- ОС: Ubuntu
Re: И у меня не собирается RPM! Но причина другая.
а вы уверенны что spec файл оптимизирован именно для Мандривы?
и проверти стоят ли у вас devel пакеты X11
и проверти стоят ли у вас devel пакеты X11
KUbuntu - AMD Phenom X4 9650, DDR2-800 4x1024Mb, nVidia GF 9800 GTX+
LUbuntu - ASUS Eee PC S101H
LUbuntu - ASUS Eee PC S101H
-
DiAndi
- Сообщения: 46
- ОС: ALTLinux
Re: И у меня не собирается RPM! Но причина другая.
Нет не уверен.
Как проверить?
Раздобыл rpm-ку. ругается на неудовлетворенность пакетов xfree86-libs. Где это искать? Как вообще посмотреть что нужно для установки пакета и есть установленно ли это у меня?
Mandriva 2008.0
-
DiAndi
- Сообщения: 46
- ОС: ALTLinux
Re: И у меня не собирается RPM! Но причина другая.
Так что надо установить? Какие пакеты X11???
Mandriva 2008.0
-
romuil
- Сообщения: 2095
- Статус: Ромунцель
- ОС: ALTLinux Sisyphus
Re: И у меня не собирается RPM! Но причина другая.
Надо изучить формат spec файла используемого дистрибутива и rpm --showrc.
Учитывая, вопросы которые ты задаешь, весьма рано браться за сборку пакетов.
Учитывая, вопросы которые ты задаешь, весьма рано браться за сборку пакетов.
-
olelukoie
- Сообщения: 1248
- ОС: Linux, Win
Re: И у меня не собирается RPM! Но причина другая.
Проблема решается очень просто:
1. Подключаем официальные репозитарии (те, что в интернете, т.е. полные - одних установочных дисков недостаточно).
2. Поиском в rpmdrake ищем требуемые файлы по всем пакетам и ставим те, которые содержат эти файлы, а также (обязательно!) все их зависимости.
3. Пробуем скомпилироваться. Если опять чего-то не хватает, возвращаемся к п.2.
Замечания:
1. Следует подключать не только репозитарии main/release и contrib/release, но и соответствующие ветки update.
2. Качать придется много.
3. Устанавливать пакеты от других дистрибутивов крайне не рекомендуется - почти наверняка работать не будет.
4. Конкретно файл /usr/include/X11/Xlib.h сотоварищи содержится в пакете libx11_6-devel или lib64x11_6-devel (в зависимости от архитектуры).
5. На систему для архитектуры x86_64 следует устанавливать devel-пакеты именно для этой архитектуры, а не для i586.
1. Подключаем официальные репозитарии (те, что в интернете, т.е. полные - одних установочных дисков недостаточно).
2. Поиском в rpmdrake ищем требуемые файлы по всем пакетам и ставим те, которые содержат эти файлы, а также (обязательно!) все их зависимости.
3. Пробуем скомпилироваться. Если опять чего-то не хватает, возвращаемся к п.2.
Замечания:
1. Следует подключать не только репозитарии main/release и contrib/release, но и соответствующие ветки update.
2. Качать придется много.
3. Устанавливать пакеты от других дистрибутивов крайне не рекомендуется - почти наверняка работать не будет.
4. Конкретно файл /usr/include/X11/Xlib.h сотоварищи содержится в пакете libx11_6-devel или lib64x11_6-devel (в зависимости от архитектуры).
5. На систему для архитектуры x86_64 следует устанавливать devel-пакеты именно для этой архитектуры, а не для i586.