Install error Help!

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Flying High
Level 2
Level 2
Posts: 39
Joined: Sat Sep 19, 2009 1:06 pm

Macports

Post by Flying High »

mac ports did all its work untill it came into this-
---> Fetching wine
Error: wine 1.0.1 is not compatible with Mac OS X 10.6 or later. Until wine 1.2 is released, please install wine-devel instead.
Error: Target org.macports.fetch returned: incompatible Mac OS X version
Error: Status 1 encountered during processing.
The question now is- what is a wine-devel?
ryan woodsmall

Install error Help!

Post by ryan woodsmall »

The question now is- what is a wine-devel?
It's the name of the MacPorts package you should be using:

$ port list wine-devel
wine-devel @1.1.29 x11/wine-devel

Are you compiling from source or are you using MacPorts? This whole
thread is really unclear.

ryan woodsmall
[email protected]
Flying High
Level 2
Level 2
Posts: 39
Joined: Sat Sep 19, 2009 1:06 pm

well

Post by Flying High »

I am trying mac ports right now. You saying i should install wine-devel using macports?
ryan woodsmall

Install error Help!

Post by ryan woodsmall »

I am trying mac ports right now. You saying i should install wine-
devel using macports?
If you're having trouble discerning whether a compiler is necessary,
then yes, MacPorts is your best bet.

ryan woodsmall
[email protected]
Flying High
Level 2
Level 2
Posts: 39
Joined: Sat Sep 19, 2009 1:06 pm

Post by Flying High »

I tried installing wine-devel using mac ports. It says-
configure: error: FreeType 32-bit development files not found. Fonts will not be built.
im pretty sure i have free type installed.

I also tried compiling the wine-1.1.9 version. but Config comes up with this-
configure: libhal development files not found, no dynamic device support.
configure: libgnutls development files not found, no schannel support.
configure: libsane development files not found, scanners won't be supported.
configure: libgphoto2 development files not found, digital cameras won't be supported.
configure: liblcms development files not found, Color Management won't be supported.
configure: libcapi20 development files not found, ISDN won't be supported.
configure: fontconfig development files not found, fontconfig won't be supported.

configure: WARNING: OpenGL development headers not found.
OpenGL and Direct3D won't be supported.

configure: Finished. Do 'make depend && make' to compile Wine.

logout

[Process completed]
The entire wine-1.1.9 config worked and didn't come up with any Xlib/Xfree86 errors (finally)
My entire goal was to get a Direct 3D game working. - And this OpenGL error is just the only thing in my way (from what i see). Do you know how to solve it? I can live without all those other things config came up with (unless i need them to play my game)

What are- and Where can i get these OpenGL development headers?
ryan woodsmall

Install error Help!

Post by ryan woodsmall »

configure: error: FreeType 32-bit development files not found. Fonts
will not be built.
That means the MacPorts FreeType install is not 32-bit (or
Universal). You can try rebuilding your dependent packages with a
+universal variant; that's MacPorts-specific though, and you'll need
to contact them if you have issues.

To build from source, you can follow some of the steps outlined on the
wiki:

http://wiki.winehq.org/MacOSX/Building

This is all documented; please read - and understand - what you're
doing. It's a relatively daunting task to build Wine and its
requirements from source on OS X if you want full functionality. Note
that there are mixed reports of Direct3D working on OS X. I can
personally attest that OpenGL works fine in Wine on my Intel GMA-
equipped machines, but Direct3D exhibits odd behavior. If you have an
Nvidia- or ATi-based Mac you may have better luck.

Before you go any further, have you checked the AppDB page for your
game? It may be worthwhile to look into the status of the program
before committing further cycles to this quest.

ryan woodsmall
[email protected]
Flying High
Level 2
Level 2
Posts: 39
Joined: Sat Sep 19, 2009 1:06 pm

Appdb

Post by Flying High »

In the AppDB the game i am trying to run is rated "Gold". The only thing that does not work in the game is motion blur. I tried it in crossover, and it works perfect. -it's just that my trial ends in 5 days. so i want to make it so wine will still be at my fingertips if i need it.
doh123
Level 8
Level 8
Posts: 1227
Joined: Tue Jul 14, 2009 1:21 pm

Re: Install error Help!

Post by doh123 »

ryan woodsmall wrote:mpg123 1.9.x works fine if you set your CC/CFLAGS/CXXFLAGS correctly.
I use:

gcc -arch i386 -m32 -read_only_relocs suppress

FWIW.

ryan woodsmall
[email protected]
I don't know... I tried 1.9 on both Snow Leopard and Leopard and Wine always reported it wasn't there... I compiled 1.7 the exact same way (with extra flags on SL on both of course), and it worked just fine...
doh123
Level 8
Level 8
Posts: 1227
Joined: Tue Jul 14, 2009 1:21 pm

