大神你遇到依赖问题了么 是怎么解决依赖问题的呢?zhtengw 写了:我想,这是ubuntu目录结构本身的问题,wine的configure脚本不知去哪里找32位的库文件,我建议您试试这样,243750496 写了: 看来一点都没少 唉~
求救然后再编译试试。代码: 全选
sudo ln -s /usr/lib/i386-linux-gnu /usr/lib32
wine 编译的依赖问题已解决但我想问下为什么更改几行代码就能解决呢 具体代码见40楼 求回答
-
- 帖子: 1038
- 注册时间: 2012-06-09 15:40
Re: wine 新的问题 opencl 32-bit等问题
-
- 帖子: 41
- 注册时间: 2013-03-21 11:24
- 系统: Slackware + Gentoo
Re: wine 新的问题 opencl 32-bit等问题
用slackware和gentoo,表示没遇到243750496 写了: 大神你遇到依赖问题了么 是怎么解决依赖问题的呢?

-
- 帖子: 1038
- 注册时间: 2012-06-09 15:40
Re: wine 编译的依赖问题 我是64位ubuntu 我日夜不停捣鼓了半个月了 到现在都没解决急死了 详情请见27、
这是我执行
cd /usr/lib/i386-linux-gnu
sudo rm -f libfreetype.so
sudo rm -f libX11.so
sudo rm -f libXau.so
sudo rm -f libXcursor.so
sudo rm -f libXi.so
sudo rm -f libXext.so
sudo rm -f libXxf86vm.so
sudo rm -f libXrandr.so
sudo rm -f libXrender.so
sudo rm -f libXinerama.so
sudo rm -f libXcomposite.so
sudo rm -f libGLU.so
sudo rm -f libOSMesa.so
sudo rm -f libgnutls.so
sudo rm -f libv4l1.so
sudo rm -f libv4l2.so
sudo rm -f liblcms.so
sudo rm -f libcapi20.so
sudo rm -f libfontconfig.so
sudo rm -f libtiff.so
sudo rm -f libmpg123.so
sudo rm -f libodbc.so
sudo rm -f libopenal.so
sudo rm -f libldap.so
sudo rm -f liblber.so
sudo rm -f libxml2.so
sudo rm -f libxslt.so
sudo rm -f libssl.so
sudo rm -f libcrypto.so
sudo rm -f libjpeg.so
cd /usr/lib/i386-linux-gnu/mesa
sudo rm -f libGL.so
cd /lib/i386-linux-gnu
sudo rm -f libdbus-1.so
sudo rm -f libpng.so
后的结果
反而编译不成了说明他还是找的到的(这是我删除了此步sudo ln -s /usr/lib/i386-linux-gnu /usr/lib32建立的链接后又执行上面一系列rm -f 的结果)
cd /usr/lib/i386-linux-gnu
sudo rm -f libfreetype.so
sudo rm -f libX11.so
sudo rm -f libXau.so
sudo rm -f libXcursor.so
sudo rm -f libXi.so
sudo rm -f libXext.so
sudo rm -f libXxf86vm.so
sudo rm -f libXrandr.so
sudo rm -f libXrender.so
sudo rm -f libXinerama.so
sudo rm -f libXcomposite.so
sudo rm -f libGLU.so
sudo rm -f libOSMesa.so
sudo rm -f libgnutls.so
sudo rm -f libv4l1.so
sudo rm -f libv4l2.so
sudo rm -f liblcms.so
sudo rm -f libcapi20.so
sudo rm -f libfontconfig.so
sudo rm -f libtiff.so
sudo rm -f libmpg123.so
sudo rm -f libodbc.so
sudo rm -f libopenal.so
sudo rm -f libldap.so
sudo rm -f liblber.so
sudo rm -f libxml2.so
sudo rm -f libxslt.so
sudo rm -f libssl.so
sudo rm -f libcrypto.so
sudo rm -f libjpeg.so
cd /usr/lib/i386-linux-gnu/mesa
sudo rm -f libGL.so
cd /lib/i386-linux-gnu
sudo rm -f libdbus-1.so
sudo rm -f libpng.so
后的结果
反而编译不成了说明他还是找的到的(这是我删除了此步sudo ln -s /usr/lib/i386-linux-gnu /usr/lib32建立的链接后又执行上面一系列rm -f 的结果)
-
- 帖子: 1038
- 注册时间: 2012-06-09 15:40
Re: wine 编译的依赖问题 我是64位ubuntu 我日夜不停捣鼓了半个月了 到现在都没解决急死了 详情请见27、
你不是检测不到库文件么 我删了相应库文件看有啥结果
cc@thinkpad:~/wine$ cd /usr/lib/i386-linux-gnu
cc@thinkpad:/usr/lib/i386-linux-gnu$ sudo rm -f libOSMesa.so
cc@thinkpad:/usr/lib/i386-linux-gnu$ sudo rm -f libdbus-1.so
cc@thinkpad:/usr/lib/i386-linux-gnu$ sudo rm -f libdbus-1.so
cc@thinkpad:/usr/lib/i386-linux-gnu$ sudo rm -f liblcms.so
cc@thinkpad:/usr/lib/i386-linux-gnu$ sudo rm -f libcapi20.so
cc@thinkpad:/usr/lib/i386-linux-gnu$ sudo rm -f libtiff.so
cc@thinkpad:/usr/lib/i386-linux-gnu$ sudo rm -f libmpg123.so
cc@thinkpad:/usr/lib/i386-linux-gnu$ sudo rm -f libopenal.so
cc@thinkpad:/usr/lib/i386-linux-gnu$ sudo rm -f libldap.so
cc@thinkpad:/usr/lib/i386-linux-gnu$ cd
cc@thinkpad:~$ cd wine
cc@thinkpad:~/wine$ sudo ./configure
貌似没有影响
configure: libOSMesa 32-bit development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
configure: OpenCL 32-bit development files not found, OpenCL won't be supported.
configure: libdbus 32-bit development files not found, no dynamic device support.
configure: libgnutls 32-bit development files not found, no schannel support.
configure: lib(n)curses 32-bit development files not found, curses won't be supported.
configure: libsane 32-bit development files not found, scanners won't be supported.
configure: libgphoto2 32-bit development files not found, digital cameras won't be supported.
configure: libgphoto2_port 32-bit development files not found, digital cameras won't be auto-detected.
configure: liblcms 32-bit development files not found, Color Management won't be supported.
configure: gstreamer-0.10 base plugins 32-bit development files not found, gstreamer support disabled
configure: OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
configure: libcapi20 32-bit development files not found, ISDN won't be supported.
configure: libcups 32-bit development files not found, CUPS won't be supported.
configure: libgsm 32-bit development files not found, gsm 06.10 codec won't be supported.
configure: libtiff 32-bit development files not found, TIFF won't be supported.
configure: libmpg123 32-bit development files not found (or too old), mp3 codec won't be supported.
configure: libopenal 32-bit development files not found (or too old), OpenAL won't be supported.
configure: libldap (OpenLDAP) 32-bit development files not found, LDAP won't be supported.
configure: WARNING: prelink not found, base address of core dlls won't be set correctly.
configure: WARNING: libxslt 32-bit development files not found, xslt won't be supported.
configure: WARNING: libpng 32-bit development files not found, PNG won't be supported.
configure: WARNING: No sound system was found. Windows applications will be silent.
configure: Finished. Do 'make' to compile Wine.
cc@thinkpad:~/wine$ cd /usr/lib/i386-linux-gnu
cc@thinkpad:/usr/lib/i386-linux-gnu$ sudo rm -f libOSMesa.so
cc@thinkpad:/usr/lib/i386-linux-gnu$ sudo rm -f libdbus-1.so
cc@thinkpad:/usr/lib/i386-linux-gnu$ sudo rm -f libdbus-1.so
cc@thinkpad:/usr/lib/i386-linux-gnu$ sudo rm -f liblcms.so
cc@thinkpad:/usr/lib/i386-linux-gnu$ sudo rm -f libcapi20.so
cc@thinkpad:/usr/lib/i386-linux-gnu$ sudo rm -f libtiff.so
cc@thinkpad:/usr/lib/i386-linux-gnu$ sudo rm -f libmpg123.so
cc@thinkpad:/usr/lib/i386-linux-gnu$ sudo rm -f libopenal.so
cc@thinkpad:/usr/lib/i386-linux-gnu$ sudo rm -f libldap.so
cc@thinkpad:/usr/lib/i386-linux-gnu$ cd
cc@thinkpad:~$ cd wine
cc@thinkpad:~/wine$ sudo ./configure
貌似没有影响
configure: libOSMesa 32-bit development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
configure: OpenCL 32-bit development files not found, OpenCL won't be supported.
configure: libdbus 32-bit development files not found, no dynamic device support.
configure: libgnutls 32-bit development files not found, no schannel support.
configure: lib(n)curses 32-bit development files not found, curses won't be supported.
configure: libsane 32-bit development files not found, scanners won't be supported.
configure: libgphoto2 32-bit development files not found, digital cameras won't be supported.
configure: libgphoto2_port 32-bit development files not found, digital cameras won't be auto-detected.
configure: liblcms 32-bit development files not found, Color Management won't be supported.
configure: gstreamer-0.10 base plugins 32-bit development files not found, gstreamer support disabled
configure: OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
configure: libcapi20 32-bit development files not found, ISDN won't be supported.
configure: libcups 32-bit development files not found, CUPS won't be supported.
configure: libgsm 32-bit development files not found, gsm 06.10 codec won't be supported.
configure: libtiff 32-bit development files not found, TIFF won't be supported.
configure: libmpg123 32-bit development files not found (or too old), mp3 codec won't be supported.
configure: libopenal 32-bit development files not found (or too old), OpenAL won't be supported.
configure: libldap (OpenLDAP) 32-bit development files not found, LDAP won't be supported.
configure: WARNING: prelink not found, base address of core dlls won't be set correctly.
configure: WARNING: libxslt 32-bit development files not found, xslt won't be supported.
configure: WARNING: libpng 32-bit development files not found, PNG won't be supported.
configure: WARNING: No sound system was found. Windows applications will be silent.
configure: Finished. Do 'make' to compile Wine.
-
- 帖子: 41
- 注册时间: 2013-03-21 11:24
- 系统: Slackware + Gentoo
Re: wine 编译的依赖问题 我是64位ubuntu 我日夜不停捣鼓了半个月了 到现在都没解决急死了 详情请见27、
您好,我现在仔细看了一下您的configure信息,发现您已经可以编译出一个可用的wine了,只不过会没声音,一些库的缺失并不影响的。实际上,您主要关注configure最后几行的WARNING信息就行了243750496 写了:你不是检测不到库文件么 我删了相应库文件看有啥结果
cc@thinkpad:~/wine$ cd /usr/lib/i386-linux-gnu
cc@thinkpad:/usr/lib/i386-linux-gnu$ sudo rm -f libOSMesa.so
cc@thinkpad:/usr/lib/i386-linux-gnu$ sudo rm -f libdbus-1.so
cc@thinkpad:/usr/lib/i386-linux-gnu$ sudo rm -f libdbus-1.so
cc@thinkpad:/usr/lib/i386-linux-gnu$ sudo rm -f liblcms.so
cc@thinkpad:/usr/lib/i386-linux-gnu$ sudo rm -f libcapi20.so
cc@thinkpad:/usr/lib/i386-linux-gnu$ sudo rm -f libtiff.so
cc@thinkpad:/usr/lib/i386-linux-gnu$ sudo rm -f libmpg123.so
cc@thinkpad:/usr/lib/i386-linux-gnu$ sudo rm -f libopenal.so
cc@thinkpad:/usr/lib/i386-linux-gnu$ sudo rm -f libldap.so
cc@thinkpad:/usr/lib/i386-linux-gnu$ cd
cc@thinkpad:~$ cd wine
cc@thinkpad:~/wine$ sudo ./configure
貌似没有影响
configure: libOSMesa 32-bit development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
configure: OpenCL 32-bit development files not found, OpenCL won't be supported.
configure: libdbus 32-bit development files not found, no dynamic device support.
configure: libgnutls 32-bit development files not found, no schannel support.
configure: lib(n)curses 32-bit development files not found, curses won't be supported.
configure: libsane 32-bit development files not found, scanners won't be supported.
configure: libgphoto2 32-bit development files not found, digital cameras won't be supported.
configure: libgphoto2_port 32-bit development files not found, digital cameras won't be auto-detected.
configure: liblcms 32-bit development files not found, Color Management won't be supported.
configure: gstreamer-0.10 base plugins 32-bit development files not found, gstreamer support disabled
configure: OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
configure: libcapi20 32-bit development files not found, ISDN won't be supported.
configure: libcups 32-bit development files not found, CUPS won't be supported.
configure: libgsm 32-bit development files not found, gsm 06.10 codec won't be supported.
configure: libtiff 32-bit development files not found, TIFF won't be supported.
configure: libmpg123 32-bit development files not found (or too old), mp3 codec won't be supported.
configure: libopenal 32-bit development files not found (or too old), OpenAL won't be supported.
configure: libldap (OpenLDAP) 32-bit development files not found, LDAP won't be supported.
configure: WARNING: prelink not found, base address of core dlls won't be set correctly.
configure: WARNING: libxslt 32-bit development files not found, xslt won't be supported.
configure: WARNING: libpng 32-bit development files not found, PNG won't be supported.
configure: WARNING: No sound system was found. Windows applications will be silent.
configure: Finished. Do 'make' to compile Wine.

