LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Can't "make" Wine (https://www.linuxquestions.org/questions/linux-software-2/cant-make-wine-507978/)

Ryupower 12-06-2006 03:40 PM

Can't "make" Wine
 
hey there, I tried configuring and installing wine from source ( need to use a special patch ) but whenever I type in "make" at the end I get:

Quote:

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/claudia/wine-0.9.26/libs/wpp'
make[1]: *** [wpp] Error 2
make[1]: Leaving directory `/home/claudia/wine-0.9.26/libs'
make: *** [libs] Error 2


I tried " make clean" and " make clean dist" after configuring it as well as after "making" ( make depend && make; or trying one after the other ), but it still gives me all these errors....HELP!

acid_kewpie 12-06-2006 03:45 PM

you need to find the first error that occurs, not the end fall out.

Ryupower 12-08-2006 04:28 PM

Quote:

Originally Posted by acid_kewpie
you need to find the first error that occurs, not the end fall out.

The first error is:
Quote:

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/claudia/Desktop/Programs/wine-0.9.24/libs/wpp'make[1]: *** [wpp] Error 2
make[1]: Leaving directory `/home/claudia/Desktop/Programs/wine-0.9.24/libs'
make: *** [libs] Error 2

)
Thanks anyone out there willing to help!
running Ubuntu Dapper Drake CE

IndyGunFreak 12-08-2006 06:24 PM

Quote:

Originally Posted by Ryupower
The first error is:


Thanks anyone out there willing to help!
running Ubuntu Dapper Drake CE

Uhh, ok I understand learning source, etc,. Why not just add the Wine repository to your source list and use Apt-get?

IGF

Ryupower 12-19-2006 11:47 AM

Quote:

Originally Posted by IndyGunFreak
Uhh, ok I understand learning source, etc,. Why not just add the Wine repository to your source list and use Apt-get?

IGF

Because I need to use some patches for wine. And those only work when you recompile the whole thing. Or so I am told.

Chiprunner 12-20-2006 12:10 AM

did you install the linux source for the compiler.

Ryupower 12-30-2006 10:46 AM

Quote:

Originally Posted by Chiprunner
did you install the linux source for the compiler.

what do you mean? ( n00b )

I downloaded the source and tried making it. But it won't make, let alone install because of those dumb errors!

bookgekgom 12-30-2006 11:54 PM

no....just forget about that stupid looking wine..
:p install cedega
it's also wine but with direct x ....i guess.
it works better than wine(dunno why)
but it does.
it even runs on 64 bit pc.
forget about wine and stop wine.
now go get cedega for free and install
NOW.

Chiprunner 01-02-2007 12:59 AM

Quote:

what do you mean? ( n00b )

I downloaded the source and tried making it. But it won't make, let alone install because of those dumb errors!
ya i'm a n00b,but this n00b has his wine running :p
hey good luck :rolleyes:

Ryupower 01-03-2007 12:13 AM

Quote:

Originally Posted by bookgekgom
no....just forget about that stupid looking wine..
:p install cedega
it's also wine but with direct x ....i guess.
it works better than wine(dunno why)
but it does.
it even runs on 64 bit pc.
forget about wine and stop wine.
now go get cedega for free and install
NOW.

Cadega costs money. XD
But I think this is an ubuntu-related issue, In Suse I had errors, but totally different ones.


All times are GMT -5. The time now is 02:15 PM.