ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: "Pavel S. Khmelinsky" <hmepas@yauza.ru>
To: sisyphus@altlinux.ru
Subject: Re: [sisyphus] Master 2.2 and WineX-3.0-alt1.20030404.src.rpm
Date: Thu, 17 Apr 2003 14:53:11 +0400
Message-ID: <3E9E8797.1040306@yauza.ru> (raw)
In-Reply-To: <3E9E700E.6060001@yauza.ru>

Pavel S. Khmelinsky wrote:
> Andy Gorev wrote:
> 
>> Pavel S. Khmelinsky wrote:
>>
>>> Скачал из сизифа WineX-3.0-alt1.20030404.src.rpm начал собирать и вот 
>>> что выдает:
>>>
>>> gcc -c -I. -I. -I../../include -I../../include  -O3 -mcpu=athlon 
>>> -march=athlon -funroll-loops -Wall -mpreferred-stack-boundary=2 
>>> -fno-keep-static-consts -D__int8=char -D__int16=short -D__int32=int 
>>> "-D__int64=long long" -fPIC -D__WINE__ -D_REENTRANT 
>>> -I/usr/X11R6/include -o caps.o caps.c
>>> In file included from ../../include/wine_gl.h:31,
>>>                  from d3dgl_private.h:5,
>>>                  from caps.c:20:
>>> /usr/X11R6/include/GL/glu.h:262: parse error before `*'
>>> /usr/X11R6/include/GL/glu.h:264: syntax error before `void'
>>> ...
>>> и т.д.
>>>
>>> Такое ощущение что ругается на GLAPIENTRY -- это вроде как дефайн 
>>> какой, но где он дефайнится я не нашел.... Видимо gcc тоже не нашла.
>>> В glut.h есть строчка вроде #define GLAPIENTRY, что в моем случаю не 
>>> подходит.
>>>
>>> Вроде все стоит стандартно из Мастера:
>>> XFree86-4.2.1.1-alt3
>>> libGLU-devel-4.0.3-alt3 -- этот пакет и в сизифе такой же.
>>>
>>> Может правда с нвидивыми дровами чего не так? Они у меня свежие, 
>>> только что с nvidia.com скачанные.
>>
>>
>>
>> а хедеры тоже от них? если так, то верните назад иксовые
>> rpm -V XFree86-devel ?
> 
> 
> Мда, прошу прощения, действительно сглупил. libGLU-devel проверил, а про 
> то что она еще и X-овые хедеры подменяет забыл.
> Поправил теперь все отлично собралось.
> Спасибо!
> Осталось только проверить будет ли нормально работать.
> 

Так собраться то все собралось, а работать нихочет....

По-порядку. До установки вайна:

sudo find / | grep wine -- не нашел ни одной либы и не одного 
файла принадлежащего wine

[hmepas@localhost athlon]$ rpm -ql -p 
WineX-3.0-alt1.20030404.athlon.rpm | grep -v wine
/etc/rc.d
/etc/rc.d/init.d
/usr/bin/fnt2bdf
/usr/bin/function_grep.pl
/usr/bin/regapi
/usr/bin/regapi.so
/usr/bin/regsvr32
/usr/bin/regsvr32.so
/usr/bin/startgame
/usr/share/doc/WineX-3.0
/usr/share/doc/WineX-3.0/ANNOUNCE
/usr/share/doc/WineX-3.0/AUTHORS
/usr/share/doc/WineX-3.0/AUTHORS.Wine
/usr/share/doc/WineX-3.0/BUGS
/usr/share/doc/WineX-3.0/ChangeLog
/usr/share/doc/WineX-3.0/DEVELOPERS-HINTS
/usr/share/doc/WineX-3.0/LICENSE
/usr/share/doc/WineX-3.0/LICENSE.LGPL
/usr/share/doc/WineX-3.0/LICENSE.ReWind
/usr/share/doc/WineX-3.0/LICENSE.Wine
/usr/share/doc/WineX-3.0/README
/usr/share/doc/WineX-3.0/README.transgaming
/usr/share/doc/WineX-3.0/WARRANTY
/usr/share/man/man1/wmc.1.gz
/usr/share/man/man1/wrc.1.gz