我建议您安装一下几个包, gstreamer-codec-install:i386
gnome-codec-install:i386
oss-compat:i386
pulseaudio-esound-compat:i386
libmpg123-0:i386
然后再编译wine,应该可以得到可以的有声音的wine了。
-
- 帖子: 1038
- 注册时间: 2012-06-09 15:40
Re: wine 编译的依赖问题 我是64位ubuntu 我日夜不停捣鼓了半个月了 到现在都没解决急死了 详情请见27、
我想弄清楚 为什么34楼删除了相应库文件没有影响?
-
- 帖子: 41
- 注册时间: 2013-03-21 11:24
- 系统: Slackware + Gentoo
Re: wine 编译的依赖问题 我是64位ubuntu 我日夜不停捣鼓了半个月了 到现在都没解决急死了 详情请见27、
这些只是库文件的符号链接,实际上这个库文件还是在的,而且wine的检查的是develpment files,如果库文件版本太低或没安装相应的头文件仍然会出现这些提示。我对Linux下的开发了解不深,也只能说个大概,有错漏之处望谅243750496 写了:我想弄清楚 为什么34楼删除了相应库文件没有影响?
-
- 帖子: 1038
- 注册时间: 2012-06-09 15:40
Re: wine 编译的依赖问题 我是64位ubuntu 我日夜不停捣鼓了半个月了 到现在都没解决急死了 详情请见27、
有大神吗?为什么我安装了libosMesa6-dev:i386仍然提示
configure: libOSMesa 32-bit development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
cc@thinkpad:~/wine$ sudo apt-get install libosMesa6-dev:i386
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
libosmesa6-dev:i386 已经是最新的版本了。
如果这是个案那
cc@thinkpad:/lib/i386-linux-gnu$ sudo apt-get install libdbus-1-dev:i386
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
libdbus-1-dev:i386 已经是最新的版本了。
下列软件包是自动安装的并且现在不需要了
configure: libdbus 32-bit development files not found, no dynamic device support.
这是怎么回事
为什么安装了还是会无视掉
configure: libOSMesa 32-bit development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
cc@thinkpad:~/wine$ sudo apt-get install libosMesa6-dev:i386
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
libosmesa6-dev:i386 已经是最新的版本了。
如果这是个案那
cc@thinkpad:/lib/i386-linux-gnu$ sudo apt-get install libdbus-1-dev:i386
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
libdbus-1-dev:i386 已经是最新的版本了。
下列软件包是自动安装的并且现在不需要了
configure: libdbus 32-bit development files not found, no dynamic device support.
这是怎么回事
为什么安装了还是会无视掉
-
- 帖子: 1038
- 注册时间: 2012-06-09 15:40
Re: wine 编译的依赖问题 我是64位ubuntu13.04 我捣鼓了半个月了 到现在都没解决急死了 详情请见27
经过一些列努力 就剩下这一个依赖了,可是明明有却为什么找不到
config.status: linking tools/winewrapper to wine
config.status: executing include/stamp-h commands
config.status: executing dlls/gdi32/dibdrv commands
config.status: executing dlls/gdi32/enhmfdrv commands
config.status: executing dlls/gdi32/mfdrv commands
config.status: executing dlls/kernel32/nls commands
config.status: executing dlls/user32/resources commands
config.status: executing dlls/wineps.drv/data commands
config.status: executing include/wine commands
config.status: executing Makefile commands
configure: libOSMesa development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
configure: Finished. Do 'make' to compile Wine.
注:那两个libOSMesa.so 一个是i386-linux-gnu 下的一个是x86_64-linux-gnu下的 且链接未断裂
config.status: linking AUTHORS to dlls/shell32/AUTHORSconfig.status: linking tools/winewrapper to wine
config.status: executing include/stamp-h commands
config.status: executing dlls/gdi32/dibdrv commands
config.status: executing dlls/gdi32/enhmfdrv commands
config.status: executing dlls/gdi32/mfdrv commands
config.status: executing dlls/kernel32/nls commands
config.status: executing dlls/user32/resources commands
config.status: executing dlls/wineps.drv/data commands
config.status: executing include/wine commands
config.status: executing Makefile commands
configure: libOSMesa development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
configure: Finished. Do 'make' to compile Wine.
注:那两个libOSMesa.so 一个是i386-linux-gnu 下的一个是x86_64-linux-gnu下的 且链接未断裂
-
- 帖子: 1038
- 注册时间: 2012-06-09 15:40
Re: wine 编译的依赖问题 我是64位ubuntu13.04 我捣鼓了半个月了 到现在都没解决急死了 详情请见27
its all there, everything installed and in proper places.
yesterday after digging little deeper (like config.log duh!) i found error about missing glAccum symbol in libosmesa test. i checked libosmesa.so for exported symbol and surely it is not there. some more reading made me think that libosmesa used to contain glAccum but later it was split from libGL or something like that. dont remember any more what made me think that.. so i did nasty hack in configure script to make it compile.
replaced:用
Code:
LIBS="-lOSMesa $X_LIBS $X_PRE_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
with:这个替换
Code:
LIBS="-lOSMesa -lGLU -lGL $X_LIBS $X_PRE_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
before first instance of:在此之前
Code:
if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
inserted:插入
Code:
ac_cv_lib_soname_OSMesa=libOSMesa.so
no idea why script failed to pick up libOSMesa.so name, but it was a new error after linking with gl libs. after that project could be compiled. i am not sure this solution is correct either, someone who knows more about these things should verify.
为什么这样就行了
yesterday after digging little deeper (like config.log duh!) i found error about missing glAccum symbol in libosmesa test. i checked libosmesa.so for exported symbol and surely it is not there. some more reading made me think that libosmesa used to contain glAccum but later it was split from libGL or something like that. dont remember any more what made me think that.. so i did nasty hack in configure script to make it compile.
replaced:用
Code:
LIBS="-lOSMesa $X_LIBS $X_PRE_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
with:这个替换
Code:
LIBS="-lOSMesa -lGLU -lGL $X_LIBS $X_PRE_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
before first instance of:在此之前
Code:
if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
inserted:插入
Code:
ac_cv_lib_soname_OSMesa=libOSMesa.so
no idea why script failed to pick up libOSMesa.so name, but it was a new error after linking with gl libs. after that project could be compiled. i am not sure this solution is correct either, someone who knows more about these things should verify.
为什么这样就行了
-
- 帖子: 1038
- 注册时间: 2012-06-09 15:40
Re: wine 编译的依赖问题已解决但我想问下为什么更改几行代码就能解决呢 具体代码见40楼 求回答
这个改的是wine 下的configure文件
-
- 帖子: 1038
- 注册时间: 2012-06-09 15:40
Re: wine 编译的依赖问题 我是64位ubuntu 我日夜不停捣鼓了半个月了 到现在都没解决急死了 详情请见27、
敢问发布ubuntu wine LOL教程的大神 这是怎么回事zhtengw 写了:这些只是库文件的符号链接,实际上这个库文件还是在的,而且wine的检查的是develpment files,如果库文件版本太低或没安装相应的头文件仍然会出现这些提示。我对Linux下的开发了解不深,也只能说个大概,有错漏之处望谅243750496 写了:我想弄清楚 为什么34楼删除了相应库文件没有影响?
是不是因为我系统里没有其他wine(我系统中只有lol-wine)
-
- 帖子: 1038
- 注册时间: 2012-06-09 15:40
Re: wine 编译的依赖问题已解决但我想问下为什么更改几行代码就能解决呢 具体代码见40楼 求回答
我没安其他wine 即我的系统中除了lol-wine没有其他wine是不是这个原因
可是我装上后报错相同啊 是不是winecfg 位置配置不对
我的winecfg在这各地方 这样的话除了WINEPREFIX=~/LOL/.wine WINEARCH=win32 $WINEVERPATH/bin/winecfg 要改,下面的要不要也要改
export WINEVERPATH=/opt/lol-wine
export PATH=$WINEVERPATH/bin:$PATH
export WINESERVER="$WINEVERPATH/bin/wineserver"
export WINELOADER="$WINEVERPATH/bin/wine"
export WINEDLLPATH="WINEVERPATH/lib/wine/fakedlls"
export LD_LIBRARY_PATH="$WINEVERPATH/lib:$LD_LIBRARY_PATH"
我的/opt下只有一个lol-wine文件 改了之后
cc@thinkpad:~$ export WINEVERPATH=/srv/chroot/precise_i386/opt/lol-wine
cc@thinkpad:~$ export PATH=$WINEVERPATH/bin:$PATH
cc@thinkpad:~$ export WINESERVER="$WINEVERPATH/bin/wineserver"
cc@thinkpad:~$ export WINELOADER="$WINEVERPATH/bin/wine"
cc@thinkpad:~$ export WINEDLLPATH="WINEVERPATH/lib/wine/fakedlls"
cc@thinkpad:~$ export LD_LIBRARY_PATH="$WINEVERPATH/lib:$LD_LIBRARY_PATH"
cc@thinkpad:~$ WINEPREFIX=~/LOL/.wine WINEARCH=win32 $WINEVERPATH/bin
bash: /srv/chroot/precise_i386/opt/lol-wine/bin/winecfg
然后就行了
可是我装上后报错相同啊 是不是winecfg 位置配置不对
我的winecfg在这各地方 这样的话除了WINEPREFIX=~/LOL/.wine WINEARCH=win32 $WINEVERPATH/bin/winecfg 要改,下面的要不要也要改
export WINEVERPATH=/opt/lol-wine
export PATH=$WINEVERPATH/bin:$PATH
export WINESERVER="$WINEVERPATH/bin/wineserver"
export WINELOADER="$WINEVERPATH/bin/wine"
export WINEDLLPATH="WINEVERPATH/lib/wine/fakedlls"
export LD_LIBRARY_PATH="$WINEVERPATH/lib:$LD_LIBRARY_PATH"
我的/opt下只有一个lol-wine文件 改了之后
cc@thinkpad:~$ export WINEVERPATH=/srv/chroot/precise_i386/opt/lol-wine
cc@thinkpad:~$ export PATH=$WINEVERPATH/bin:$PATH
cc@thinkpad:~$ export WINESERVER="$WINEVERPATH/bin/wineserver"
cc@thinkpad:~$ export WINELOADER="$WINEVERPATH/bin/wine"
cc@thinkpad:~$ export WINEDLLPATH="WINEVERPATH/lib/wine/fakedlls"
cc@thinkpad:~$ export LD_LIBRARY_PATH="$WINEVERPATH/lib:$LD_LIBRARY_PATH"
cc@thinkpad:~$ WINEPREFIX=~/LOL/.wine WINEARCH=win32 $WINEVERPATH/bin
bash: /srv/chroot/precise_i386/opt/lol-wine/bin/winecfg
然后就行了
-
- 帖子: 41
- 注册时间: 2013-03-21 11:24
- 系统: Slackware + Gentoo
Re: wine 编译的依赖问题 我是64位ubuntu13.04 我捣鼓了半个月了 到现在都没解决急死了 详情请见27
wine的configure脚本不知为什么无法找到libOSMesa.so,即使你已经安装好了这个库,所以他就手动指定这个库文件的名称,并让wine在编译时链接libGLU和libGL。243750496 写了:its all there, everything installed and in proper places.
yesterday after digging little deeper (like config.log duh!) i found error about missing glAccum symbol in libosmesa test. i checked libosmesa.so for exported symbol and surely it is not there. some more reading made me think that libosmesa used to contain glAccum but later it was split from libGL or something like that. dont remember any more what made me think that.. so i did nasty hack in configure script to make it compile.
replaced:用
Code:
LIBS="-lOSMesa $X_LIBS $X_PRE_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
with:这个替换
Code:
LIBS="-lOSMesa -lGLU -lGL $X_LIBS $X_PRE_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
before first instance of:在此之前
Code:
if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
inserted:插入
Code:
ac_cv_lib_soname_OSMesa=libOSMesa.so
no idea why script failed to pick up libOSMesa.so name, but it was a new error after linking with gl libs. after that project could be compiled. i am not sure this solution is correct either, someone who knows more about these things should verify.
为什么这样就行了
但我想,libOSMesa很可能对wine已经没什么用了(而实际上现在就是这样,wine不需要它),所以wine的开发者并没有去顾虑这个东西,不把它编译进去并不会对wine运行的程序有什么影响。
所以,就我跟你说过很多次的,真的不用去纠结这个库啦

-
- 帖子: 41
- 注册时间: 2013-03-21 11:24
- 系统: Slackware + Gentoo
Re: wine 编译的依赖问题已解决但我想问下为什么更改几行代码就能解决呢 具体代码见40楼 求回答
您的这些图我都看不到,也不知道您出了什么问题,总之能解决就好啦