Error while building wine 1.1.13 on Mac Os X

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
mr jingle
Level 2
Level 2
Posts: 26
Joined: Mon Jan 26, 2009 7:19 am

Error while building wine 1.1.13 on Mac Os X

Post by mr jingle »

As in subject, when I try building wine 1.1.13 using Mac OS X 10.5.6 using both the latest developer tools and fink packages (for libjpeg, libpng, libxml2, etc) it gives an error on "make && make depend" with the following message:

--

rm -f libwine_port.a
ar rc libwine_port.a ffs.o fstatvfs.o futimes.o getopt.o getopt1.o getpagesize.o gettid.o interlocked.o isinf.o isnan.o lstat.o memcpy_unaligned.o memmove.o mkstemps.o poll.o pread.o pwrite.o readlink.o spawn.o statvfs.o strcasecmp.o strerror.o strncasecmp.o symlink.o usleep.o
ar: temporary file: Permission denied
make[2]: *** [libwine_port.a] Error 1
make[1]: *** [port] Error 2
make: *** [libs] Error 2

--

the only different parameter from a regular linux build was a different CPPFLAGS and LDFLAGS due to libjpeg and libpng not being recognized by the "configure" tool.

Any clue? by the way, the build is done under a "regular", not limited, mac os x account, so the "permission denied" error is even more confusing.
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: Error while building wine 1.1.13 on Mac Os X

Post by vitamin »

mr jingle wrote:Any clue? by the way, the build is done under a "regular", not limited, mac os x account, so the "permission denied" error is even more confusing.
What directory are you building this in? Do you have rwx permissions on it?
mr jingle
Level 2
Level 2
Posts: 26
Joined: Mon Jan 26, 2009 7:19 am

Post by mr jingle »

yep, I'm building it on my home folder (well, "user" folder considering it's Mac Os) , nothing too exotic I suppose.
James Mckenzie

Error while building wine 1.1.13 on Mac Os X

Post by James Mckenzie »

mr jingle <[email protected]>
Sent: Jan 26, 2009 11:33 AM
To: [email protected]
Subject: [Wine] Re: Error while building wine 1.1.13 on Mac Os X

yep, I'm building it on my home folder (well, "user" folder considering it's Mac Os) , nothing too exotic I suppose.
Did you manage to install all of the dependencies that are needed to build Wine on the Mac? There are a number of them.
The second question I have is did you use git to retrieve all of Wine from the repository?

I have no problems building Wine 1.1.13 on my Mac with Leopard installed using Fink as the dependency resolution program. However, I also found problems after completing the build and installation. This is documented in messages on wine-devel mailing list (go to WineHQ for the archive and search for gdi32.dll) as well as the Wine User forum.

James McKenzie
James Mckenzie

Error while building wine 1.1.13 on Mac Os X

Post by James Mckenzie »

mr jingle <[email protected]>
Sent: Jan 26, 2009 7:35 AM
To: [email protected]
Subject: [Wine] Error while building wine 1.1.13 on Mac Os X

As in subject, when I try building wine 1.1.13 using Mac OS X 10.5.6 using both the latest developer tools and fink packages (for libjpeg, libpng, libxml2, etc) it gives an error on "make && make depend" with the following message:
make depend is run first, not second.
--

rm -f libwine_port.a
ar rc libwine_port.a ffs.o fstatvfs.o futimes.o getopt.o getopt1.o getpagesize.o gettid.o interlocked.o isinf.o isnan.o lstat.o memcpy_unaligned.o memmove.o mkstemps.o poll.o pread.o pwrite.o readlink.o spawn.o statvfs.o strcasecmp.o strerror.o strncasecmp.o symlink.o usleep.o
ar: temporary file: Permission denied
make[2]: *** [libwine_port.a] Error 1
make[1]: *** [port] Error 2
make: *** [libs] Error 2
Is your hard drive full? ar should be able to run given what you show here.

James McKenzie
mr jingle
Level 2
Level 2
Posts: 26
Joined: Mon Jan 26, 2009 7:19 am

Re: Error while building wine 1.1.13 on Mac Os X

Post by mr jingle »

James Mckenzie wrote:
make depend is run first, not second.
yeah, typo while writing it down here. it was correctly written on the consolle, anyway.
--
Is your hard drive full? ar should be able to run given what you show here.
nope. it was actually an error due to using pkg-config from the Mac Os developer tools . forcing it to use the one from fink packages fixed the problem.
James McKenzie

Error while building wine 1.1.13 on Mac Os X

Post by James McKenzie »

mr jingle wrote:
James Mckenzie wrote:
make depend is run first, not second.

yeah, typo while writing it down here. it was correctly written on the consolle, anyway.


--
Is your hard drive full? ar should be able to run given what you show here.

nope. it was actually an error due to using pkg-config from the Mac Os developer tools . forcing it to use the one from fink packages fixed the problem.

Good. See my comments on using the LD_LIBRARY_PATH environment variable
to use Fink's libraries after you build it and install it (you will have
to use sudo in order to install, the /usr/bin directory is owned
completely by some user called root.) Failure to do this causes
misleading errors, of the gdi32.dll type (go to the archives and read
all about it.)

Also, I plan on building and installing 1.1.14 when it is released.
Wine, the project, continues to improve with age.

James McKenzie
Locked