Wine on Tiger

Questions about Wine on macOS.
mrivera
Level 2
Level 2
Posts: 38
Joined: Tue Sep 27, 2011 12:20 pm

Post by mrivera »

Path:

Last login: Tue Oct 4 09:37:15 on ttyp2
Welcome to Darwin!
michael-riveras-computer:~ michaelrivera$ open -e .bash_profile
2011-10-04 10:01:04.203 open[333] No such file: /Users/michaelrivera/.bash_profile
michael-riveras-computer:~ michaelrivera$

Bison:

michael-riveras-computer:/usr/local/bin michaelrivera$ /usr/local/bin/bison --version
bison (GNU Bison) 2.4.3
Written by Robert Corbett and Richard Stallman.

Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
michael-riveras-computer:/usr/local/bin michaelrivera$
Charles Davis

Wine on Tiger

Post by Charles Davis »

On Oct 4, 2011, at 10:01 AM, mrivera wrote:
Path:

Last login: Tue Oct 4 09:37:15 on ttyp2
Welcome to Darwin!
michael-riveras-computer:~ michaelrivera$ open -e .bash_profile
2011-10-04 10:01:04.203 open[333] No such file: /Users/michaelrivera/.bash_profile
Huh. Is there a .profile file in ~? Try this:

ls ~/.profile

If not, is there a .bashrc file?

ls ~/.bashrc

Whichever one you find first, open it with 'open -e'.
michael-riveras-computer:~ michaelrivera$

Bison:

michael-riveras-computer:/usr/local/bin michaelrivera$ /usr/local/bin/bison --version
bison (GNU Bison) 2.4.3
That should be new enough. The code in question was added in 2010.

Chip
mrivera
Level 2
Level 2
Posts: 38
Joined: Tue Sep 27, 2011 12:20 pm

Post by mrivera »

Last login: Tue Oct 4 10:36:40 on ttyp3
Welcome to Darwin!
p-dogg:~ michaelrivera$

What just happened here? P-dogg??
Charles Davis

Wine on Tiger

Post by Charles Davis »

On Oct 4, 2011, at 10:38 AM, mrivera wrote:
Last login: Tue Oct 4 10:36:40 on ttyp3
Welcome to Darwin!
p-dogg:~ michaelrivera$

What just happened here? P-dogg??
That's your hostname (i.e. the name of your computer). You can change it back in the System Preferences app.

Of course, that's not relevant to the issue at hand here (i.e. trying to build, install, and run Wine on a Mac still running Mac OS 10.4). If you don't want this topic to get locked, you should probably try to answer the questions I asked you earlier.

Chip
mrivera
Level 2
Level 2
Posts: 38
Joined: Tue Sep 27, 2011 12:20 pm

Post by mrivera »

I got this when I configured wine. Is this going to give me trouble eventually?

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

configure: WARNING: GetText 32-bit development files not found (or too old). Internationalization won't be fully supported.

configure: WARNING: libjpeg 32-bit development files not found, JPEG won't be supported.

configure: WARNING: libpng 32-bit development files not found, PNG won't be supported.

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

Got this again during make..

config.status: creating dlls/msxml3/Makefile
../../tools/makedep -C. -S../.. -T../.. -I/opt/local/include/libxml2 -I/opt/local/include -I/opt/local/include/libxml2 attribute.c bsc.c cdata.c comment.c dispex.c docfrag.c doctype.c domdoc.c domimpl.c element.c entityref.c factory.c httprequest.c main.c mxnamespace.c mxwriter.c node.c nodelist.c nodemap.c parseerror.c pi.c saxreader.c schema.c selection.c stylesheet.c text.c uuid.c xdr.c xmldoc.c xmlelem.c schemas.rc version.rc xmlparser.idl msxml3_v1.idl msxml3_v1.tlb xslpattern.y xslpattern.l
bison -p xslpattern_ -o xslpattern.tab.c -d xslpattern.y
xslpattern.y:74: unrecognized: %parse_param
xslpattern.y:74: Skipping to next %
xslpattern.y:75: unrecognized: %parse_param
xslpattern.y:75: Skipping to next %
xslpattern.y:76: unrecognized: %lex_param
xslpattern.y:76: Skipping to next %
make[1]: *** [xslpattern.tab.h] Error 1
make: *** [dlls/msxml3] Error 2

