Discussion:
wine-1.3.24 compilation failed
(too old to reply)
notthatgrant
2011-07-19 14:03:50 UTC
Permalink
Using Slackware 13.0. Tried to compile wine-1.3.24, but it failed to
compile. Used the option to compile without automatic installation (ie.
no root permissions).

Below are the last several lines of output - hopefully enumerating whay
compilation failed -

---start quote---
make[1]: Entering directory `/mnt/software/tar/wine-1.3.24/dlls/d3dx9_35'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/mnt/software/tar/wine-1.3.24/dlls/d3dx9_35'
make[1]: Entering directory `/mnt/software/tar/wine-1.3.24/dlls/d3dx9_36'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/mnt/software/tar/wine-1.3.24/dlls/d3dx9_36'
make[1]: Entering directory
`/mnt/software/tar/wine-1.3.24/dlls/d3dx9_36/tests'
gcc -c -I. -I. -I../../../include -I../../../include
-DWINE_STRICT_PROTOTYPES -DWINE_NO_NAMELESS_EXTENSION -D_REENTRANT -fPIC
-Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement
-Wempty-body -Wstrict-prototypes -Wtype-limits -Wwrite-strings
-Wpointer-arith -g -O2 -o math.o math.c
math.c: In function 'test_D3DXFloat_Array':
math.c:2251: error: 'INFINITY' undeclared (first use in this function)
math.c:2251: error: (Each undeclared identifier is reported only once
math.c:2251: error: for each function it appears in.)
math.c:2253: error: 'NAN' undeclared (first use in this function)
make[1]: *** [math.o] Error 1
make[1]: Leaving directory
`/mnt/software/tar/wine-1.3.24/dlls/d3dx9_36/tests'
make: *** [dlls/d3dx9_36/tests] Error 2

Compilation failed, aborting install.
---end quote---

Had no problem compiling and installing wine-1.3.22, which am currently
using. Also apparently no problem compiling wine-1.2.23, but have not
installed it. wine 1.3.24 is broken for me.

What should I do, in order to compile wine-1.3.24 on Slackware 13.0?
Auric__
2011-07-19 17:45:32 UTC
Permalink
Post by notthatgrant
Using Slackware 13.0. Tried to compile wine-1.3.24, but it failed to
compile. Used the option to compile without automatic installation (ie.
no root permissions).
Below are the last several lines of output - hopefully enumerating whay
compilation failed -
---start quote---
make[1]: Entering directory `/mnt/software/tar/wine-1.3.24/dlls/d3dx9_35'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/mnt/software/tar/wine-1.3.24/dlls/d3dx9_35'
make[1]: Entering directory `/mnt/software/tar/wine-1.3.24/dlls/d3dx9_36'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/mnt/software/tar/wine-1.3.24/dlls/d3dx9_36'
make[1]: Entering directory
`/mnt/software/tar/wine-1.3.24/dlls/d3dx9_36/tests'
gcc -c -I. -I. -I../../../include -I../../../include
-DWINE_STRICT_PROTOTYPES -DWINE_NO_NAMELESS_EXTENSION -D_REENTRANT -fPIC
-Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement
-Wempty-body -Wstrict-prototypes -Wtype-limits -Wwrite-strings
-Wpointer-arith -g -O2 -o math.o math.c
math.c:2251: error: 'INFINITY' undeclared (first use in this function)
math.c:2251: error: (Each undeclared identifier is reported only once
math.c:2251: error: for each function it appears in.)
math.c:2253: error: 'NAN' undeclared (first use in this function)
make[1]: *** [math.o] Error 1
make[1]: Leaving directory
`/mnt/software/tar/wine-1.3.24/dlls/d3dx9_36/tests'
make: *** [dlls/d3dx9_36/tests] Error 2
Compilation failed, aborting install.
---end quote---
Had no problem compiling and installing wine-1.3.22, which am currently
using. Also apparently no problem compiling wine-1.2.23, but have not
installed it. wine 1.3.24 is broken for me.
What should I do, in order to compile wine-1.3.24 on Slackware 13.0?
Just a few thoughts...
- Have you tried deleting '/mnt/software/tar/wine-1.3.24/' and starting over?
- Make changes to gcc lately?
- Any other changes with a system-wide effect?