Re: Appdb

Post by doh123 »

Flying High wrote:In the AppDB the game i am trying to run is rated "Gold". The only thing that does not work in the game is motion blur. I tried it in crossover, and it works perfect. -it's just that my trial ends in 5 days. so i want to make it so wine will still be at my fingertips if i need it.
did you get it working then?

pretty much all games will run better in Crossover than on Wine on Mac OS X. This is because Apples X11 stinks, and the custom version Codeweavers built into Crossover is fantastic for Wine.... its unlikely you'll ever get a game running in Wine as good as it runs in Crossover, but this is not because of Wine, its because of X11 on Macs....

if you just wanting to port over 1 program, you can use a tool I've been making to do that.... I've been making a tool to help make single ports of Win software to Macs using Wine.. no Wine having to be installed, everything is bundled up inside a .app so you can get everything inside the .app and working, then it works like a normal double click mac .app ... basically a full wrapper to go around Win software.

I've been calling it Wineskin. If you test it out, let me know what you think or any feedback you'd like to give.... its not super user friendly, but I have made directions for using it. Current version has Wine 1.1.29 inside, and runs on 10.5 and 10.6 .. but of course it still uses X11.app. I tried making my own custom X11 server, but I had all types of problems with OpenGL which made it useless for games, and I gave up on it.

Here is a download link to Wineskin 1.1.29beta1. Please read the directions before use, if you just try to run the app, its only going to run Wine notepad, you have to open it up and edit it and get your game inside the .app ... Sorry I don't have any fancy webpage, just a hobby of mine :-)
Wineskin Downloads[/url]
Flying High
Level 2
Level 2
Posts: 39
Joined: Sat Sep 19, 2009 1:06 pm

hmm

Post by Flying High »

Thanks, ill look into it.

But it saw something to do with the problem. When i looked at the config terminal wndow- i saw this
checking for GL/gl.h... no
checking for GL/glx.h... no
checking for GL/glext.h... no
checking for GL/glu.h... no
The funny thing is- i tracked the files down in finder and they are there!

They all are in /Developer/SDKs/MacOSX10.6.sdk/usr/X11/include/GL/

Is this my fault? where should they be?
Flying High
Level 2
Level 2
Posts: 39
Joined: Sat Sep 19, 2009 1:06 pm

hmm

Post by Flying High »

I tryed the wine skin application of yours.
The game is called "trackmania the nations forever" it's rated gold and works wonderfully on crossover.
Your wineskin application could not run it and crashes. but your application will allow me to make simple applications like notepad work. Thanks anyway.
doh123
Level 8
Level 8
Posts: 1227
Joined: Tue Jul 14, 2009 1:21 pm

Re: hmm

Post by doh123 »

