QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1501|回复: 8

有在Red Hat下装过wine的,请来帮帮忙

[复制链接]
发表于 2006-7-23 13:20:42 | 显示全部楼层 |阅读模式
[root@localhost root]# rpm -ivh /home/watt/hdd/wine-0.9.2-1rh9winehq.src.rpm
error: cannot create %sourcedir /usr/src/redhat/SOURCES

[root@localhost root]# ls /usr/src/redhat/SOURCES
ls: /usr/src/redhat/SOURCES: 没有那个文件或目录

[root@localhost root]# mkdir -p /usr/src/redhat/SOURCES

[root@localhost root]# rpm -ivh /home/watt/hdd/wine-0.9.2-1rh9winehq.src.rpm
warning: user vincent does not exist - using root
warning: group vincent does not exist - using root
warning: user vincent does not exist - using root
warning: group vincent does not exist - using root
warning: user vincent does not exist - using root
warning: group vincent does not exist - using root
warning: user vincent does not exist - using root
warning: group vincent does not exist - using root
warning: user vincent does not exist - using root
warning: group vincent does not exist - using root
   1:wine                   ########################################### [100%]

[root@localhost root]# ls /usr/src/redhat/
SOURCES  SPECS

[root@localhost root]# ls /usr/src/redhat/SOURCES
wine-0.9.2-generated.patch  wine-fonts-0.9.2.tar.gz
wine-0.9.2.tar.bz2          wine.init

[root@localhost root]# ls /usr/src/redhat/SPECS
wine-0.9.2-1rh9winehq.spec

[root@localhost root]# ls -l /usr/src/redhat/SOURCES/wine-0/wine-0.9.2
总用量 912
-rw-r--r--    1 1000     users        4125 2005-10-27  aclocal.m4
-rw-r--r--    1 1000     users        1304 2005-11-23  ANNOUNCE
-rw-r--r--    1 1000     users       11886 2005-10-25  AUTHORS
-rw-r--r--    1 1000     users         954 2003-11-26  BUGS
-rw-r--r--    1 1000     users      111699 2005-11-23  ChangeLog
-rwxr-xr-x    1 1000     users      590846 2005-11-23  configure
-rw-r--r--    1 1000     users       53917 2005-11-19  configure.ac
-rw-r--r--    1 1000     users       26428 2002-03-10  COPYING.LIB
-rw-r--r--    1 1000     users       20894 2005-11-01  DEVELOPERS-HINTS
drwxr-xr-x  162 1000     users        4096 2005-11-23  dlls
drwxr-xr-x    2 1000     users        4096 2005-11-23  documentation
drwxr-xr-x    2 1000     users        4096 2005-11-23  fonts
drwxr-xr-x    5 1000     users        8192 2005-11-23  include
drwxr-xr-x    6 1000     users        4096 2005-11-23  libs
-rw-r--r--    1 1000     users         822 2005-01-04  LICENSE
-rw-r--r--    1 1000     users        1324 2002-03-10  LICENSE.OLD
drwxr-xr-x    2 1000     users        4096 2005-11-23  loader
-rw-r--r--    1 1000     users        3793 2005-10-11  Makefile.in
-rw-r--r--    1 1000     users        7794 2005-10-07  Make.rules.in
drwxr-xr-x   35 1000     users        4096 2005-11-23  programs
-rw-r--r--    1 1000     users        7402 2005-05-10  README
drwxr-xr-x    2 1000     users        4096 2005-11-23  server
drwxr-xr-x    9 1000     users        4096 2005-11-23  tools
-rw-r--r--    1 1000     users          19 2005-11-23  VERSION