Also, you may notice that this group is ***DEAD***. The Wine community has
abandoned this group; the best place to get problems solved is probably the
fourms:
http://forums.winehq.org/

FWIW, the error message you've posted above says that 'wine-1.3.24/dlls/d3dx9
_36/tests/math.c' expects INFINITY and NAN to be defined, and (apparently)
they're not. I compared that file from .22 and .24 and the only differences
are an added function and an added include; nothing was deleted from math.c
so the problem is likely elsewhere.
--
We're more kind to our animals than we are to people.
notthatgrant
2011-07-19 23:05:11 UTC
Permalink
On Tue, 19 Jul 2011 17:45:32 +0000 (UTC), "Auric__"
Post by Auric__
Just a few thoughts...
- Have you tried deleting '/mnt/software/tar/wine-1.3.24/' and starting over?
Haven't tried that yet. Tried to compile the first time - failed. Waited
'til the next day (had maxed out my frustration meter for the day). Ran
"make clean", then "make distclean", then tried to compile again - failed
(used the output from this attempt for my original post).

Downloaded and successfully compiled wine-1.2.23, but did not install it.

Posted to usenet, hoping for guidance on how to correct the problem.
Post by Auric__
- Make changes to gcc lately?
No.
Post by Auric__
- Any other changes with a system-wide effect?
The only package upgrades since successfully compiling, installing and
using wine-1.2.22 have been -
fetchmail-6.3.20-i486-1_slack13.0.txz
pidgin-2.9.0-i486-1_slack13.0.txz
mozilla-thunderbird-3.1.11-i686-1.txz
mozilla-firefox-3.6.19-i686-1.txz

also installed Firefox 5.0, using a tarball from mozilla.org.

I've noticed the diminishing traffic in this newsgroup and did link a
round a bit on the wine forum, before posting here. Not a big fan of
forums and avoid them whenever possible. May have a go in the slackware
group, although I think the symptoms lead me to believe this is a wine
problem, that can only be fixed by the wine folks.
Auric__
2011-07-20 00:06:59 UTC
Permalink
Post by notthatgrant
On Tue, 19 Jul 2011 17:45:32 +0000 (UTC), "Auric__"
Post by Auric__
Just a few thoughts...
- Have you tried deleting '/mnt/software/tar/wine-1.3.24/' and starting over?
Haven't tried that yet. Tried to compile the first time - failed.
Waited 'til the next day (had maxed out my frustration meter for the
day). Ran "make clean", then "make distclean", then tried to compile
again - failed (used the output from this attempt for my original post).
Ok, do it then, and see what happens. *Probably* fail again, but just to be
sure...
Post by notthatgrant
Downloaded and successfully compiled wine-1.2.23, but did not install it.
That's good, then. It's probably something in .24 then.
Post by notthatgrant
Posted to usenet, hoping for guidance on how to correct the problem.
I'm not familiar *at all* with the Wine sources, and I might very well be the
only person paying attention here. (Doubt it, but you never know.)

I checked the include I mentioned (wine-1.3.24/include/wine/port.h) and I
don't see anything obvious that would undefine INFINITY or NAN... but I
didn't look very hard.
Post by notthatgrant
Post by Auric__
- Make changes to gcc lately?
No.
INFINITY and NAN *should* be defined in /usr/include/math.h (or somewhere
similar) but it's possible that they get *undefined* somewhere in the Wine
sources. I haven't checked, and it's *highly* unlikely, but you never know.
Post by notthatgrant
Post by Auric__
- Any other changes with a system-wide effect?
The only package upgrades since successfully compiling, installing and
using wine-1.2.22 have been -
fetchmail-6.3.20-i486-1_slack13.0.txz
pidgin-2.9.0-i486-1_slack13.0.txz
mozilla-thunderbird-3.1.11-i686-1.txz
mozilla-firefox-3.6.19-i686-1.txz
also installed Firefox 5.0, using a tarball from mozilla.org.
AFAIK none of those should make Wine fail to compile. YMMV.
Post by notthatgrant
I've noticed the diminishing traffic in this newsgroup and did link a
round a bit on the wine forum, before posting here. Not a big fan of
forums and avoid them whenever possible. May have a go in the slackware
group, although I think the symptoms lead me to believe this is a wine
problem, that can only be fixed by the wine folks.
It's almost certainly a Wine problem; the advice you'd get in the Slack
groups would likely be similar to what I've already said: check the forums. I
understand not liking web forums -- I'm not a big fan of them myself -- but
if it's the only way to get help, then that's what you need to do. Shrug.
--
Could I mistake myself for someone who lives behind my eyes?
notthatgrant
2011-07-20 16:24:08 UTC
Permalink
On Wed, 20 Jul 2011 00:06:59 +0000 (UTC), "Auric__"
Post by Auric__
Ok, do it then, and see what happens. *Probably* fail again, but just to be
sure...
As you suspected, removing the directory and starting fresh, ended with
the same results - Compilation failed - with the same output in the same
place.