Flying High wrote:I tryed the wine skin application of yours.
The game is called "trackmania the nations forever" it's rated gold and works wonderfully on crossover.
Your wineskin application could not run it and crashes. but your application will allow me to make simple applications like notepad work. Thanks anyway.
its standard Wine for the most part, you still have to go in and mess with the registry, and Winecfg and things, which is why it has .app launchers for those thing. It works pretty good for games as well, I have gotten Neverwinter Nights 1 and 2 running in it, as well as a few of the older Windows Might and Magics, and Oblivion (few graphics problems i didn't troubleshoot much), Second Life (windows version) all as tests...

Whatever changes Trackmania needs according to the appdb, will have to be done in Wineskin as well... which appears to be a couple of dll copies. Also for OSX, its best to go in Winecfg and make sure its running in a virtual desktop.
ryan woodsmall

Install error Help!

Post by ryan woodsmall »

Thanks, ill look into it.
But it saw something to do with the problem. When i looked at the
config terminal wndow- i saw this
checking for GL/gl.h... no
checking for GL/glx.h... no
checking for GL/glext.h... no
checking for GL/glu.h... no
The funny thing is- i tracked the files down in finder and they are
there!
They all are in /Developer/SDKs/MacOSX10.6.sdk/usr/X11/include/GL/
Is this my fault? where should they be?
They should be in /usr/X11/include. Have you installed the X11
support packages? They should be something like X11User.pkg and
X11SDK.pkg for the user and devel packages. Reinstall them if you can
- they should be available on the Snow Leopard DVD.

ryan woodsmall
[email protected]
Flying High
Level 2
Level 2
Posts: 39
Joined: Sat Sep 19, 2009 1:06 pm

uhh thanks

Post by Flying High »

Thanks, but since the snow leopard cd is not at my disposal at this very moment- could you tell me where the
/usr/X11/include
Where is it supposed to be?
I'm assuming if i do a copy and paste technique, wine would recognize it...
ryan woodsmall

Install error Help!

Post by ryan woodsmall »

Thanks, but since the snow leopard cd is not at my disposal at this
very moment- could you tell me where the
/usr/X11/include
Where is it supposed to be?
I'm assuming if i do a copy and paste technique, wine would
recognize it...
What are you talking about? That's a directory on the filesystem.
You can specify the paths to the X11 libs and include headers using
the Wine configure script options:

--x-includes=/usr/X11/include
--x-libraries=/usr/X11/lib

Have you read the 'building on OS X' wiki page?

ryan woodsmall
[email protected]
Flying High
Level 2
Level 2
Posts: 39
Joined: Sat Sep 19, 2009 1:06 pm

yeah

Post by Flying High »

Yes, i have read it.

if i run that
export CPPFLAGS="-I/usr/X11/include"
export LDFLAGS="-L/usr/X11/lib"
It does not make a difference. The Open gl headers are still not found.

Some of the information if find is vauge, like this one-
Depending on your system configuration you may have to set the DYLD_FALLBACK_LIBRARY_PATH environment variable to tell Wine where to find the X11 OpenGL library files along with its own library files. Therefore, in practice, running Wine on Mac OS X might require a command such as the following:
DYLD_FALLBACK_LIBRARY_PATH="/usr/X11/lib:/usr/lib" wine program_name.exe
Im not sure if i am reading this properly, but are they saying that i can compile wine even though it says direct 3d won't be supported- and still use it later using this command?[/quote]
rwoodsmall
Level 2
Level 2
Posts: 20
Joined: Tue Feb 24, 2009 9:50 pm

Post by rwoodsmall »

Restart your terminal app and run this:

Code: Select all

export CFLAGS="-arch i386 -m32"
export CXXFLAGS=${CFLAGS}
export CPPFLAGS="-I/usr/X11/include"
export LDFLAGS="-framework CoreServices -lz -L/usr/X11/lib -lGL -lGLU "
cd /path/to/wine/source
make distclean
./configure --verbose  --x-includes=/usr/X11/include --x-libraries=/usr/X11/lib --with-opengl --with-glu
If you still get errors about OpenGL headers, no amount of screwing around is going to help - you need to reinstall at least the X11 user and SDK packages. Direct3D won't work without OpenGL support, period.
Flying High
Level 2
Level 2
Posts: 39
Joined: Sat Sep 19, 2009 1:06 pm

hmm

Post by Flying High »

:D

Wow Thanks! It worked this time!
Thank you Soo much!
Open GL error dosent show up anymore, now its lib jpg and stuff. Ill install those.
Thank you!

:D :D :D :D :D
Flying High
Level 2
Level 2
Posts: 39
Joined: Sat Sep 19, 2009 1:06 pm

SHOCK!

Post by Flying High »

:shock: HEY! wait a second... When i ran the config of LibJpeg- and tried to run wine config again- it said openGl headers were not found! (i ran that code you gave me again to fix it) but libjpeg is doing something to screw this up.
Flying High
Level 2
Level 2
Posts: 39
Joined: Sat Sep 19, 2009 1:06 pm

Uh Oh

Post by Flying High »

It seems whenever i try to run config on
configure: WARNING: libxml2 development files not found, XML won't be supported.

configure: WARNING: libxslt development files not found, xslt won't be supported.

configure: WARNING: libjpeg development files not found, JPEG won't be supported
Any of these it makes the Gl error come up.
Ill try without these to see if my game will still work. otherwise im going to have to do some more work.
Flying High
Level 2
Level 2
Posts: 39
Joined: Sat Sep 19, 2009 1:06 pm

Ou

Post by Flying High »

I ran into a error after running make depend && make
gcc -arch i386 -m32 -D__i386__ -o wmc lang.o mcl.o utils.o wmc.o write.o mcy.tab.o -L../../libs/wine -lwine ../../libs/port/libwine_port.a -framework CoreServices -lz -L/usr/X11/lib -lGL -lGLU && install_name_tool -change @executable_path/`../../tools/relpath /usr/local/bin /usr/local/lib`/libwine.1.dylib @executable_path/../../libs/wine/libwine.1.dylib wmc || rm -f wmc
ld: warning: in ../../libs/wine/libwine.dylib, file is not of required architecture
Undefined symbols:
"_wine_cp_get_table", referenced from:
_find_codepage in lang.o
"_wine_cp_wcstombs", referenced from:
_dup_u2c in write.o
_dup_u2c in write.o
_make_string in write.o
_make_string in write.o
"_wine_cp_mbstowcs", referenced from:
_fill_inputbuffer in mcl.o
"_wine_cp_enum_table", referenced from:
_show_codepages in lang.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
gcc -arch i386 -m32 -D__i386__ -o wmc-installed lang.o mcl.o utils.o wmc.o write.o mcy.tab.o -L../../libs/wine -lwine ../../libs/port/libwine_port.a -framework CoreServices -lz -L/usr/X11/lib -lGL -lGLU
ld: warning: in ../../libs/wine/libwine.dylib, file is not of required architecture
Undefined symbols:
"_wine_cp_get_table", referenced from:
_find_codepage in lang.o
"_wine_cp_wcstombs", referenced from:
_dup_u2c in write.o
_dup_u2c in write.o
_make_string in write.o
_make_string in write.o
"_wine_cp_mbstowcs", referenced from:
_fill_inputbuffer in mcl.o
"_wine_cp_enum_table", referenced from:
_show_codepages in lang.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[2]: *** [wmc-installed] Error 1
make[1]: *** [wmc] Error 2
make: *** [tools] Error 2
I have a feeling that wine dosent like snow leopard " file is not of required architecture" errors
doh123
Level 8
Level 8
Posts: 1227
Joined: Tue Jul 14, 2009 1:21 pm

Re: Uh Oh

Post by doh123 »

Flying High wrote:It seems whenever i try to run config on
configure: WARNING: libxml2 development files not found, XML won't be supported.

configure: WARNING: libxslt development files not found, xslt won't be supported.

configure: WARNING: libjpeg development files not found, JPEG won't be supported
Any of these it makes the Gl error come up.
Ill try without these to see if my game will still work. otherwise im going to have to do some more work.
its says that... it doesn't specify that the 32 bit ones weren't found? are you using an older version of Wine again?

the system variables you set like the "export CPPFLAGS="-I/usr/X11/include"" statements are only good for that one session. If you close that terminal window, or work in a different terminal window, those no longer apply, so yes you have to do them all the time.

if your compiling any of the deps, like libjpeg, to have them installed for Wine to find, make sure you have compiled and installed them 32bit, because if you did it default, it made them 64 bit and Wine cannot use them.

I believe a...

export CFLAGS="-arch i386 -m32"

... should work if you do that before compiling dependencies from source... or right before using Macports (or fink) to install them, so that you have the 32 bit libraries available for Wine.
ryan woodsmall

Install error Help!

Post by ryan woodsmall »

Try something: does setting the compiler flags (CFLAGS) in the
compiler help? You can set the opts with this:

export CC="gcc -arch i386 -m32"

Note that simply running a "./configure" in the libjpeg/etc. dirs is
not enough - you'll need to compile and install 32-bit versions of the
libs.

I have been working on a script to work all this out, and Austin
English wrote the following:

http://winezeug.googlecode.com/svn/trun ... sx-deps.sh

ryan woodsmall
[email protected]
Flying High
Level 2
Level 2
Posts: 39
Joined: Sat Sep 19, 2009 1:06 pm

uhh

Post by Flying High »

Are you saying that i should run

export CC="gcc -arch i386 -m32"

and run the config of all the libs in the same terminal window so it will install in 32 bit?
Flying High
Level 2
Level 2
Posts: 39
Joined: Sat Sep 19, 2009 1:06 pm

ohh

Post by Flying High »

when i run i run that script you gave me a link to (
http://winezeug.googlecode.com/svn/trun ... sx-deps.sh) it says
Executing curl -L -o libpng-1.2.38.tar.bz2 -C - --header Accept-Encoding: gzip,deflate ftp://ftp.simplesystems.org/pub/png/src ... 38.tar.bz2
+ curl -L -o libpng-1.2.38.tar.bz2 -C - --header 'Accept-Encoding: gzip,deflate' ftp://ftp.simplesystems.org/pub/png/src ... 38.tar.bz2
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0
curl: (78) RETR response: 550
+ status=78
+ test 78 -ne 0
+ die 'Note: command '\''curl -L -o libpng-1.2.38.tar.bz2 -C - --header Accept-Encoding: gzip,deflate ftp://ftp.simplesystems.org/pub/png/src ... 38.tar.bz2'\'' returned status 78. Aborting.'
+ echo 'Note: command '\''curl -L -o libpng-1.2.38.tar.bz2 -C - --header Accept-Encoding: gzip,deflate ftp://ftp.simplesystems.org/pub/png/src ... 38.tar.bz2'\'' returned status 78. Aborting.'
Note: command 'curl -L -o libpng-1.2.38.tar.bz2 -C - --header Accept-Encoding: gzip,deflate ftp://ftp.simplesystems.org/pub/png/src ... 38.tar.bz2' returned status 78. Aborting.
+ exit 1

hmm...
Locked