Wine 1.1.3 is out! Let’s see hot it compiles on Solaris snv_95 (Solaris 11 build 95).
Let’s start with errors.
../../tools/wrc/wrc –nostdinc -I. -I. -I../../include -I../../include -DBUILD_SHA1=\”`GIT_DIR=../../.git git rev-parse HEAD 2>/dev/null`\” -fowinetest.res winetest.rc
sh: git: not found
*** Error code 1
make: Fatal error: Command failed for target `winetest.res’
Current working directory /var/tmp/wine-1.1.3/programs/winetest
*** Error code 1
The following command caused the error:
cd winetest && make
make: Fatal error: Command failed for target `winetest’
Current working directory /var/tmp/wine-1.1.3/programs
*** Error code 1
The following command caused the error:
cd programs && make
make: Fatal error: Command failed for target `programs’
sh: git: not found
*** Error code 1
make: Fatal error: Command failed for target `winetest.res’
Current working directory /var/tmp/wine-1.1.3/programs/winetest
*** Error code 1
The following command caused the error:
cd winetest && make
make: Fatal error: Command failed for target `winetest’
Current working directory /var/tmp/wine-1.1.3/programs
*** Error code 1
The following command caused the error:
cd programs && make
make: Fatal error: Command failed for target `programs’
Most likely you are using make. Try gmake.
Now something different.
configure: libxrandr development files not found, XRandr won’t be supported.
Hey, I do have Xrandr installed! The package is called SUNWxorg-headers!
Check config.log and configure:
% more config.log
. . .
configure:9814: result: yes
configure:9766: checking for X11/extensions/Xinerama.h
configure:9792: gcc -c -O2 -I/usr/openwin/include conftest.c >&5
configure:9798: $? = 0
configure:9814: result: yes
configure:9766: checking for X11/extensions/Xrandr.h
configure:9792: gcc -c -O2 -I/usr/openwin/include conftest.c >&5
conftest.c:111:35: X11/extensions/Xrandr.h: No such file or directory
configure:9798: $? = 1
. . .
% more configure
. . .
for ac_header in X11/Xlib.h \
X11/XKBlib.h \
X11/Xutil.h \
X11/Xcursor/Xcursor.h \
X11/extensions/shape.h \
X11/extensions/XInput.h \
X11/extensions/XShm.h \
X11/extensions/Xcomposite.h \
X11/extensions/Xinerama.h \
X11/extensions/Xrandr.h \
X11/extensions/Xrender.h \
X11/extensions/xf86vmode.h
. . .
. . .
configure:9814: result: yes
configure:9766: checking for X11/extensions/Xinerama.h
configure:9792: gcc -c -O2 -I/usr/openwin/include conftest.c >&5
configure:9798: $? = 0
configure:9814: result: yes
configure:9766: checking for X11/extensions/Xrandr.h
configure:9792: gcc -c -O2 -I/usr/openwin/include conftest.c >&5
conftest.c:111:35: X11/extensions/Xrandr.h: No such file or directory
configure:9798: $? = 1
. . .
% more configure
. . .
for ac_header in X11/Xlib.h \
X11/XKBlib.h \
X11/Xutil.h \
X11/Xcursor/Xcursor.h \
X11/extensions/shape.h \
X11/extensions/XInput.h \
X11/extensions/XShm.h \
X11/extensions/Xcomposite.h \
X11/extensions/Xinerama.h \
X11/extensions/Xrandr.h \
X11/extensions/Xrender.h \
X11/extensions/xf86vmode.h
. . .
It turns out that some links are missing in the Solaris build. Fortunately, it’s very easy to fix the problem (#’s are removed for easy copy&pasting):
cd /usr/include/X11/extensions
ln -s ../../../../../X11/include/X11/extensions/Xrandr.h Xrandr.h
ln -s ../../../../../X11/include/X11/extensions/xf86vmode.h xf86vmode.h
ln -s ../../../../../X11/include/X11/extensions/randr.h randr.h
ln -s ../../../../../X11/include/X11/extensions/Xrandr.h Xrandr.h
ln -s ../../../../../X11/include/X11/extensions/xf86vmode.h xf86vmode.h
ln -s ../../../../../X11/include/X11/extensions/randr.h randr.h
Done!
Two more interesting links:
- Wine 1.1.2 Solaris binaries
- Wine community on OpenSolaris