Removed the wine-1.3.24 directory again and started fresh. But this time
forgoing the standard "./tools/wineinstall". Instead "./configure
--disable-tests", then "make" - results -
"make[1]: Leaving directory `/mnt/software/tar/wine-1.3.24/server'
Wine build complete."

While my search skill in bug databases is horrible, was able to find a
similar compilation failure reported by someone using Debian Lenny,
<http://bugs.winehq.org/show_bug.cgi?id=27833>. Looks like I've stumbled
on a WINE bug.

Am not sure what the implications of disabling tests had on the resulting
binaries and am afraid to "make install" them. Am sticking with
wine-1.3.22 for the time being.
Auric__
2011-07-20 18:38:36 UTC
Permalink
Post by notthatgrant
On Wed, 20 Jul 2011 00:06:59 +0000 (UTC), "Auric__"
Post by Auric__
Ok, do it then, and see what happens. *Probably* fail again, but just to be
sure...
As you suspected, removing the directory and starting fresh, ended with
the same results - Compilation failed - with the same output in the same
place.
Removed the wine-1.3.24 directory again and started fresh. But this time
forgoing the standard "./tools/wineinstall". Instead "./configure
--disable-tests", then "make" - results -
"make[1]: Leaving directory `/mnt/software/tar/wine-1.3.24/server'
Wine build complete."
I generally prefer './configure ; make' for everything.
Post by notthatgrant
While my search skill in bug databases is horrible, was able to find a
similar compilation failure reported by someone using Debian Lenny,
<http://bugs.winehq.org/show_bug.cgi?id=27833>. Looks like I've stumbled
on a WINE bug.
You might want to add a comment to that report, something along the lines of
"Slackware 13.0, identical problem; doesn't happen with './configure --
disable-tests'". That way the devs know it's not a one-off problem with that
guy's system.
Post by notthatgrant
Am not sure what the implications of disabling tests had on the resulting
binaries and am afraid to "make install" them. Am sticking with
wine-1.3.22 for the time being.
Hm. Think I would too, under the circumstances.

I'll be installing Slack 13.37 later today; after that's done, I'll try Wine
1.3.24 and see what happens. Check back tomorrow and I should have results to
report.
--
I'm praying for rain and I'm praying for tidal waves.
I wanna see the ground give way. I wanna watch it all go down.
Auric__
2011-07-21 09:08:41 UTC
Permalink
[snip everything]
Post by Auric__
I'll be installing Slack 13.37 later today; after that's done, I'll try
Wine 1.3.24 and see what happens. Check back tomorrow and I should have
results to report.
I got 13.37 installed. I installed the updates in slackware-13.37/patches
(nothing that should affect Wine's build process) and then built Wine using
tools/wineinstall. No errors during the compile and the build process
finished normally, but I didn't actually install it. (I don't use Wine at the
present; Windows stuff I do under Windows.)

The only suggestion I have is to perhaps apply all of the Slack 13 patches
available. *Probably* won't fix the problem, but you never know.

Alternately, wait for Wine .26 and see if the problem disappears.
--
Children taste like bacon!
Continue reading on narkive:
Loading...