I'm almost ready to just cough up the money for a newer OS and possibly try Bootcamp.
mrivera
Level 2
Level 2
Posts: 38
Joined: Tue Sep 27, 2011 12:20 pm

Re: Wine on Tiger

Post by mrivera »

Charles Davis wrote:On Oct 4, 2011, at 10:38 AM, mrivera wrote:
Last login: Tue Oct 4 10:36:40 on ttyp3
Welcome to Darwin!
p-dogg:~ michaelrivera$

What just happened here? P-dogg??
That's your hostname (i.e. the name of your computer). You can change it back in the System Preferences app.

Of course, that's not relevant to the issue at hand here (i.e. trying to build, install, and run Wine on a Mac still running Mac OS 10.4). If you don't want this topic to get locked, you should probably try to answer the questions I asked you earlier.

Chip
Got it. It just surprised me, I've never seen that before. Back on topic, I was able to change the path, but still got the same results. Here is the new path:


Last login: Tue Oct 4 11:03:30 on ttyp1
Welcome to Darwin!
p-dogg:~ michaelrivera$ s ~/.profile
-bash: s: command not found
p-dogg:~ michaelrivera$ ls ~/.profile
/Users/michaelrivera/.profile
p-dogg:~ michaelrivera$ printenv PATH
/opt/local/bin:/opt/local/sbin:/usr/local/bin:/bin:/sbin:/usr/bin:/usr/sbin
p-dogg:~ michaelrivera$
Charles Davis

Wine on Tiger

Post by Charles Davis »

On Oct 4, 2011, at 11:07 AM, mrivera wrote:
p-dogg:~ michaelrivera$ ls ~/.profile
/Users/michaelrivera/.profile
p-dogg:~ michaelrivera$ printenv PATH
/opt/local/bin:/opt/local/sbin:/usr/local/bin:/bin:/sbin:/usr/bin:/usr/sbin
Hmm, that's right. You say you're still getting the errors from bison?

Chip
mrivera
Level 2
Level 2
Posts: 38
Joined: Tue Sep 27, 2011 12:20 pm

Post by mrivera »

Yes, I posted them in the post before last. Thanks again for your help, hopefully we can get this figured out.
Charles Davis

Wine on Tiger

Post by Charles Davis »

On Oct 4, 2011, at 11:02 AM, mrivera wrote:
I got this when I configured wine. Is this going to give me trouble eventually?

configure: WARNING: OpenGL development headers not found.
OpenGL and Direct3D won't be supported.
Definitely. Especially if you intend to run games. I usually fix this by explicitly specifying the path to the X11 libraries and headers (using the --x-includes and --x-libraries options to configure).
configure: WARNING: GetText 32-bit development files not found (or too old). Internationalization won't be fully supported.
Only if you don't speak English :).
configure: WARNING: libjpeg 32-bit development files not found, JPEG won't be supported.

configure: WARNING: libpng 32-bit development files not found, PNG won't be supported.
You can install those from MacPorts. Try this configure command:

./configure CPPFLAGS="-I/opt/local/include" LDFLAGS="-L/opt/local/lib" --x-includes=/opt/local/include --x-libraries=/opt/local/lib

assuming you also installed libX11 et al. from MacPorts. If you didn't, try this one instead:

./configure --x-includes=/usr/X11/include --x-libraries=/usr/X11/lib CPPFLAGS="-I/opt/local/include" LDFLAGS="-L/opt/local/lib"
configure: Finished. Do 'make' to compile Wine.

Got this again during make..

