Решено: Установкка Wine 1.0.0 (Проблема)

Вопросы настройки, запуск любых Windows-программ, кроме игр

Модератор: Модераторы разделов

AlexRed
Сообщения: 11
ОС: Mandriva Linux 2007

Решено: Установкка Wine 1.0.0

Сообщение AlexRed »

Сразу оговорюсь, что с Linux пока знаком мало, но предыдущую версию Wine устанавливал на другой компьютер (ОС - Мандрива с того же диска) ./configure затребовало пакеты flex и bison, после чего установка прошла успешно. С новым вайном потребовалось устанавливать кучу пакетов, после чего упрямо вылезает такой еррор:

Код:

configure: error: X development files not found. Wine will be built without X support, which probably isn't what you want. You will need to install development packages of Xlib/Xfree86 at the very least.

Устанавливаться он, естественно, не желает. Что делать?
Спасибо сказали:
Аватара пользователя
Kido
Сообщения: 949
Статус: Космический Засланец
ОС: ArchLinux x86_64 Current

Re: Решено: Установкка Wine 1.0.0

Сообщение Kido »

Для начала можно попробовать ставить не из исходников а готовый пакет. Не поверю что для мандривы его нет.
Спасибо сказали:
Supervisor
Сообщения: 147
ОС: Sabayon ~x86

Re: Решено: Установкка Wine 1.0.0

Сообщение Supervisor »

AlexRed писал(а):
30.06.2008 16:42

Код:

configure: error: X development files not found. Wine will be built without X support, which probably isn't what you want. You will need to install development packages of Xlib/Xfree86 at the very least.

Устанавливаться он, естественно, не желает. Что делать?



ну дык он же сказал чего ему не хватает....

поставьте devel пакеты иксов нечто вроде xorg-x11-devel

а вообще сделайте

Код: Выделить всё

./configure -v

и он в самом конце скажет чего ему не хватает и для каких целей
Спасибо сказали:
AlexRed
Сообщения: 11
ОС: Mandriva Linux 2007

Re: Решено: Установкка Wine 1.0.0

Сообщение AlexRed »

Kido писал(а):
30.06.2008 17:52
Для начала можно попробовать ставить не из исходников а готовый пакет. Не поверю что для мандривы его нет.

Вот, нашёл здесь РПМки, но возникло два вопроса:
1. Чем отличаются версии wine-1.0-1mdv2007.0.i586.rpm и wine-1.0-1mdv2007.1.i586.rpm?
2. В названии пакетов присутствует i586, там же на сайте напискано Architecture: I386 а в свойствах моей системы Процессор: i686 Чего-то я явно не понимаю.

Извините если мои вопросы покажутся вам глупыми. Траффик у меня очень дорогой и скачать случайно версию не для своей системы не хочется.

Supervisor писал(а):
30.06.2008 18:41
поставьте devel пакеты иксов нечто вроде xorg-x11-devel

То, что надо. Конфигурирование прошло, а при компиллировании пишет:

Код: Выделить всё

