[Wine] Re: unable to compile

KGJ WOLFProductions at gmx.de
Tue May 2 04:29:00 CDT 2006


hi,

CrashedAgain wrote:
> the "make depends && make command" came from the readme file in the
> wine folder.
> I was using gcc 4.0.4 (unstable) on Sarge. Debian netinstall gives a
> sarge system but I wanted updated konqueror so I ended up with a mixed
> system.
>   
Do you really install unstable packages with all their dependencies? If
yes, this site might be worth a look: http://backports.org/

> I removed this & installed gcc 3.3.5 from stable & tried again, this
> time I got slightly different errors:
>
> ...
> make[2]: Entering directory
> `/home/crashedagain/compile/wine-20040121/tools/wrc'
> gcc -c -I. -I. -I../../include -I../../include
> -DINCLUDEDIR="\"/usr/local/include/wine\""  -Wall -pipe
> -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+
> -Wpointer-arith  -g -O2 -o newstruc.o newstruc.c
> newstruc.c: In function `handle_ani_list':
> newstruc.c:764: warning: use of cast expressions as lvalues is
> deprecated
> newstruc.c: In function `new_ani_curico':
> newstruc.c:875: warning: use of cast expressions as lvalues is
> deprecated
> gcc -c -I. -I. -I../../include -I../../include
> -DINCLUDEDIR="\"/usr/local/include/wine\""  -Wall -pipe
> -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+
> -Wpointer-arith  -g -O2 -o lex.yy.o lex.yy.c
> lex.yy.c:9175: error: syntax error before numeric constant
> lex.yy.c: In function `yy_scan_string':
> lex.yy.c:9176: error: number of arguments doesn't match prototype
> lex.yy.c:367: error: prototype declaration
> lex.yy.c:9178: warning: passing arg 1 of `strlen' makes pointer from
> integer without a cast
> lex.yy.c:9178: warning: passing arg 1 of `yy_scan_bytes' makes pointer
> from integer without a cast
> ./parser.l: At top level:
> lex.yy.c:8688: warning: `yyunput' defined but not used
> lex.yy.c:9267: warning: `yy_top_state' defined but not used
> make[2]: *** [lex.yy.o] Error 1
> make[2]: Leaving directory
> `/home/crashedagain/compile/wine-20040121/tools/wrc'
> make[1]: *** [wrc] Error 2
> make[1]: Leaving directory
> `/home/crashedagain/compile/wine-20040121/tools'
> make: *** [tools] Error 2
> desktop:/home/crashedagain/compile/wine-20040121#
>
> but the end result is still no joy.
>
> at this point,wine does not run. make install is supposed to install it
> (I think) so it does not get installed. "./wine " run from the compile
> directory results in "could not locate Wine source tree" error. I'm
> afraid I'm not very experienced at compliling having done most of my
> system maintenance with .deb packages.
>
> I am also using the 2.6 kernel (Sarge comes with 2.4.26), one of the
> things I wanted to check was if the turbocad failure was due to the 2.6
> kernel. I seemed like that might be the case from the Knoppix disks,
> Knoppix 3.4 came with both the 2.4 & the 2.6 kernel & turbocad would
> run with the 2.4 but not the 2.6. Knoppix 3.4 implementation of the 2.6
> kernel was know to be buggy so I thought this might be it. It wasn't,
> turbocad run just the same with either kernel on my experimental
> system.
>
> Will switch to the 2.4 kernel & attempt to compile again.
>
> I obtained the wine tarball from
> http://ftp.citkit.ru/pub/sourceforge/w/wi/wine/, I will also try to
> find a different source,it might be a buggy tarball.
Is there a reason for you to not use the official wine CVS? The snapshot
you want to compile is very old (2004<->2006). Wine became much better
in these years and I thought I read in another thread that someone
failed to compile an old wine, too. I would recommend to use the winehq
CVS: http://winehq.org/site/cvs
If CVS is not installed on your machine you have to do "apt-get install
cvs" first. The instructions on this site gives you the latest wine but
I think there is also a CVS option (-D) to checkout a specified date. I
never used it but "man cvs" is your friend ;)
Besides I don't think that another kernel will help you to compile. But
it might be possible that the program works under one kernel and not
under another...


Greetings KGJ



More information about the wine-users mailing list