> I tried to get wine via SFE > One of the dependencies is freetype.It automatically > started to install freetype, and then aborted,
When that happens check the log file (in this case /tmp/SFEfreetype.log). > because there were some errors!I tried with gcc and > with sunstudio 11, but still no result This indicates a misconfiguration. Will elaborate below > configure:2468: checking for C compiler default > output file name > configure:2495: gcc -i -xO4 -xspace -xvector > -xstrconst -xarch=sse2 -mr -xregs=no%frameptr > -xarch=sse2 -L/usr/gnu/lib/pentium_pro+mmx > -R/usr/gnu/lib/pentium_pro+mmx -Wl,-zignore > -Wl,-zcombreloc -Wl,-Bdirect conftest.c >&5 > cc: language arch=sse2 not recognized > ld: fatal: file conftest.c: unknown file type > ld: fatal: File processing errors. No output written > to a.out pkgtool thought you're going to use sun studio, but configure script picked up gcc. > Then I tried again to compile wine myself. I solved > some problems with opengl(some libs were missing),and > wine compiled successfully. But still I have poor > opengl performance, for example, in wine-0.50 > Counter-Strike worked as in windows, and now,with > wine-1.0, it is slow.What should I check? I have wine-1.0 compiled and working. I'd try to upload somewhere. Now on configuration. I have made a script to do that before dealing with SFE. 1. Set proper PATH favoring gnu tools. Something like: PATH=/usr/gnu/bin:/usr/sfw/bin:/opt/csw/bin:$PATH 2. Make and install key GNU build tools (eg make, autoconf, blah blah). 3. ALWAYS set CC and CXX before invoking pkgtool. to use studio: CC=cc CXX=CC for gcc: CC=gcc CXX=g++. There is a problem with pkgtool. It defaults to sun studio while configure scripts of *most* packages default to gcc and don't even try platform's default compiler unless forced to. So pkgtool sets up options for sun studio compiler but configure scripts try to use gcc, which obviously doesn't work. After setting this up, most tools usually compile cleanly. Try compiling wine with above method. # My sfe.env # Used using "source sfe.env" export PATH=/usr/gnu/bin:/usr/bin:/usr/sfw/bin:/usr/ccs/bin:/opt/csw/bin:/opt/pkgbuild/bin export CC=gcc export CXX=g++ This message posted from opensolaris.org _______________________________________________ opensolaris-discuss mailing list [email protected]
