LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-13-2006, 02:36 AM   #1
2Pacalypse
Member
 
Registered: Nov 2006
Posts: 112

Rep: Reputation: 15
Problems Compiling Wine (Error 2)


I'm having difficulting in Installing the new Wine (0.9.24). Everytime i ran the patch command (WoW Fix+Nvidia flickering Fix) and did sudo apt-get build wine, ./configure and make depend succesfully, but after i did the make command, he started a long string of errors, and then ended with make[1]: *** [wpp] Error 2 (twice). Im running Ubuntu Dapper Drake (6.06). heres my Console output

Code:
make[1]: Entering directory `/home/anarch/Desktop/Wine/wine-0.9.24/server'
../tools/makedep -C. -S.. -T..  atom.c change.c class.c clipboard.c console.c context_alpha.c context_i386.c context_powerpc.c context_sparc.c context_x86_64.c debugger.c directory.c event.c fd.c file.c handle.c hook.c mailslot.c main.c mapping.c mutex.c named_pipe.c object.c process.c ptrace.c queue.c region.c registry.c request.c semaphore.c serial.c signal.c snapshot.c sock.c symlink.c thread.c timer.c token.c trace.c unicode.c user.c window.c winstation.c 
make[1]: Leaving directory `/home/anarch/Desktop/Wine/wine-0.9.24/server'
make[1]: Entering directory `/home/anarch/Desktop/Wine/wine-0.9.24/server'
../tools/makedep -C. -S.. -T..  atom.c change.c class.c clipboard.c console.c context_alpha.c context_i386.c context_powerpc.c context_sparc.c context_x86_64.c debugger.c directory.c event.c fd.c file.c handle.c hook.c mailslot.c main.c mapping.c mutex.c named_pipe.c object.c process.c ptrace.c queue.c region.c registry.c request.c semaphore.c serial.c signal.c snapshot.c sock.c symlink.c thread.c timer.c token.c trace.c unicode.c user.c window.c winstation.c 
make[1]: Leaving directory `/home/anarch/Desktop/Wine/wine-0.9.24/server'
make[1]: Entering directory `/home/anarch/Desktop/Wine/wine-0.9.24/tools'
make[2]: Entering directory `/home/anarch/Desktop/Wine/wine-0.9.24/tools/widl'
../../tools/makedep -C. -S../.. -T../..  client.c hash.c header.c proxy.c server.c typegen.c typelib.c utils.c widl.c write_msft.c           parser.y parser.l
make[2]: Leaving directory `/home/anarch/Desktop/Wine/wine-0.9.24/tools/widl'
make[2]: Entering directory `/home/anarch/Desktop/Wine/wine-0.9.24/tools/widl'
../../tools/makedep -C. -S../.. -T../..  client.c hash.c header.c proxy.c server.c typegen.c typelib.c utils.c widl.c write_msft.c           parser.y parser.l
make[2]: Leaving directory `/home/anarch/Desktop/Wine/wine-0.9.24/tools/widl'
make[2]: Entering directory `/home/anarch/Desktop/Wine/wine-0.9.24/tools/winebuild'
../../tools/makedep -C. -S../.. -T../..  import.c main.c parser.c relay.c res16.c res32.c spec16.c spec32.c utils.c
make[2]: Leaving directory `/home/anarch/Desktop/Wine/wine-0.9.24/tools/winebuild'
make[2]: Entering directory `/home/anarch/Desktop/Wine/wine-0.9.24/tools/winebuild'
../../tools/makedep -C. -S../.. -T../..  import.c main.c parser.c relay.c res16.c res32.c spec16.c spec32.c utils.c
make[2]: Leaving directory `/home/anarch/Desktop/Wine/wine-0.9.24/tools/winebuild'
make[2]: Entering directory `/home/anarch/Desktop/Wine/wine-0.9.24/tools/winedump'
../../tools/makedep -C. -S../.. -T../..  debug.c dump.c emf.c le.c lnk.c main.c minidump.c misc.c msmangle.c ne.c output.c pe.c search.c symbol.c 
make[2]: Leaving directory `/home/anarch/Desktop/Wine/wine-0.9.24/tools/winedump'
make[2]: Entering directory `/home/anarch/Desktop/Wine/wine-0.9.24/tools/winedump'
../../tools/makedep -C. -S../.. -T../..  debug.c dump.c emf.c le.c lnk.c main.c minidump.c misc.c msmangle.c ne.c output.c pe.c search.c symbol.c 
make[2]: Leaving directory `/home/anarch/Desktop/Wine/wine-0.9.24/tools/winedump'
make[2]: Entering directory `/home/anarch/Desktop/Wine/wine-0.9.24/tools/winegcc'
../../tools/makedep -C. -S../.. -T../..  utils.c winegcc.c
make[2]: Leaving directory `/home/anarch/Desktop/Wine/wine-0.9.24/tools/winegcc'
make[2]: Entering directory `/home/anarch/Desktop/Wine/wine-0.9.24/tools/winegcc'
../../tools/makedep -C. -S../.. -T../..  utils.c winegcc.c
make[2]: Leaving directory `/home/anarch/Desktop/Wine/wine-0.9.24/tools/winegcc'
make[2]: Entering directory `/home/anarch/Desktop/Wine/wine-0.9.24/tools/wmc'
../../tools/makedep -C. -S../.. -T../..  lang.c mcl.c utils.c wmc.c write.c           mcy.y
make[2]: Leaving directory `/home/anarch/Desktop/Wine/wine-0.9.24/tools/wmc'
make[2]: Entering directory `/home/anarch/Desktop/Wine/wine-0.9.24/tools/wmc'
../../tools/makedep -C. -S../.. -T../..  lang.c mcl.c utils.c wmc.c write.c           mcy.y
make[2]: Leaving directory `/home/anarch/Desktop/Wine/wine-0.9.24/tools/wmc'
make[2]: Entering directory `/home/anarch/Desktop/Wine/wine-0.9.24/tools/wrc'
../../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
make[2]: Leaving directory `/home/anarch/Desktop/Wine/wine-0.9.24/tools/wrc'
make[2]: Entering directory `/home/anarch/Desktop/Wine/wine-0.9.24/tools/wrc'
../../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
make[2]: Leaving directory `/home/anarch/Desktop/Wine/wine-0.9.24/tools/wrc'
../tools/makedep -C. -S.. -T.. -I/usr/include/freetype2 bin2res.c fnt2bdf.c fnt2fon.c make_ctests.c makedep.c relpath.c sfnt2fnt.c
make[1]: Leaving directory `/home/anarch/Desktop/Wine/wine-0.9.24/tools'
./tools/makedep -C. -S. -T.
anarch@anarch-desktop:~/Desktop/Wine/wine-0.9.24$ make
make[1]: Entering directory `/home/anarch/Desktop/Wine/wine-0.9.24/tools'
make[1]: `makedep' is up to date.
make[1]: Leaving directory `/home/anarch/Desktop/Wine/wine-0.9.24/tools'
make[1]: Entering directory `/home/anarch/Desktop/Wine/wine-0.9.24/libs'
make[2]: Entering directory `/home/anarch/Desktop/Wine/wine-0.9.24/libs/port'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/anarch/Desktop/Wine/wine-0.9.24/libs/port'
make[2]: Entering directory `/home/anarch/Desktop/Wine/wine-0.9.24/libs/wine'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/anarch/Desktop/Wine/wine-0.9.24/libs/wine'
make[2]: Entering directory `/home/anarch/Desktop/Wine/wine-0.9.24/libs/wpp'
bison  -p ppy_ -o ppy.tab.c -d ppy.y
ppy.y:138 parser name defined to default :"parse"
bison  -p ppy_ -o ppy.tab.c ppy.y
ppy.y:138 parser name defined to default :"parse"
gcc -c -I. -I. -I../../include -I../../include    -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith  -g -O2  -o ppy.tab.o ppy.tab.c
gcc -c -I. -I. -I../../include -I../../include    -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith  -g -O2  -o ppl.yy.o ppl.yy.c
ppl.l:167:21: error: ppy.tab.h: No such file or directory
ppl.l:234: error: syntax error before ‘YYSTYPE’
ppl.l: In function ‘ppy_lex’:
ppl.l:316: error: ‘tINCLUDE’ undeclared (first use in this function)
ppl.l:316: error: (Each undeclared identifier is reported only once
ppl.l:316: error: for each function it appears in.)
ppl.l:318: error: ‘tERROR’ undeclared (first use in this function)
ppl.l:319: error: ‘tWARNING’ undeclared (first use in this function)
ppl.l:320: error: ‘tPRAGMA’ undeclared (first use in this function)
ppl.l:321: error: ‘tPPIDENT’ undeclared (first use in this function)
ppl.l:322: error: ‘tUNDEF’ undeclared (first use in this function)
ppl.l:323: error: ‘tIFDEF’ undeclared (first use in this function)
ppl.l:324: error: ‘tIFNDEF’ undeclared (first use in this function)
ppl.l:325: error: ‘tIF’ undeclared (first use in this function)
ppl.l:326: error: ‘tELIF’ undeclared (first use in this function)
ppl.l:327: error: ‘tELSE’ undeclared (first use in this function)
ppl.l:328: error: ‘tENDIF’ undeclared (first use in this function)
ppl.l:329: error: ‘tLINE’ undeclared (first use in this function)
ppl.l:330: error: ‘tGCCLINE’ undeclared (first use in this function)
ppl.l:332: error: ‘tNL’ undeclared (first use in this function)
ppl.l:340: error: ‘ppy_lval’ undeclared (first use in this function)
ppl.l:368: error: ‘tDEFINED’ undeclared (first use in this function)
ppl.l:369: error: ‘tLSHIFT’ undeclared (first use in this function)
ppl.l:370: error: ‘tRSHIFT’ undeclared (first use in this function)
ppl.l:371: error: ‘tLOGAND’ undeclared (first use in this function)
ppl.l:372: error: ‘tLOGOR’ undeclared (first use in this function)
ppl.l:373: error: ‘tEQ’ undeclared (first use in this function)
ppl.l:374: error: ‘tNE’ undeclared (first use in this function)
ppl.l:375: error: ‘tLTE’ undeclared (first use in this function)
ppl.l:376: error: ‘tGTE’ undeclared (first use in this function)
ppl.l:389: error: ‘tIDENT’ undeclared (first use in this function)
ppl.l:420: error: ‘tLITERAL’ undeclared (first use in this function)
ppl.l:429: error: ‘tMACRO’ undeclared (first use in this function)
ppl.l:430: error: ‘tDEFINE’ undeclared (first use in this function)
ppl.l:449: error: ‘tMACROEND’ undeclared (first use in this function)
ppl.l:453: error: ‘tELIPSIS’ undeclared (first use in this function)
ppl.l:462: error: ‘tCONCAT’ undeclared (first use in this function)
ppl.l:463: error: ‘tSTRINGIZE’ undeclared (first use in this function)
ppl.l:559: error: ‘tDQSTRING’ undeclared (first use in this function)
ppl.l:579: error: ‘tSQSTRING’ undeclared (first use in this function)
ppl.l:589: error: ‘tIQSTRING’ undeclared (first use in this function)
ppl.l:641: error: ‘tRCINCLUDE’ undeclared (first use in this function)
ppl.l:686: error: ‘tRCINCLUDEPATH’ undeclared (first use in this function)
ppl.l: At top level:
ppl.l:789: error: syntax error before ‘YYSTYPE’
ppl.l: In function ‘make_number’:
ppl.l:797: error: ‘str’ undeclared (first use in this function)
ppl.l:797: error: ‘len’ undeclared (first use in this function)
ppl.l:832: error: ‘val’ undeclared (first use in this function)
ppl.l:832: error: ‘radix’ undeclared (first use in this function)
ppl.l:833: error: ‘tULONGLONG’ undeclared (first use in this function)
ppl.l:838: error: ‘tSLONGLONG’ undeclared (first use in this function)
ppl.l:847: error: ‘tULONG’ undeclared (first use in this function)
ppl.l:852: error: ‘tSLONG’ undeclared (first use in this function)
ppl.l:857: error: ‘tUINT’ undeclared (first use in this function)
ppl.l:862: error: ‘tSINT’ undeclared (first use in this function)
make[2]: *** [ppl.yy.o] Error 1
make[2]: Leaving directory `/home/anarch/Desktop/Wine/wine-0.9.24/libs/wpp'
make[1]: *** [wpp] Error 2
make[1]: Leaving directory `/home/anarch/Desktop/Wine/wine-0.9.24/libs'
make: *** [libs] Error 2
anarch@anarch-desktop:~/Desktop/Wine/
it seems as if theres alot of undefined variables, but since im a really unbelievably noobish programmer i dont want to meddle with the program source code... so can any1 suggest what to do (i have all the dependencies installed already)

p.s.
is it possible to make it a .deb file in the end?

Thanks in advance
 
Old 11-13-2006, 06:06 AM   #2
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
This is the problem
Code:
ppl.l:167:21: error: ppy.tab.h: No such file or directory
That's probably where everything is defined.

If you're using Ubuntu, you don't need to build Wine from source. Here are the Ubuntu instructions http://www.winehq.com/site/download-deb.
 
Old 11-13-2006, 08:16 AM   #3
2Pacalypse
Member
 
Registered: Nov 2006
Posts: 112

Original Poster
Rep: Reputation: 15
in my case i do need to compile because i need two patch's that arent included in the Deb package (WoW Crash fix+Nvidia flickering fix). furthermore i would like to use the console more often, and compilations is a great way to enhance my terminal experience

now about the ppy file.. i have seveal ppy files but none of them has the right name, the simular names are

ppl.yy.c
ppl.yy.o
ppy.h
ppy.tab.c
ppy.tab.o
ppy.y
 
Old 11-13-2006, 08:59 AM   #4
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
Did you search Wine's Bugzilla?

http://bugs.winehq.org/show_bug.cgi?id=6204
 
Old 12-03-2006, 08:29 PM   #5
Ryupower
Member
 
Registered: Oct 2006
Posts: 75

Rep: Reputation: 16
I have the same problem
Quote:
Originally Posted by Arow
Did you search Wine's Bugzilla?

http://bugs.winehq.org/show_bug.cgi?id=6204
I tried that, doesn't work.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Error when compiling Wine BrianJ Slackware 9 08-01-2004 07:50 PM
problems when compiling wine Snerkel Linux - Software 0 07-20-2004 06:57 PM
problems compiling wine! plz help! Falafel Linux - Software 0 11-19-2003 09:24 AM
Wine, Compiling Problems, and RH9 SUCKS! thcmwz Linux - Software 2 11-07-2003 12:14 PM
wine compiling and error 2 watashiwaotaku7 Linux - Software 2 12-25-2002 10:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:35 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration