Failed to build recent wine (1.0-rc3) on 8-CURRENT

Boris Samorodov bsam at ipt.ru
Wed Jun 4 15:36:47 UTC 2008


On Wed, 04 Jun 2008 14:15:26 +0400 Vladimir Grebenschikov wrote:

> # portupgrade wine
> ....
> cc -c -I. -I. -I../../include -I../../include  -D__WINESRC__ -D_WINX32_ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith -I/usr/local/include -O2 -pipe  -fno-strict-aliasing  -o http.o http.c
> In file included from /usr/local/include/openssl/ssl.h:183,
>                  from internet.h:48,
>                  from http.c:60:
> /usr/local/include/openssl/x509.h:207: error: expected ')' before numeric constant
> In file included from /usr/local/include/openssl/ssl.h:183,
>                  from internet.h:48,
>                  from http.c:60:
> /usr/local/include/openssl/x509.h:929: error: expected identifier or '(' before 'LPCSTR'
> /usr/local/include/openssl/x509.h:929: error: expected ')' before numeric constant
> /usr/local/include/openssl/x509.h:929: error: expected declaration specifiers or '...' before '(' token
> /usr/local/include/openssl/x509.h:929: error: expected ')' before numeric constant
> In file included from /usr/local/include/openssl/ssl.h:183,
>                  from internet.h:48,
>                  from http.c:60:
> /usr/local/include/openssl/x509.h:929:1: error: pasting ")" and "_it" does not give a valid preprocessing token
> gmake[2]: *** [http.o] Ошибка 1
> gmake[2]: Leaving directory `/usr/ports/emulators/wine/work/wine-1.0-rc3/dlls/wininet'
> gmake[1]: *** [wininet] Ошибка 2
> gmake[1]: Leaving directory `/usr/ports/emulators/wine/work/wine-1.0-rc3/dlls'
> gmake: *** [dlls] Ошибка 2
> *** Error code 2

> Stop in /usr/ports/emulators/wine.
> ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade.40169.0 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=wine-1.0.r2,1 UPGRADE_PORT_VER=1.0.r2,1 make
> ** Fix the problem and try again.
> ** Listing the failed packages (-:ignored / *:skipped / !:failed)
>         ! emulators/wine (wine-1.0.r2,1)        (unknown build error)

> Script done, output file is /var/log/portupgrade/40164.output
> ! emulators/wine (wine-1.0.r2,1)        (unknown build error)
> #  pkg_info -I wine\* openssl\*
> openssl-0.9.8h      SSL and crypto library
> wine-1.0.r2,1       Microsoft Windows compatibility layer for Unix-like systems
> #

> Any hints will be very appreciated.

I don't know if it really may help but I don't have installed openssl
from ports and wine is built just fine.

One warning though. I managed to use Cyrillic fonts only if wine is
compiled with apropriate locale.


HTH & WBR
-- 
Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone & Internet SP
FreeBSD committer, http://www.FreeBSD.org The Power To Serve


More information about the freebsd-emulation mailing list