*************************************************
The installed Wine libraries will not be found!
You can either:
Add the line '/usr/local/wine/lib' to /etc/ld.so.conf and run /sbin/ldconfig
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/wine/lib
*************************************************
*************************************************
[root@wellexp wine-20030408]# export LD_LIBRARY_PATH="/usr/local/wine/lib"
[root@wellexp wine-20030408]# wine notepad
bash: wine: command not found
[root@wellexp wine-20030408]# chmod +x /usr/bin/wine
[root@wellexp wine-20030408]# wine notepad
root@wellexp wine-20030408]# wine notepad
wine: chdir to /tmp/.wine-root/server-307-a8639 : No such file or directory
[root@wellexp wine-20030408]# mkdir -p /tmp/.wine-root/server-307-a8639
[root@wellexp wine-20030408]# wine notepad
wine: '/tmp/.wine-root/server-307-a8639' must not be accessible by other users
[root@wellexp wine-20030408]# wine notepad
wine: '/tmp/.wine-root/server-307-a8639/socket' is not a socket
还是不行:
[root@wellexp server]# pwd
/tmp/wine-20030408/server
[root@wellexp server]# wine notepad
Could not stat /mnt/fd0 (Success), ignoring drive A:
Could not stat /cdrom (Success), ignoring drive D:
fixme:win32E_CreateModule Security directory ignored
XIO: fatal IO error 0 (Success) on X server ":0.0"
after 177 requests (175 known processed) with 0 events remaining.
[root@wellexp server]# wine notepad
wine: lstat /tmp/.wine-root/server-307-a8639/socket : No such file or directory
[root@wellexp server]# ./wineserver
[root@wellexp server]# wine notepad
Could not stat /mnt/fd0 (Success), ignoring drive A:
Could not stat /cdrom (Success), ignoring drive D:
fixme:win32E_CreateModule Security directory ignored
XIO: fatal IO error 0 (Success) on X server ":0.0"
after 180 requests (179 known processed) with 0 events remaining.
[root@wellexp server]# wine -v
wine: lstat /tmp/.wine-root/server-307-a8639/socket : No such file or directory
[root@wellexp server]# ./wineserver
[root@wellexp server]# wine -v
Wine 20030408
[root@wellexp server]#
我作如下尝试,在/usr/bin/wine加入一句:
#!/bin/bash
# Copyright (c) 2001-2002, TransGaming Technologies Inc.
# Startup script for WineX.
# Version 1.6 Oct 6, 2002
export INSTALLDIR=/usr/local/wine
./wineserver----------------------------------------------(这句是自己加的)
# Set up the WINEPREFIX and LD_LIBRARY_PATH
export WINEPREFIX="$HOME/.wine"
export LD_LIBRARY_PATH="$INSTALLDIR/lib:$INSTALLDIR/bin:$LD_LIBRARY_PATH"
# Set up the path so that ancilary apps (like the debugger) can start
export PATH="$INSTALLDIR/bin:$PATH"
RUNWINE="$INSTALLDIR/bin/wine"
REGAPI="$INSTALLDIR/bin/regapi"
debugmsg=""
case "$1" in
"-ddlls") debugmsg="-debugmsg +loaddlls";shift;;
esac
$RUNWINE $debugmsg $@
这时,运行如下:
[root@wellexp bin]# wine notepad
Could not stat /mnt/fd0 (Success), ignoring drive A:
Could not stat /cdrom (Success), ignoring drive D:
fixme:win32E_CreateModule Security directory ignored
XIO: fatal IO error 0 (Success) on X server ":0.0"
after 12 requests (10 known processed) with 0 events remaining.
[root@wellexp bin]# wine notepad
Could not stat /mnt/fd0 (Success), ignoring drive A:
Could not stat /cdrom (Success), ignoring drive D:
fixme:win32E_CreateModule Security directory ignored
XIO: fatal IO error 0 (Success) on X server ":0.0"
after 177 requests (175 known processed) with 0 events remaining.
[root@wellexp bin]#
另外,我下载了常用win98dll包,解开到/usr/local/c/windows/system32目录下面,然后安装dcom98.exe,复制文件完成后,果然显示A newer version of DCOM95 or DCOM98 has been installed... 的错误信息,但是不知道如何解决。我该怎么办呢?