|
|
Регистрация | << Правила форума >> | FAQ | Пользователи | Календарь | Поиск | Сообщения за сегодня | Все разделы прочитаны |
|
Опции темы | Поиск в этой теме | Опции просмотра |
#1
|
|||
|
|||
установка проги Wine
проблема с установкой программы wine
Зд@ровo всем!!!! я новичок Linux помогите кто в курсе не получается установить прогу wine-0.9.31 она очень нужна так как я не давно поверх WINХР поставил Linux Mandriva 2007 и в мандриве по умолчанию монтируются все диски от xp c доступом «только для чтение» хотелось бы запускать программы из Винды. как написано в readme (приведенное ниже) 1-й способ tar -xvf wine-0.9.31.tar //распаковываю архив cd wine-0.9.31 //перехожу в wine-0.9.31 [root@localhost wine-0.9.31]# ls -l //вот содержимое каталога: итого 2728 -rw-rw-r-- 1 root root 5395 Фев 16 17:48 aclocal.m4 -rw-rw-r-- 1 root root 34394 Фев 16 17:48 ANNOUNCE -rw-rw-r-- 1 root root 13053 Фев 16 17:48 AUTHORS -rw-rw-r-- 1 root root 1910066 Фев 16 17:48 ChangeLog -rw-r--r-- 1 root root 12082 Июл 30 21:16 config.log -rwxrwxr-x 1 root root 633763 Фев 16 17:48 configure* -rw-rw-r-- 1 root root 60844 Фев 16 17:48 configure.ac -rw-rw-r-- 1 root root 26434 Фев 16 17:48 COPYING.LIB drwxrwxr-x 206 root root 4096 Фев 16 17:48 dlls/ drwxrwxr-x 2 root root 1024 Фев 16 17:48 documentation/ drwxrwxr-x 2 root root 1024 Фев 16 17:48 fonts/ drwxrwxr-x 5 root root 6144 Фев 16 17:48 include/ drwxrwxr-x 5 root root 1024 Фев 16 17:48 libs/ -rw-rw-r-- 1 root root 824 Фев 16 17:48 LICENSE -rw-rw-r-- 1 root root 1324 Фев 16 17:48 LICENSE.OLD drwxrwxr-x 2 root root 1024 Фев 16 17:48 loader/ -rw-rw-r-- 1 root root 35328 Фев 16 17:48 Makefile.in -rw-rw-r-- 1 root root 9237 Фев 16 17:48 Make.rules.in drwxrwxr-x 38 root root 1024 Фев 16 17:48 programs/ -rw-rw-r-- 1 root root 6670 Фев 16 17:48 README drwxrwxr-x 2 root root 2048 Фев 16 17:48 server/ drwxrwxr-x 9 root root 1024 Фев 16 17:48 tools/ -rw-rw-r-- 1 root root 20 Фев 16 17:48 VERSION ./configure & make depend & make //компилирую прогу результат: [1] 5478 [2] 5479 make: *** Нет правила для сборки цели `depend'. Останов. make: *** Не заданы цели и не найден make-файл. Останов. [2]+ Exit 2 make depend [root@localhost wine-0.9.31]# checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking whether make sets $(MAKE)... yes checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking for cpp... cpp checking for the directory containing the Wine tools... $(TOPOBJDIR) checking how to run the C preprocessor... gcc -E checking for X... libraries , headers checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... yes checking for flex... no checking for lex... no checking for :... no checking for flex... no checking for lex... no configure: error: no suitable lex found. Please install the 'flex' package. [1]+ Exit 1 ./configure 2-способ root@localhost tools]# ./wineinstall //запускаю результат: WINE Installer v0.75 /home/guru/Desktop/linux_soft/wine/wine-0.9.31 /home/guru/Desktop/linux_soft/wine/wine-0.9.31/tools You are running wineinstall as root, this is not advisable. Please rerun as a user. Aborting. вот README для wine 1. INTRODUCTION Wine is a program which allows running Microsoft Windows programs (including DOS, Windows 3.x and Win32 executables) on Unix. It consists of a program loader which loads and executes a Microsoft Windows binary, and a library (called Winelib) that implements Windows API calls using their Unix or X11 equivalents. The library may also be used for porting Win32 code into native Unix executables. Wine is free software, released under the GNU LGPL; see the file LICENSE for the details. 2. QUICK START Whenever you compile from source, it is recommended to use the Wine Installer to build and install Wine. From the top-level directory of the Wine source (which contains this file), run: ./tools/wineinstall Run programs as "wine program". For more information and problem resolution, read the rest of this file, the Wine man page, and especially the wealth of information found at http://www.winehq.org. 3. REQUIREMENTS To compile and run Wine, you must have one of the following: Linux version 2.0.36 or above FreeBSD 5.3 or later Solaris x86 2.5 or later NetBSD-current Mac OS X 10.4 or later As Wine requires kernel-level thread support to run, only the operating systems mentioned above are supported. Other operating systems which support kernel threads may be supported in the future. Linux info: While Linux 2.2.x should still work and Linux 2.0.x may still work (older 2.0.x versions had thread-related crashes), it's best to have a current kernel such as 2.4.x or 2.6.x. FreeBSD info: Wine should build on FreeBSD 4.x and FreeBSD 5.x, but versions before FreeBSD 5.3 will generally not work properly. More information can be found in the FreeBSD ports tree at <ftp://ftp.freebsd.org/pub/FreeBSD/ports/ports/emulators/wine/>. Solaris info: You will most likely need to build Wine with the GNU toolchain (gcc, gas, etc.). Warning : installing gas does *not* ensure that it will be used by gcc. Recompiling gcc after installing gas or symlinking cc, as and ld to the gnu tools is said to be necessary. NetBSD info: Make sure you have the USER_LDT, SYSVSHM, SYSVSEM, and SYSVMSG options turned on in your kernel. Mac OS X info: You need Xcode 2.4 or later to build properly on x86. Supported file systems: Wine should run on most file systems. However, Wine will fail to start if umsdos is used for the /tmp directory. A few compatibility problems have also been reported using files accessed through Samba. Also, as NTFS can only be used safely with readonly access for now, we recommend against using NTFS, as Windows programs need write access almost everywhere. In case of NTFS files, copy over to a writable location. Basic requirements: You need to have the X11 development include files installed (called xlib6g-dev in Debian and XFree86-devel in Red Hat). Build tool requirements: On x86 Systems gcc >= 2.7.2 is required. Versions earlier than 2.7.2.3 may have problems when certain files are compiled with optimization, often due to problems with header file management. Of course you also need "make" (most likely GNU make). You also need flex version 2.5 or later and bison. Optional support libraries: Run ./configure --verbose to see the optional libraries that could be used but aren't found on your system. 4. COMPILATION In case you chose to not use wineinstall, run the following commands to build Wine: ./configure make depend make This will build the program "wine" and numerous support libraries/binaries. The program "wine" will load and run Windows executables. The library "libwine" ("Winelib") can be used to compile and link Windows source code under Unix. To see compile configuration options, do ./configure --help. To upgrade to a new release by using a patch file, first cd to the top-level directory of the release (the one containing this README file). Then do a "make clean", and patch the release with: bunzip2 -c patch-file | patch -p1 where "patch-file" is the name of the patch file (something like wine-0.9.x.diff.bz2). You can then re-run "./configure", and then run "make depend && make". 5. SETUP Once Wine has been built correctly, you can do "make install"; this will install the wine executable, the Wine man page, and a few other needed files. Don't forget to uninstall any conflicting previous Wine installation first. Try either "dpkg -r wine" or "rpm -e wine" or "make uninstall" before installing. See the Support area at http://www.winehq.org/ for configuration hints. In case of library loading errors (e.g. "Error while loading shared libraries: libntdll.so"), make sure to add the library path to /etc/ld.so.conf and run ldconfig as root. 6. RUNNING PROGRAMS When invoking Wine, you may specify the entire path to the executable, or a filename only. For example: to run Solitaire: wine sol (using the search Path as specified in wine sol.exe the config file to locate the file) wine c:\\windows\\sol.exe (using DOS filename syntax) wine /usr/windows/sol.exe (using Unix filename syntax) wine sol.exe /parameter1 -parameter2 parameter3 (calling program with parameters) Wine is not yet complete, so several programs may crash. In that crash you will be dropped into the debugger so that you can investigate and fix the problem. For more information on how to do this, please check the debugging section of the Wine Developer's Guide. буду признателен!!!!! |
#2
|
||||
|
||||
лучше поищи rpm прямо для мандривы. в инете навалом, а если с инетом траблы, я уже писАл в соседней теме.
|
#3
|
||||
|
||||
У тебя же там пакет flex просит поставить вроде как.
|