compobj_private.h:78: error: expected specifier-qualifier-list before ‘IPID’
compobj_private.h:96: error: expected specifier-qualifier-list before ‘OID’
compobj_private.h:116: error: expected specifier-qualifier-list before ‘STDOBJREF’
compobj_private.h:131: error: expected specifier-qualifier-list before ‘OXID’
compobj_private.h:151: error: expected specifier-qualifier-list before ‘OXID’
compobj_private.h:209: error: expected declaration specifiers or ‘...’ before ‘OID’
compobj_private.h:211: warning: type defaults to ‘int’ in declaration of ‘IPID’
compobj_private.h:211: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
compobj_private.h:212: warning: type defaults to ‘int’ in declaration of ‘IPID’
compobj_private.h:212: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
compobj_private.h:213: warning: type defaults to ‘int’ in declaration of ‘IPID’
compobj_private.h:213: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
compobj_private.h:214: warning: type defaults to ‘int’ in declaration of ‘IPID’
compobj_private.h:214: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
compobj_private.h:215: warning: type defaults to ‘int’ in declaration of ‘IPID’
compobj_private.h:215: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
compobj_private.h:218: error: expected declaration specifiers or ‘...’ before ‘STDOBJREF’
compobj_private.h:225: warning: type defaults to ‘int’ in declaration of ‘OXID’
compobj_private.h:225: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
compobj_private.h:238: error: expected ‘)’ before ‘oxid’
compobj_private.h:251: error: expected ‘)’ before ‘oxid’
compobj_private.h:257: error: expected declaration specifiers or ‘...’ before ‘OXID’
compobj_private.h: In function ‘apartment_getoxid’:
compobj_private.h:259: error: ‘oxid’ undeclared (first use in this function)
compobj_private.h:259: error: (Each undeclared identifier is reported only once
compobj_private.h:259: error: for each function it appears in.)
compobj_private.h:259: error: ‘const struct apartment’ has no member named ‘oxid’
make[2]: *** [ole16.o] Ошибка 1
make[2]: Leaving directory `/home/alex/Desktop/wine-1.1.0/dlls/ole32'
make[1]: *** [ole32] Ошибка 2
make[1]: Leaving directory `/home/alex/Desktop/wine-1.1.0/dlls'
make: *** [dlls] Ошибка 2
make[1]: Entering directory `/home/alex/Desktop/wine-1.1.0/dlls'
make[2]: Entering directory `/home/alex/Desktop/wine-1.1.0/dlls/acledit'
../../tools/makedep -C. -S../.. -T../..  main.c
Makefile: Permission denied
make[2]: [Makefile] Ошибка 1 (игнорирована)
../../tools/makedep -C. -S../.. -T../..  main.c
Makefile: Permission denied
make[2]: *** [depend] Ошибка 1
make[2]: Leaving directory `/home/alex/Desktop/wine-1.1.0/dlls/acledit'
make[1]: *** [acledit/__depend__] Ошибка 2
make[1]: Leaving directory `/home/alex/Desktop/wine-1.1.0/dlls'
make: *** [dlls/__depend__] Ошибка 2

Compilation failed, aborting install.


Наверное лучше скачать готовый пакет
Спасибо сказали:
Supervisor
Сообщения: 147
ОС: Sabayon ~x86

Re: Решено: Установкка Wine 1.0.0

Сообщение Supervisor »

AlexRed писал(а):
30.06.2008 20:53
1. Чем отличаются версии wine-1.0-1mdv2007.0.i586.rpm и wine-1.0-1mdv2007.1.i586.rpm?
2. В названии пакетов присутствует i586, там же на сайте напискано Architecture: I386 а в свойствах моей системы Процессор: i686 Чего-то я явно не понимаю.

То, что надо. Конфигурирование прошло, а при компиллировании пишет:

Код:

compobj_private.h:78: error: expected specifier-qualifier-list before ‘IPID’ compobj_private.h:96: error: expected specifier-qualifier-list before ‘OID’ compobj_private.h:116: error: expected specifier-qualifier-list before ‘STDOBJREF’ compobj_private.h:131: error: expected specifier-qualifier-list before ‘OXID’ compobj_private.h:151: error: expected specifier-qualifier-list before ‘OXID’ compobj_private.h:209: error: expected declaration specifiers or ‘...’ before ‘OID’ compobj_private.h:211: warning: type defaults to ‘int’ in declaration of ‘IPID’ compobj_private.h:211: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token compobj_private.h:212: warning: type defaults to ‘int’ in declaration of ‘IPID’ compobj_private.h:212: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token compobj_private.h:213: warning: type defaults to ‘int’ in declaration of ‘IPID’ compobj_private.h:213: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token compobj_private.h:214: warning: type defaults to ‘int’ in declaration of ‘IPID’ compobj_private.h:214: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token compobj_private.h:215: warning: type defaults to ‘int’ in declaration of ‘IPID’ compobj_private.h:215: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token compobj_private.h:218: error: expected declaration specifiers or ‘...’ before ‘STDOBJREF’ compobj_private.h:225: warning: type defaults to ‘int’ in declaration of ‘OXID’ compobj_private.h:225: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token compobj_private.h:238: error: expected ‘)’ before ‘oxid’ compobj_private.h:251: error: expected ‘)’ before ‘oxid’ compobj_private.h:257: error: expected declaration specifiers or ‘...’ before ‘OXID’ compobj_private.h: In function ‘apartment_getoxid’: compobj_private.h:259: error: ‘oxid’ undeclared (first use in this function) compobj_private.h:259: error: (Each undeclared identifier is reported only once compobj_private.h:259: error: for each function it appears in.) compobj_private.h:259: error: ‘const struct apartment’ has no member named ‘oxid’ make[2]: *** [ole16.o] Ошибка 1 make[2]: Leaving directory `/home/alex/Desktop/wine-1.1.0/dlls/ole32' make[1]: *** [ole32] Ошибка 2 make[1]: Leaving directory `/home/alex/Desktop/wine-1.1.0/dlls' make: *** [dlls] Ошибка 2 make[1]: Entering directory `/home/alex/Desktop/wine-1.1.0/dlls' make[2]: Entering directory `/home/alex/Desktop/wine-1.1.0/dlls/acledit' ../../tools/makedep -C. -S../.. -T../.. main.c Makefile: Permission denied make[2]: [Makefile] Ошибка 1 (игнорирована) ../../tools/makedep -C. -S../.. -T../.. main.c Makefile: Permission denied make[2]: *** [depend] Ошибка 1 make[2]: Leaving directory `/home/alex/Desktop/wine-1.1.0/dlls/acledit' make[1]: *** [acledit/__depend__] Ошибка 2 make[1]: Leaving directory `/home/alex/Desktop/wine-1.1.0/dlls' make: *** [dlls/__depend__] Ошибка 2 Compilation failed, aborting install.


1. wine-1.0-1mdv2007.0.i586.rpm - пакет для Мандривы 2007.0
wine-1.0-1mdv2007.1.i586.rpm - пакет для мандривы 2007.1

2. архитектура пакетов i586 а процессор i686 - получается пакет собран под более старый тип процессоров, можно его смело ставить.

3. пакет kernel-headers стоит? если стоит то попробуйте поставьте пакет kernel-source (возможно его придется качать из нета, весит примерно 50 Мб).
Спасибо сказали:
AlexRed
Сообщения: 11
ОС: Mandriva Linux 2007

Re: Решено: Установкка Wine 1.0.0

Сообщение AlexRed »

Supervisor писал(а):
30.06.2008 21:25
1. wine-1.0-1mdv2007.0.i586.rpm - пакет для Мандривы 2007.0
wine-1.0-1mdv2007.1.i586.rpm - пакет для мандривы 2007.1

А как посмотреть - какая у меня версия? Версию ядра нашёл, а этого нет

Supervisor писал(а):
30.06.2008 21:25
пакет kernel-headers стоит? если стоит то попробуйте поставьте пакет kernel-source (возможно его придется качать из нета, весит примерно 50 Мб)

kernel-source установлено
Спасибо сказали:
Supervisor
Сообщения: 147
ОС: Sabayon ~x86

Re: Решено: Установкка Wine 1.0.0

Сообщение Supervisor »

AlexRed писал(а):
30.06.2008 21:35
А как посмотреть - какая у меня версия? Версию ядра нашёл, а этого нет


посмотреть версию установленного пакета wine можно так

Код: Выделить всё

rpm -qa |grep wine


посмотреть версию мандривы можно в файле /etc/mandriva-release
Спасибо сказали:
AlexRed
Сообщения: 11
ОС: Mandriva Linux 2007

Re: Решено: Установкка Wine 1.0.0

Сообщение AlexRed »

Supervisor Спасибо большое за помощь! :) Скачал rpm - установилось, работает.
Тему можно закрывать: Разбираться с установкой из исходников буду когда освою хотя бы самые азы линукса. Обезьяний и метод тыка здесь не пройдёт)
Спасибо сказали: