Wine无法构建32位程序错误

时间:2016-03-12 15:53:17

标签: linux ssh centos wine

所以当我尝试使用以下代码配置带有png的wine时,我在CentOS 7(64位)服务器上遇到了这个问题(如下所示):

   <%= form_for(@user = User.new , url: login_path) do |f|%>

我需要这个来运行一个名为Mount&amp;的游戏的特定服务器。刀锋战队。 因为当我运行服务器时,我得到了这个:

./configure --with-png

我看过这篇文章:

https://www.centos.org/forums/viewtopic.php?f=13&t=44897

他们说下面的代码应该修复它:

err:wincodecs:PngEncoder_CreateInstance Trying to save PNG picture, but PNG support is not compiled in.
fixme:ole:CoCreateInstance no instance created for interface {00000103-a8f2-4877-ba0a-fd2b6645fb94} of class {27949969-876a-41d7-9447-568f6a35a4dc}, hres is 0x80004005

但它没有,至少不适合我。我一遍又一遍地得到以下错误:

yum install glibc-devel.i686

1 个答案:

答案 0 :(得分:1)

解决了,我必须运行此代码来安装32位开发库才能执行--with-png。代码来自这篇文章: https://www.centos.org/forums/viewtopic.php?f=48&t=49542

代码:

yum install glibc-devel.i686 dbus-devel.i686 freetype-devel.i686 pulseaudio-     libs-devel.i686 libX11-devel.i686 mesa-libGLU-devel.i686 libICE-devel.i686 libXext-devel.i686 libXcursor-devel.i686 libXi-devel.i686 libXxf86vm-devel.i686 libXrender-devel.i686 libXinerama-devel.i686 libXcomposite-devel.i686 libXrandr-devel.i686 mesa-libGL-devel.i686 mesa-libOSMesa-devel.i686 libxml2-devel.i686 libxslt-devel.i686 zlib-devel.i686 gnutls-devel.i686 ncurses-devel.i686 sane-backends-devel.i686 libv4l-devel.i686 libgphoto2-devel.i686 libexif-devel.i686 lcms2-devel.i686 gettext-devel.i686 isdn4k-utils-devel.i686 cups-devel.i686 fontconfig-devel.i686 gsm-devel.i686 libjpeg-turbo-devel.i686 pkgconfig.i686 libtiff-devel.i686 unixODBC.i686 openldap-devel.i686 alsa-lib-devel.i686 audiofile-devel.i686 freeglut-devel.i686 giflib-devel.i686 gstreamer-devel.i686 gstreamer-plugins-base-devel.i686 libXmu-devel.i686 libXxf86dga-devel.i686 libieee1284-devel.i686 libpng-devel.i686 librsvg2-devel.i686 libstdc++-devel.i686 libusb-devel.i686 unixODBC-devel.i686 qt-devel.i686