[root@localhost root]# ls -l /usr/src/redhat/SOURCES/wine-fonts-0
总用量 364
-rw-rw-r--    1 watt     watt         4912 2005-10-04  coue1255.fon
-rw-rw-r--    1 watt     watt         4912 2005-10-04  coue1256.fon
-rw-rw-r--    1 watt     watt         4912 2005-10-04  coue1257.fon
-rw-rw-r--    1 watt     watt         4912 2005-10-04  couree.fon
-rw-rw-r--    1 watt     watt         4912 2005-10-04  coure.fon
-rw-rw-r--    1 watt     watt         4912 2005-10-04  coureg.fon
-rw-rw-r--    1 watt     watt         4912 2005-10-04  courer.fon
-rw-rw-r--    1 watt     watt         4912 2005-10-04  couret.fon
-rw-rw-r--    1 watt     watt        12704 2005-10-04  cvgasys.fon
-rw-rw-r--    1 watt     watt         6512 2005-10-04  hvgasys.fon
-rw-rw-r--    1 watt     watt         6512 2005-10-04  jvgasys.fon
-rw-rw-r--    1 watt     watt         6240 2005-10-04  marlett.ttf
-rw-rw-r--    1 watt     watt        18832 2005-10-04  ssee1255.fon
-rw-rw-r--    1 watt     watt        18800 2005-10-04  ssee1256.fon
-rw-rw-r--    1 watt     watt        19504 2005-10-04  ssee1257.fon
-rw-rw-r--    1 watt     watt        18208 2005-10-04  ssee874.fon
-rw-rw-r--    1 watt     watt        11248 2005-10-04  sserifee.fon
-rw-rw-r--    1 watt     watt        20096 2005-10-04  sserife.fon
-rw-rw-r--    1 watt     watt        18480 2005-10-04  sserifeg.fon
-rw-rw-r--    1 watt     watt        20192 2005-10-04  sserifer.fon
-rw-rw-r--    1 watt     watt        19984 2005-10-04  sserifet.fon
-rw-rw-r--    1 watt     watt        12704 2005-10-04  svgasys.fon
-rw-rw-r--    1 watt     watt         6160 2005-10-04  vgas1255.fon
-rw-rw-r--    1 watt     watt         6160 2005-10-04  vgas1256.fon
-rw-rw-r--    1 watt     watt         6160 2005-10-04  vgas1257.fon
-rw-rw-r--    1 watt     watt         6000 2005-10-04  vgas874.fon
-rw-rw-r--    1 watt     watt         6608 2005-10-04  vgasyse.fon
-rw-rw-r--    1 watt     watt         6512 2005-10-04  vgasys.fon
-rw-rw-r--    1 watt     watt         6096 2005-10-04  vgasysg.fon
-rw-rw-r--    1 watt     watt         6672 2005-10-04  vgasysr.fon
-rw-rw-r--    1 watt     watt         6448 2005-10-04  vgasyst.fon

其中wine-0,wine-fonts-0是新建的文件夹,分别用于存放从wine-0.9.2.tar.bz2, wine-fonts-0.9.2.tar.gz解压出来的文件。

现在的问题是,我不知道如何安装了。

下面是README:

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 [options] 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
Whenever you compile fro 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
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.
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.
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 RedHat).
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. pgcc currently doesn't work with Wine. The cause of this problem
  is unknown.
  Of course you also need "make" (most likely GNU make).
  You also need flex version 2.5 or later and bison.  If you are
  using RedHat or Debian, install the flex and bison packages.
Optional support libraries:
  If you want CUPS printing support, please install both cups and cups-devel
  packages.

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:
    gunzip -c patch-file | patch -p1
where "patch-file" is the name of the patch file (something like
Wine-yymmdd.diff.gz). 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)
Note: the path of the file will also be added to the path when
      a full name is supplied on the commandline.
Wine is not yet complete, so several programs may crash. Provided you set up
winedbg correctly according to documentation/debugger.sgml, you will be dropped
into a debugger so that you can investigate and fix the problem.
For more information on how to do this, please read the file
documentation/debugging.sgml.
You should backup all your important files that you give Wine access
to, or use a special Wine copy of them, as there have been some cases
of users reporting file corruption. Do NOT run Explorer, for instance,
if you don't have a proper backup, as it renames/cripples several
directories sometimes. Not even other MS apps such as e.g. Messenger are safe,
as they launch Explorer somehow. This particular corruption (!$!$!$!$.pfr)
can at least partially be fixed by using
http://home.nexgo.de/andi.mohr/download/decorrupt_explorer

7. GETTING MORE INFORMATION
WWW:        A great deal of information about Wine is available from WineHQ at
        http://www.winehq.org/ : various Wine Guides, application database,
        bug tracking. This is probably the best starting point.
FAQ:        The Wine FAQ is located at http://www.winehq.org/FAQ
Usenet:        You can discuss Wine-related issues and get help
        on comp.emulators.ms-windows.wine.
