Hi, I am new to this compiling open source packages. Can anybody tell me what could be the problem for the following error. I am trying to build/install wine onto my mac, leopard. Code: config.status: creating tools/wrc/Makefile ../../tools/makedep -C. -S../.. -T../.. dumpres.c genres.c newstruc.c readres.c translation.c utils.c wrc.c writeres.c parser.y parser.l ./tools/makedep -C. -S. -T. make[1]: `makedep' is up to date. gcc -m32 -c -I. -I. -I../../include -I../../include -D__WINESRC__ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wstrict-prototypes -Wwrite-strings -Wpointer-arith -g -O2 -o ffs.o ffs.c {standard input}:unknown:FATAL:can't create output file: ffs.o make[1]: *** [ffs.o] Error 1 make: *** [libs/port] Error 2 Regards Mustafa symadept at gmail.com
On 03/16/2010 07:38 AM, symadept wrote:> Hi, > > I am new to this compiling open source packages. Can anybody tell me what could be the problem for the following error. > > I am trying to build/install wine onto my mac, leopard. > > > Code: > config.status: creating tools/wrc/Makefile > ../../tools/makedep -C. -S../.. -T../.. dumpres.c genres.c newstruc.c readres.c translation.c utils.c wrc.c writeres.c parser.y parser.l > ./tools/makedep -C. -S. -T. > make[1]: `makedep' is up to date. > gcc -m32 -c -I. -I. -I../../include -I../../include -D__WINESRC__ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wstrict-prototypes -Wwrite-strings -Wpointer-arith -g -O2 -o ffs.o ffs.c > {standard input}:unknown:FATAL:can't create output file: ffs.oOne common reason for that error is that you are compiling in a directory where you don't have write permission -- i.e. you need to be root (or the equivalent in OS X).
symadept wrote:> Hi, > > I am new to this compiling open source packages. Can anybody tell me what could be the problem for the following error. > > I am trying to build/install wine onto my mac, leopard. > > > Code: > config.status: creating tools/wrc/Makefile > ../../tools/makedep -C. -S../.. -T../.. dumpres.c genres.c newstruc.c readres.c translation.c utils.c wrc.c writeres.c parser.y parser.l > ./tools/makedep -C. -S. -T. > make[1]: `makedep' is up to date. > gcc -m32 -c -I. -I. -I../../include -I../../include -D__WINESRC__ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wstrict-prototypes -Wwrite-strings -Wpointer-arith -g -O2 -o ffs.o ffs.c > {standard input}:unknown:FATAL:can't create output file: ffs.o > make[1]: *** [ffs.o] Error 1 > make: *** [libs/port] Error 2 > > >You need to be a system administrator user to run make and you have to use sudo to run make: [code] directory where wine source is$ sudo make password: <enter password here> lots of lines of make code [/code] If you do not know how to use sudo, don't. There is wineskin, Mike Kronenberg's WineBottler and other builds available on the Internet for Intel Mac's running Leopard and Snow Leopard. If you are running Leopard on a Power PC Mac, there are NO known builds that will run Windows programs on this platform. However, someone else can chime in and please correct me. James McKenzie
James McKenzie wrote:> Gert van den Berg wrote: > > > On Fri, Mar 19, 2010 at 04:53, James McKenzie wrote: > > > > > > > You need to be a system administrator user to run make and you have to > > > use sudo to run make: > > > > > > > > > > > Shouldn't make run as a regular user on OS X, as on Linux, with make > > install requiring root, actual compilation not? > > > > > I've run it as sudo because I build a .dmg package. Fink asks for a > system administrator user and password when it builds wine. > > I'll have to look at the other build system I have here from Mike to see > if it needs sudo or not. > > James McKenzienormal source install on Mac OS X only needs sudo on install if your installing to the default /usr/local I don't run sudo on any part of it at all... but I also install to a prefix that my user has full access to.