[hmepas@localhost athlon]$ ll /usr/bin/fnt2bdf 
/usr/bin/function_grep.pl /usr/bin/regapi /usr/bin/regapi.so 
/usr/bin/regsvr32 /usr/bin/regsvr32.so
ls: /usr/bin/fnt2bdf: No such file or directory
ls: /usr/bin/function_grep.pl: No such file or directory
ls: /usr/bin/regapi: No such file or directory
ls: /usr/bin/regapi.so: No such file or directory
ls: /usr/bin/regsvr32: No such file or directory
ls: /usr/bin/regsvr32.so: No such file or directory

Делаю вывод систем полностью чиста от всяких вайнов.

rpm -i WineX-3.0-alt1.20030404.athlon.rpm

[hmepas@localhost wine]$ sudo /etc/init.d/wine start
Registering wine services:          	[OK]

[hmepas@localhost binfmt_misc]$ wine
wine client error:0x8078b40: version mismatch 77/74.
Your wine binary was not upgraded correctly,
or you have an older one somewhere in your PATH.
Or maybe the wrong wineserver is still running?

при этом ps -A | grep wineserver ничего не выдает. Других вайнов 
как мы и проверяли в системе нет. Да если бы и были то врядли с 
такими новыми версиями протоколов....

делаю strace -f -etrace=open -o/tmp/winelog wine
смотрю в какие либы лезет -- все либы из установленового пакета.

На всякий случай подправил /etc/ld.so.conf
[hmepas@localhost binfmt_misc]$ cat /etc/ld.so.conf
/usr/lib/wine
/usr/lib/qt3/lib
/usr/lib
/usr/local/lib
/usr/X11R6/lib
/usr/lib/qt22/lib

Т.е. теперь в дире /usr/lib/wine -- либы ищутся в первую очередь. 
ldconfig -- естественно перезапустил.

Далее идем в сорцы
делаем
[hmepas@localhost wine]$ grep -r SERVER_PROTOCOL_VERSION * | grep 
define
include/wine/server_protocol.h:#define SERVER_PROTOCOL_VERSION 77
tools/make_requests:printf SERVER_PROT "#define 
SERVER_PROTOCOL_VERSION %d\n\n", $protocol + 1;
tools/make_requests:        if (/^\#define 
SERVER_PROTOCOL_VERSION (\d+)/) { $protocol = $1; last; }

#define SERVER_PROTOCOL_VERSION 77 -- т.е. версия действительно 
77. Откудова может всплыть число 74 я в сорцах так и не нашел.

Вобщем ничего не понимаю :( Может кто чего подскажет, такое 
ощущение что действительно забыл где-то что-то удалить, но никак 
не могу найти где. :(





  reply	other threads:[~2003-04-17 10:53 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-16 17:35 Pavel S. Khmelinsky
2003-04-16 20:07 ` Andy Gorev
2003-04-17  4:47   ` Re[2]: " ][-plod
2003-04-17  5:08     ` Gerasimov Dmitry
2003-04-17  7:57     ` Pavel S. Khmelinsky
2003-04-17  9:12   ` Pavel S. Khmelinsky
2003-04-17 10:53     ` Pavel S. Khmelinsky [this message]
2003-04-17 11:23       ` Pavel S. Khmelinsky
2003-04-17 17:00         ` Pavel S. Khmelinsky
2003-04-17 17:32           ` Andy Gorev
2003-04-17 18:18             ` Pavel S. Khmelinsky
2003-04-18  0:19               ` Andy Gorev
2003-04-18  3:37                 ` Pavel S. Khmelinsky
2003-04-18  7:38                   ` Alexandre Prokoudine
2003-04-18 14:17                     ` Pavel S. Khmelinsky
2003-04-19 15:13                       ` Alexandre Prokoudine
2003-04-19 19:48                         ` "Алексей Любимов"
2003-04-19 19:50                         ` Pavel S. Khmelinsky
2003-04-21 10:13                           ` Alexandre Prokoudine
2003-04-18  8:32                   ` Andy Gorev
2003-04-19  3:18                 ` Pavel S. Khmelinsky
2003-04-20  8:49                   ` Andy Gorev

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3E9E8797.1040306@yauza.ru \
    --to=hmepas@yauza.ru \
    --cc=sisyphus@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git