PATCH: fix for RPM
proski at gnu.org
Tue Jun 18 10:49:41 CDT 2002
I have downloaded the latest Wine RPM from http://wine.dataparty.no/
It doesn't work at all, at least in the configuration without Windows.
The trace shows that Wine cannot load KERNEL32.dll because it looks in
/tmp/wine-rpm-root/usr/lib/wine/ instead of /usr/lib/wine/:
08072a70:warn:module:BUILTIN32_dlopen cannot open .so lib for builtin
kernel32.dll: /tmp/wine-rpm-root/usr/lib/wine/kernel32.dll.so: cannot open
shared object file: No such file or directory
08072a70:warn:module:MODULE_LoadLibraryExA Failed to load module
08072a70:trace:heap:RtlFreeHeap (40370000,00000002,40370e50): returning
08072a70:err:module:PE_fixup_imports Module (file) KERNEL32.dll (which is
needed by C:\windows\IsUninst.exe) not found
Wine should not be configured with the /usr prefix. The prefix should
only be changed to $RPM_BUILD_ROOT/usr during the install.
I'm copying my message to the list, because I'm afraid that the RPMs on
http://wine.dataparty.no/ are not really maintained. I remember seeing
the same error a few months ago, I just didn't have time to report it.
How can this error remain unfixed for months, if it makes Wine useless?
This patch has been tested. The resulting RPM works.
@@ -18,14 +18,14 @@
-./configure --without-curses --prefix=$RPM_BUILD_ROOT/usr \
+./configure --without-curses --prefix=/usr \
make CFLAGS='-O2 -Wall'
rm -rf $RPM_BUILD_ROOT
+make install prefix=$RPM_BUILD_ROOT/usr
mkdir -p $RPM_BUILD_ROOT/etc/wine
cp documentation/samples/config $RPM_BUILD_ROOT/etc/wine/config
cp tools/fnt2bdf $RPM_BUILD_ROOT/usr/bin
More information about the wine-devel