Bugs:        Report bugs to Wine Bugzilla at http://bugs.winehq.org
        Please search the bugzilla database to check whether your
        problem is already found before posting a bug report.  You can
        also post bug reports to comp.emulators.ms-windows.wine.
        Please read the file documentation/bugs.sgml to see what
        information is required.
IRC:        Online help is available at channel #WineHQ on irc.freenode.net.
CVS:        The current Wine development tree is available through CVS.
        Go to http://www.winehq.org/cvs for more information.
Mailing lists:
        There are several mailing lists for Wine developers; see
        http://www.winehq.org/forums for more information.
If you add something, or fix a bug, please send a patch (in 'diff -u'
format) to [email protected] list for inclusion in the next
release.
--
Alexandre Julliard
[email protected]

以及我执行的步骤:

[root@localhost root]# ./tools/wineinstall
bash: ./tools/wineinstall: 没有那个文件或目录

[root@localhost root]# ./configure
bash: ./configure: 没有那个文件或目录

[root@localhost root]# make depend
make: *** No rule to make target `depend'.  Stop.

[root@localhost root]# make
make: *** No targets specified and no makefile found.  Stop.

我的Linux是Red Hat Linux 2.4.20-8
发表于 2006-7-23 14:35:27 | 显示全部楼层
兄弟,src.rpm不是这样装滴。要用到rpmbuild命令:
rpmbuild --rebuild *.src.rpm只打包不安装,打好的rpm包在/usr/src/redhat/RPMS的目录里。
rpmbuild --recompile *.src.rpm打包并安装。
回复

使用道具 举报

 楼主| 发表于 2006-7-23 15:47:52 | 显示全部楼层
[root@localhost root]# rpmbuild --recompile /home/watt/hdd/wine-0.9.2-1rh9winehq.src.rpm
bash: rpmbuild: command not found

[root@localhost root]# rpmbuild --rebuild /home/watt/hdd/wine-0.9.2-1rh9winehq.src.rpm
bash: rpmbuild: command not found

再帮我看看吧
回复

使用道具 举报

发表于 2006-7-23 16:37:09 | 显示全部楼层
开发包没装全?
回复

使用道具 举报

 楼主| 发表于 2006-7-23 21:47:21 | 显示全部楼层
下载了wine-0.9.17.tar.bz2
不知道行不行?
如果可以,应该怎么安装呢?
回复

使用道具 举报

发表于 2006-7-24 00:02:22 | 显示全部楼层
./configure
make
make install
回复

使用道具 举报

 楼主| 发表于 2006-7-24 23:23:11 | 显示全部楼层
我根据提示,把开发工具都装上了(像gcc等)。
果然,安装顺利。安装过程大约持续了40分钟。
但是,我运行
[root@localhost root]# wine --version
bash: wine: command not found
怎么回事?没有安装成功?!
wine默认安装到哪个目录的?我来找找看

我的安装包用了wine-0.9.17.tar.bz2
回复

使用道具 举报

发表于 2006-7-24 23:27:27 | 显示全部楼层
一般在/usr下。
回复

使用道具 举报

发表于 2006-11-30 10:06:42 | 显示全部楼层

Re: 有在Red Hat下装过wine的,请来帮帮忙

[quote:3df8372299="wattwang"][root@localhost root]# rpm -ivh /home/watt/hdd/wine-0.9.2-1rh9winehq.src.rpm
error: cannot create %sourcedir /usr/src/redhat/SOURCES

[root@localhost root]# ls /usr/src/redhat/SOURCES
ls: /usr/src/redhat/SOURCES: 没有那个文件或目录

[root@localhost root]# mkdir -p /usr/src/redhat/SOURCES

[root@localhost root]# rpm -ivh /home/watt/hdd/wine-0.9.2-1rh9winehq.src.rpm
warning: user vincent does not exist - using root
warning: group vincent does not exist - using root
warning: user vincent does not exist - using root
warning: group vincent does not exist - using root
warning: user vincent does not exist - using root
warning: group vincent does not exist - using root
warning: user vincent does not exist - using root
warning: group vincent does not exist - using root
warning: user vincent does not exist - using root
warning: group vincent does not exist - using root
   1:wine                   ########################################### [100%]

[root@localhost root]# ls /usr/src/redhat/
SOURCES  SPECS

[root@localhost root]# ls /usr/src/redhat/SOURCES
wine-0.9.2-generated.patch  wine-fonts-0.9.2.tar.gz
wine-0.9.2.tar.bz2          wine.init

[root@localhost root]# ls /usr/src/redhat/SPECS
wine-0.9.2-1rh9winehq.spec

[root@localhost root]# ls -l /usr/src/redhat/SOURCES/wine-0/wine-0.9.2
总用量 912
-rw-r--r--    1 1000     users        4125 2005-10-27  aclocal.m4
-rw-r--r--    1 1000     users        1304 2005-11-23  ANNOUNCE
-rw-r--r--    1 1000     users       11886 2005-10-25  AUTHORS
-rw-r--r--    1 1000     users         954 2003-11-26  BUGS
-rw-r--r--    1 1000     users      111699 2005-11-23  ChangeLog
-rwxr-xr-x    1 1000     users      590846 2005-11-23  configure
-rw-r--r--    1 1000     users       53917 2005-11-19  configure.ac
-rw-r--r--    1 1000     users       26428 2002-03-10  COPYING.LIB
-rw-r--r--    1 1000     users       20894 2005-11-01  DEVELOPERS-HINTS
drwxr-xr-x  162 1000     users        4096 2005-11-23  dlls
drwxr-xr-x    2 1000     users        4096 2005-11-23  documentation
drwxr-xr-x    2 1000     users        4096 2005-11-23  fonts
drwxr-xr-x    5 1000     users        8192 2005-11-23  include
drwxr-xr-x    6 1000     users        4096 2005-11-23  libs
-rw-r--r--    1 1000     users         822 2005-01-04  LICENSE
-rw-r--r--    1 1000     users        1324 2002-03-10  LICENSE.OLD
drwxr-xr-x    2 1000     users        4096 2005-11-23  loader
-rw-r--r--    1 1000     users        3793 2005-10-11  Makefile.in
-rw-r--r--    1 1000     users        7794 2005-10-07  Make.rules.in
drwxr-xr-x   35 1000     users        4096 2005-11-23  programs
-rw-r--r--    1 1000     users        7402 2005-05-10  README
drwxr-xr-x    2 1000     users        4096 2005-11-23  server
drwxr-xr-x    9 1000     users        4096 2005-11-23  tools
-rw-r--r--    1 1000     users          19 2005-11-23  VERSION

[root@localhost root]# ls -l /usr/src/redhat/SOURCES/wine-fonts-0
总用量 364
-rw-rw-r--    1 watt     watt         4912 2005-10-04  coue1255.fon
-rw-rw-r--    1 watt     watt         4912 2005-10-04  coue1256.fon
-rw-rw-r--    1 watt     watt         4912 2005-10-04  coue1257.fon
-rw-rw-r--    1 watt     watt         4912 2005-10-04  couree.fon
-rw-rw-r--    1 watt     watt         4912 2005-10-04  coure.fon
-rw-rw-r--    1 watt     watt         4912 2005-10-04  coureg.fon
-rw-rw-r--    1 watt     watt         4912 2005-10-04  courer.fon
-rw-rw-r--    1 watt     watt         4912 2005-10-04  couret.fon
-rw-rw-r--    1 watt     watt        12704 2005-10-04  cvgasys.fon
-rw-rw-r--    1 watt     watt         6512 2005-10-04  hvgasys.fon
-rw-rw-r--    1 watt     watt         6512 2005-10-04  jvgasys.fon
-rw-rw-r--    1 watt     watt         6240 2005-10-04  marlett.ttf
-rw-rw-r--    1 watt     watt        18832 2005-10-04  ssee1255.fon
-rw-rw-r--    1 watt     watt        18800 2005-10-04  ssee1256.fon
-rw-rw-r--    1 watt     watt        19504 2005-10-04  ssee1257.fon
-rw-rw-r--    1 watt     watt        18208 2005-10-04  ssee874.fon
-rw-rw-r--    1 watt     watt        11248 2005-10-04  sserifee.fon
-rw-rw-r--    1 watt     watt        20096 2005-10-04  sserife.fon
-rw-rw-r--    1 watt     watt        18480 2005-10-04  sserifeg.fon
-rw-rw-r--    1 watt     watt        20192 2005-10-04  sserifer.fon
-rw-rw-r--    1 watt     watt        19984 2005-10-04  sserifet.fon
-rw-rw-r--    1 watt     watt        12704 2005-10-04  svgasys.fon
-rw-rw-r--    1 watt     watt         6160 2005-10-04  vgas1255.fon
-rw-rw-r--    1 watt     watt         6160 2005-10-04  vgas1256.fon
-rw-rw-r--    1 watt     watt         6160 2005-10-04  vgas1257.fon
-rw-rw-r--    1 watt     watt         6000 2005-10-04  vgas874.fon
-rw-rw-r--    1 watt     watt         6608 2005-10-04  vgasyse.fon
-rw-rw-r--    1 watt     watt         6512 2005-10-04  vgasys.fon
-rw-rw-r--    1 watt     watt         6096 2005-10-04  vgasysg.fon
-rw-rw-r--    1 watt     watt         6672 2005-10-04  vgasysr.fon
-rw-rw-r--    1 watt     watt         6448 2005-10-04  vgasyst.fon

其中wine-0,wine-fonts-0是新建的文件夹,分别用于存放从wine-0.9.2.tar.bz2, wine-fonts-0.9.2.tar.gz解压出来的文件。

现在的问题是,我不知道如何安装了。

下面是README:

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 [options] 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
Whenever you compile fro 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
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.
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.
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 RedHat).
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. pgcc currently doesn't work with Wine. The cause of this problem
  is unknown.
  Of course you also need "make" (most likely GNU make).
  You also need flex version 2.5 or later and bison.  If you are
  using RedHat or Debian, install the flex and bison packages.
Optional support libraries:
  If you want CUPS printing support, please install both cups and cups-devel
  packages.

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:
    gunzip -c patch-file | patch -p1
where "patch-file" is the name of the patch file (something like
Wine-yymmdd.diff.gz). 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)
Note: the path of the file will also be added to the path when
      a full name is supplied on the commandline.
Wine is not yet complete, so several programs may crash. Provided you set up
winedbg correctly according to documentation/debugger.sgml, you will be dropped
into a debugger so that you can investigate and fix the problem.
For more information on how to do this, please read the file
documentation/debugging.sgml.
You should backup all your important files that you give Wine access
to, or use a special Wine copy of them, as there have been some cases
of users reporting file corruption. Do NOT run Explorer, for instance,
if you don't have a proper backup, as it renames/cripples several
directories sometimes. Not even other MS apps such as e.g. Messenger are safe,
as they launch Explorer somehow. This particular corruption (!$!$!$!$.pfr)
can at least partially be fixed by using
http://home.nexgo.de/andi.mohr/download/decorrupt_explorer

7. GETTING MORE INFORMATION
WWW:        A great deal of information about Wine is available from WineHQ at
        http://www.winehq.org/ : various Wine Guides, application database,
        bug tracking. This is probably the best starting point.
FAQ:        The Wine FAQ is located at http://www.winehq.org/FAQ
Usenet:        You can discuss Wine-related issues and get help
        on comp.emulators.ms-windows.wine.
Bugs:        Report bugs to Wine Bugzilla at http://bugs.winehq.org
        Please search the bugzilla database to check whether your
        problem is already found before posting a bug report.  You can
        also post bug reports to comp.emulators.ms-windows.wine.
        Please read the file documentation/bugs.sgml to see what
        information is required.
IRC:        Online help is available at channel #WineHQ on irc.freenode.net.
CVS:        The current Wine development tree is available through CVS.
        Go to http://www.winehq.org/cvs for more information.
Mailing lists:
        There are several mailing lists for Wine developers; see
        http://www.winehq.org/forums for more information.
If you add something, or fix a bug, please send a patch (in 'diff -u'
format) to [email protected] list for inclusion in the next
release.
--
Alexandre Julliard
[email protected]

以及我执行的步骤:

[root@localhost root]# ./tools/wineinstall
bash: ./tools/wineinstall: 没有那个文件或目录

[root@localhost root]# ./configure
bash: ./configure: 没有那个文件或目录

[root@localhost root]# make depend
make: *** No rule to make target `depend'.  Stop.

[root@localhost root]# make
make: *** No targets specified and no makefile found.  Stop.

我的Linux是Red Hat Linux 2.4.20-8[/quote]




权限问题!!
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-9-22 08:20 , Processed in 0.042855 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表