pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: problem on wine build



Dear Luca,

As far as I remember (I bumped into it some time ago), the problem is with 
detecting built-in components of X11. Mac OS X does not provide correct imake 
for that, and PkgSrc assumes the package is not provided with the default X11 
installation, builds it, but then the system includes get into play.

You may want to try XQuartz (http://www.macupdate.com/app/mac/26593/xquartz), 
point X11BASE to /opt/X11 and rebuild ALL X11 packages, but I am not 100% sure 
that will fix the problem.

(X11 is s??t and I have removed it from my Mac OS X installation. 8-))

Kind regards,
Adam




Wiadomość napisana przez Luca Sironi w dniu 9 lis 2011, o godz. 12:48:

> Hello, i'm having the following problem into building wine.
> I did update pkgsrc even today with cvs.
> 
> sh-3.2# uname -a
> Darwin MacBookXXXX.local 10.8.0 Darwin Kernel Version 10.8.0: Tue Jun  7 
> 16:33:36 PDT 2011; root:xnu-1504.15.3~1/RELEASE_I386 i386
> 
> my flex is
> 
> sh-3.2# pkg_info | grep flex
> flex-2.5.35nb2      Fast clone of lex(1), the lexical scanner generator
> 
> and i added 
> 
> TOOLS_PLATFORM.flex=    ${LOCALBASE}/bin/flex
> TOOLS_PLATFORM.lex=     ${LOCALBASE}/bin/lex
> 
> to usr/pkg/etc/mk.conf  according to last Adam's advise on mailing list.
> 
> my attempt into bmake wine always end in
> 
> gcc -m32 -m32 -c -I. -I. -I../../include -I../../include -I/usr/X11/include 
> -D__WINESRC__  -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing 
> -Wdeclaration-after-statement -Wstrict-prototypes -Wwrite-strings 
> -Wpointer-arith -no-cpp-precomp -isystem /usr/include -I/usr/pkg/include 
> -I/usr/include -I/usr/pkg/include/freetype2 -I/usr/X11/include -pipe -O2 
> -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 
> -I/usr/X11/include  -o window.o window.c
> In file included from window.c:46:
> xcomposite.h:33: error: 'XCompositeVersion' undeclared here (not in a 
> function)
> xcomposite.h:33: warning: type defaults to 'int' in declaration of 
> 'pXCompositeVersion'
> xcomposite.h:39: error: 'XCompositeNameWindowPixmap' undeclared here (not in 
> a function)
> xcomposite.h:39: warning: type defaults to 'int' in declaration of 
> 'pXCompositeNameWindowPixma
> 
> xcomposite is
> 
> sh-3.2# pkg_info | grep composite
> Xcomposite-1.0.1nb3 Xcomposite extension (library)
> 
> could you advise?
> 
> best regards
> 
> Luca Sironi
> -- 
> "tempo" e "voglia" sono sinonimi nel 90% dei casi
> http://www.sironi.tk



Home | Main Index | Thread Index | Old Index