config.status: creating dlls/msxml3/Makefile
../../tools/makedep -C. -S../.. -T../.. -I/opt/local/include/libxml2 -I/opt/local/include -I/opt/local/include/libxml2 attribute.c bsc.c cdata.c comment.c dispex.c docfrag.c doctype.c domdoc.c domimpl.c element.c entityref.c factory.c httprequest.c main.c mxnamespace.c mxwriter.c node.c nodelist.c nodemap.c parseerror.c pi.c saxreader.c schema.c selection.c stylesheet.c text.c uuid.c xdr.c xmldoc.c xmlelem.c schemas.rc version.rc xmlparser.idl msxml3_v1.idl msxml3_v1.tlb xslpattern.y xslpattern.l
bison -p xslpattern_ -o xslpattern.tab.c -d xslpattern.y
xslpattern.y:74: unrecognized: %parse_param
xslpattern.y:74: Skipping to next %
xslpattern.y:75: unrecognized: %parse_param
xslpattern.y:75: Skipping to next %
xslpattern.y:76: unrecognized: %lex_param
xslpattern.y:76: Skipping to next %
Is this from before or after you fixed the PATH like I told you to?

Chip
mrivera
Level 2
Level 2
Posts: 38
Joined: Tue Sep 27, 2011 12:20 pm

Re: Wine on Tiger

Post by mrivera »

Is this from before or after you fixed the PATH like I told you to?

Chip
After.
Charles Davis

Wine on Tiger

Post by Charles Davis »

On Oct 4, 2011, at 11:17 AM, Charles Davis wrote:
Is this from before or after you fixed the PATH like I told you to?
Sorry, I didn't get your response before I posted. So you're sure you're running the new bison instead of the old bison, right? What does config.log say? Scroll down to where it says "checking for bison". What did the configure script find?
Chip
jjmckenzie
Moderator
Moderator
Posts: 1153
Joined: Wed Apr 27, 2011 11:01 pm

Wine on Tiger

Post by jjmckenzie »

On Tue, Oct 4, 2011 at 8:39 AM, mrivera <[email protected]> wrote:
Last login: Tue Oct  4 09:29:00 on console
Welcome to Darwin!
michael-riveras-computer:~ michaelrivera$ cd /usr/local/bin
michael-riveras-computer:/usr/local/bin michaelrivera$ ls
bison   yacc
michael-riveras-computer:/usr/local/bin michaelrivera$ bison --version
GNU Bison version 1.28
michael-riveras-computer:/usr/local/bin michaelrivera$ printenv PATH
/opt/local/bin:/opt/local/sbin:/opt/local/bin:/opt/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin
michael-riveras-computer:/usr/local/bin michaelrivera$ PATH=/opt/local/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11/bin
michael-riveras-computer:/usr/local/bin michaelrivera$

Guess it's still on the old Bison. How do we fix that?
Have you installed MacPorts?

You may have to use the MacPort update command to update in that case.

James
Charles Davis

Wine on Tiger

Post by Charles Davis »

On Oct 4, 2011, at 11:29 AM, James McKenzie wrote:
On Tue, Oct 4, 2011 at 8:39 AM, mrivera <[email protected]> wrote:
Last login: Tue Oct 4 09:29:00 on console
Welcome to Darwin!
michael-riveras-computer:~ michaelrivera$ cd /usr/local/bin
michael-riveras-computer:/usr/local/bin michaelrivera$ ls
bison yacc
michael-riveras-computer:/usr/local/bin michaelrivera$ bison --version
GNU Bison version 1.28
michael-riveras-computer:/usr/local/bin michaelrivera$ printenv PATH
/opt/local/bin:/opt/local/sbin:/opt/local/bin:/opt/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin
michael-riveras-computer:/usr/local/bin michaelrivera$ PATH=/opt/local/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11/bin
michael-riveras-computer:/usr/local/bin michaelrivera$

Guess it's still on the old Bison. How do we fix that?
Have you installed MacPorts?

You may have to use the MacPort update command to update in that case.
That would be:

sudo port sync # Synchronizes ports tree with MacPorts upstream
sudo port upgrade outdated # Upgrades all outdated ports

(All the stuff from the hash marks on is ignored by the shell. You don't even have to type it: it doesn't affect the command.)

Had I known you had MacPorts earlier, I'd have advised you to install bison from MacPorts. (bison in MacPorts is up to 2.5.) Heck, I would have advised you to install Wine from MacPorts! (You want the wine-devel port, not wine. wine-devel is 1.3.29.)

Chip
mrivera
Level 2
Level 2
Posts: 38
Joined: Tue Sep 27, 2011 12:20 pm

Post by mrivera »

michael-riveras-computer:~ michaelrivera$ sudo port install bison
Password:
---> Computing dependencies for bison
---> Fetching archive for bison
---> Attempting to fetch bison-2.5_0.darwin_8.i386.tbz2 from http://packages.macports.org/bison
---> Fetching bison
---> Attempting to fetch bison-2.5.tar.bz2 from http://mirror.facebook.net/gnu/gnu/bison
---> Attempting to fetch bison-2.5.tar.bz2 from http://distfiles.macports.org/bison
---> Verifying checksum(s) for bison
---> Extracting bison
---> Configuring bison
---> Building bison
---> Staging bison into destroot
---> Installing bison @2.5_0
---> Activating bison @2.5_0
---> Cleaning bison
michael-riveras-computer:~ michaelrivera$ sudo port install wine-devel
Password:
---> Computing dependencies for wine-devel
---> Building wine-devel
Error: Target org.macports.build returned: shell command failed (see log for details)
Log for wine-devel is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_wine-devel/wine-devel/main.log
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>
michael-riveras-computer:~ michaelrivera$ /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_wine-devel/wine-devel/main.log
-bash: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_wine-devel/wine-devel/main.log: Permission denied
michael-riveras-computer:~ michaelrivera$

How do I get into that log?
mrivera
Level 2
Level 2
Posts: 38
Joined: Tue Sep 27, 2011 12:20 pm

Post by mrivera »

Got the log.

Last login: Tue Oct 4 12:57:54 on ttyp3
Welcome to Darwin!
michael-riveras-computer:~ michaelrivera$ michael-riveras-computer:~ michaelrivera$ sudo port install bison
-bash: michael-riveras-computer:~: command not found
michael-riveras-computer:~ michaelrivera$ Password:
-bash: Password:: command not found
michael-riveras-computer:~ michaelrivera$ ---> Computing dependencies for bison-bash: ---: command not found
michael-riveras-computer:~ michaelrivera$ ---> Fetching archive for bison
-bash: ---: command not found
michael-riveras-computer:~ michaelrivera$ ---> Attempting to fetch bison-2.5_0.darwin_8.i386.tbz2 from http://packages.macports.org/bison
-bash: ---: command not found
michael-riveras-computer:~ michaelrivera$ ---> Fetching bison
-bash: ---: command not found
michael-riveras-computer:~ michaelrivera$ ---> Attempting to fetch bison-2.5.tar.bz2 from http://mirror.facebook.net/gnu/gnu/bison
-bash: ---: command not found
michael-riveras-computer:~ michaelrivera$ ---> Attempting to fetch bison-2.5.tar.bz2 from http://distfiles.macports.org/bison
-bash: ---: command not found
michael-riveras-computer:~ michaelrivera$ ---> Verifying checksum(s) for bison
-bash: syntax error near unexpected token `('
michael-riveras-computer:~ michaelrivera$ ---> Extracting bison
-bash: ---: command not found
michael-riveras-computer:~ michaelrivera$ ---> Configuring bison
-bash: ---: command not found
michael-riveras-computer:~ michaelrivera$ ---> Building bison
-bash: ---: command not found
michael-riveras-computer:~ michaelrivera$ ---> Staging bison into destroot
-bash: ---: command not found
michael-riveras-computer:~ michaelrivera$ ---> Installing bison @2.5_0
-bash: ---: command not found
michael-riveras-computer:~ michaelrivera$ ---> Activating bison @2.5_0
-bash: ---: command not found
michael-riveras-computer:~ michaelrivera$ ---> Cleaning bison
-bash: ---: command not found
michael-riveras-computer:~ michaelrivera$ michael-riveras-computer:~ michaelrivera$ sudo port install wine-devel
-bash: michael-riveras-computer:~: command not found
michael-riveras-computer:~ michaelrivera$ Password:
-bash: Password:: command not found
michael-riveras-computer:~ michaelrivera$ ---> Computing dependencies for wine-devel
-bash: ---: command not found
michael-riveras-computer:~ michaelrivera$ ---> Building wine-devel
-bash: ---: command not found
michael-riveras-computer:~ michaelrivera$ Error: Target org.macports.build returned: shell command failed (see log for details)
-bash: syntax error near unexpected token `('
michael-riveras-computer:~ michaelrivera$ Log for wine-devel is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_wine-devel/wine-devel/main.log
-bash: Log: command not found
michael-riveras-computer:~ michaelrivera$ Error: Status 1 encountered during processing.
-bash: Error:: command not found
michael-riveras-computer:~ michaelrivera$ To report a bug, see <http://guide.macports.org/#project.tickets>
-bash: syntax error near unexpected token `newline'
michael-riveras-computer:~ michaelrivera$ michael-riveras-computer:~ michaelrivera$ /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_wine-devel/wine-devel/main.log
-bash: michael-riveras-computer:~: command not found
michael-riveras-computer:~ michaelrivera$ -bash: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_wine-devel/wine-devel/main.log: Permission denied
-bash: -bash:: command not found
michael-riveras-computer:~ michaelrivera$ michael-riveras-computer:~ michaelrivera$
mrivera
Level 2
Level 2
Posts: 38
Joined: Tue Sep 27, 2011 12:20 pm

Post by mrivera »

Or not, I thought I did but I'm still getting this.

Admins: Sorry to keep posting, I really wish there was a way to edit previous posts.


michael-riveras-computer:~ michaelrivera$ /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_wine-devel/wine-devel/main.log
-bash: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_wine-devel/wine-devel/main.log: Permission denied
michael-riveras-computer:~ michaelrivera$
mrivera
Level 2
Level 2
Posts: 38
Joined: Tue Sep 27, 2011 12:20 pm

Post by mrivera »

Or not, I thought I did but I'm still getting this.

Admins: Sorry to keep posting, I really wish there was a way to edit previous posts.


michael-riveras-computer:~ michaelrivera$ /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_wine-devel/wine-devel/main.log
-bash: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_wine-devel/wine-devel/main.log: Permission denied
michael-riveras-computer:~ michaelrivera$
Charles Davis

Wine on Tiger

Post by Charles Davis »

On Oct 4, 2011, at 12:58 PM, mrivera wrote:
How do I get into that log?
port log --phase build wine-devel

will show you the log.

But now this is a MacPorts issue. You should file a bug at http://trac.macports.org/ .

Chip
bcpeterson
Level 2
Level 2
Posts: 35
Joined: Sat Sep 11, 2010 6:24 pm

Post by bcpeterson »

doh123 wrote:/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_wine-devel/wine-devel/main.log

it tells you right there that is made a log file...

try typing in the word open then copy and pasting that path...

open /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_wine-devel/wine-devel/main.log

and it should open Console.app and show you the log.. and you scroll down near the end to find out what the actual error was.
doh123 already told you how to open the log...

and you can't edit posts because its linked to a mailing list and archive. Charles Davis probably saw your recent posts via e-mail and not the old posts regarding how this whole thing got started.
bcpeterson
Level 2
Level 2
Posts: 35
Joined: Sat Sep 11, 2010 6:24 pm

Post by bcpeterson »

mrivera
Level 2
Level 2
Posts: 38
Joined: Tue Sep 27, 2011 12:20 pm

Post by mrivera »

https://trac.macports.org/ticket/31500

I installed the older version of Wine again, considering I was able to pull up Arena and I have no idea how to fix it so the newer version of Wine will work on Tiger.
mrivera
Level 2
Level 2
Posts: 38
Joined: Tue Sep 27, 2011 12:20 pm

Post by mrivera »

I do appreciate everyones help thus far. Sorry for the miscommunication Charles, I thought I had clearly stated I had Macports. I didn't really know what I was doing here and between work and school I didn't have to time or desire to actually learn what I was doing, I just needed to get this program working asap. You guys made a great effort and were of great support and I truly thank you for that.
Locked