Hi list.
Due to seeing other people looking at it, I decided to try and compile WINE on solaris 2.8 sparc. During configure I get the following messages:
checking for ar... ar configure: WARNING: X11/XKBlib.h: present but cannot be compiled configure: WARNING: X11/XKBlib.h: check for missing prerequisite headers? configure: WARNING: X11/XKBlib.h: proceeding with the preprocessor's result configure: WARNING: XShape extension not found, Wine will be built without it configure: WARNING: DGA extension not found, Wine will be built without it configure: WARNING: XFree86 VMODE extension not found, Wine will be built without it configure: WARNING: XVideo extension not found, Wine will be built without it configure: WARNING: net/if.h: present but cannot be compiled configure: WARNING: net/if.h: check for missing prerequisite headers? configure: WARNING: net/if.h: proceeding with the preprocessor's result configure: WARNING: netinet/ip.h: present but cannot be compiled configure: WARNING: netinet/ip.h: check for missing prerequisite headers? configure: WARNING: netinet/ip.h: proceeding with the preprocessor's result configure: WARNING: resolv.h: present but cannot be compiled configure: WARNING: resolv.h: check for missing prerequisite headers? configure: WARNING: resolv.h: proceeding with the preprocessor's result ...
However, when finally done: checking X11/XKBlib.h usability... no checking X11/XKBlib.h presence... yes checking for X11/XKBlib.h... yes
checking net/if.h usability... no checking net/if.h presence... yes checking for net/if.h... yes
checking netinet/ip.h usability... no checking netinet/ip.h presence... yes checking for netinet/ip.h... yes
checking resolv.h usability... no checking resolv.h presence... yes checking for resolv.h... yes
Can anyone explain what this means?
Shachar
On Wed, 17 Jul 2002, Shachar Shemesh wrote: [...]
checking resolv.h usability... no checking resolv.h presence... yes checking for resolv.h... yes
Can anyone explain what this means?
It means that:
#include <resolv.h> int main() { return 0; }
does not compile, but that /usr/include/resolv/h exists.
In other words, resolv.h depends on other headers that you must include before including resolv.h itself.` So to have a clean configure, the above header must be moved out of the big AC_CHECK_HEADERS and into their individual checks where we can specifically test for these dependencies. See for instance XShm.h (only a vague quide).
The same thing goes for the other headers.
-- Francois Gouget fgouget@free.fr http://fgouget.free.fr/ The nice thing about meditation is that it makes doing nothing quite respectable -- Paul Dean
Francois Gouget wrote:
So to have a clean configure, the above header must be moved out of the big AC_CHECK_HEADERS and into their individual checks where we can specifically test for these dependencies. See for instance XShm.h (only a vague quide).
I'll try, but I only have solaris machines at work, and this is far from my main focus on Wine (I'm working on BiDi, if you remeber correctly ;-). I am only looking into solaris at all because at work we use some windows compat library for solaris (don't remeber the name, but it wasn't mainsoft's) for the GUI part of the product. I am sprinkling the idea to the Unix GUI team here to check Wine out.
The response so far has been moderetely positive. (using those compat libraries incures a non-trivial per-seat license that goes to MS, as well as horrible support. They have been complaining that response time on one incident was ONE YEAR!!!! and the idea of having the sources to the library itself were appealing to them). The main problem was that it would take over two days of effort just looking into it, and they cannot spare the time.
I just D/L the CVS to see what it would take. I am also not an autoconf expert. If I have more spare time at work, I will have a look at that. If not, I'd rather spend my Wine dev time trying to figure out how the fr1661n6 h377 one is supposed to go about implementing the humoungous monster that is GetCharacterPlacement without creating a 500 lines function.
Shachar
On Thu, 18 Jul 2002, Shachar Shemesh wrote:
Francois Gouget wrote:
So to have a clean configure, the above header must be moved out of the big AC_CHECK_HEADERS and into their individual checks where we can specifically test for these dependencies. See for instance XShm.h (only a vague quide).
I'll try, but I only have solaris machines at work,
Well, that's not really an issue. Just hack the autoconf script so that it works without warning on Solaris Sparc, and then post it to wine-dev or wine-patches. You will know soon enough if it breaks things on Linux ;-)
Hack the and this is far from my main focus on Wine (I'm working on BiDi, if you remeber correctly ;-).
Yes, that's more of an issue. Hard to do everything...
-- Francois Gouget fgouget@free.fr http://fgouget.free.fr/ It really galls me that most of the computer power in the world is wasted on screen savers. Chris Caldwell from the GIMPS project http://www.mersenne.org/prime.htm