Wine fails to compile on Caos NSA 0.9 x86_64

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

 



I have tried compiling wine versions 1.2.1, 1.2.2, and 1.3.12 on caos NSA 0.9 x86_64. All versions have the same behavior when I try to compile them. During configuration I get 
configure: error: FreeType 32-bit development files not found. Fonts will not be built.
Use the --without-freetype option if you really want this.

This occurs even though freetype.i386, and freetype-devel.i386 are installed. I have checked that the libfreetype.so symbolic links exist. I configure using --without-freetype since I only need wine to get a command line app working. 

When I try to compile I get the following error on httpapi_main.c:
gcc -m32 -c -I. -I. -I../../include -I../../include  -D__WINESRC__  -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wstrict-prototypes -Wtype-limits -Wwrite-strings -Wpointer-arith  -g -O2  -o httpapi_main.o httpapi_main.c
In file included from ../../include/http.h:25,
                 from httpapi_main.c:27:
../../include/ws2tcpip.h:57: error: conflicting types for 'socklen_t'
/usr/include/unistd.h:245: error: previous declaration of 'socklen_t' was here
make[1]: *** [httpapi_main.o] Error 1
make[1]: Leaving directory `/home/cnitta/wine-1.3.12/dlls/httpapi'
make: *** [dlls/httpapi] Error 2

I have tried adding #define USE_WS_PREFIX as discussed in:
http://www.mail-archive.com/wine-devel@xxxxxxxxxx/msg53614.html

It will compile httpapi_main.c, but then fails on internettransport.c:
gcc -m32 -c -I. -I. -I../../include -I../../include  -D__WINESRC__  -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wstrict-prototypes -Wtype-limits -Wwrite-strings -Wpointer-arith  -g -O2  -o internettransport.o internettransport.c
In file included from internettransport.c:23:
../../include/ws2tcpip.h:57: error: conflicting types for 'socklen_t'
/usr/include/unistd.h:245: error: previous declaration of 'socklen_t' was here
make[1]: *** [internettransport.o] Error 1
make[1]: Leaving directory `/home/cnitta/wine-1.3.12/dlls/inetcomm'
make: *** [dlls/inetcomm] Error 2

Applying the same fix to internettransport.c causes many other problems such as "storage size of 'hints' isn't known", etc. 

Any suggestions would be greatly appreciated.







[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux