WINE Compile issue latest development release (1.1.16?)

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
133794m3r
Level 2
Level 2
Posts: 17
Joined: Fri Nov 28, 2008 1:22 am

WINE Compile issue latest development release (1.1.16?)

Post by 133794m3r »

checking for X... no
configure: error: X development files not found. Wine will be built
without X support, which probably isn't what you want. You will need to install
development packages of Xlib/Xfree86 at the very least.
Use the --without-x option if you really want this.

Configure failed, aborting install.

-_- i keep getting random things when i try to install wine this is the latest.
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: WINE Compile issue latest development release (1.1.16?)

Post by dimesio »

133794m3r wrote:checking for X... no
configure: error: X development files not found. Wine will be built
without X support, which probably isn't what you want. You will need to install
development packages of Xlib/Xfree86 at the very least.
Use the --without-x option if you really want this.

Configure failed, aborting install.

-_- i keep getting random things when i try to install wine this is the latest.
Do what it tells you. Install the X development packages. If you get any other messages about missing files, install them too.
133794m3r
Level 2
Level 2
Posts: 17
Joined: Fri Nov 28, 2008 1:22 am

Post by 133794m3r »

what x dev packages? will it be called x dev packages or what? i tried using the standard sudo apt-get whatever program name and that doesn't work.
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: WINE Compile issue latest development release (1.1.16?)

Post by vitamin »

133794m3r wrote:checking for X... no
http://wiki.winehq.org/Recommended_Packages
133794m3r
Level 2
Level 2
Posts: 17
Joined: Fri Nov 28, 2008 1:22 am

Post by 133794m3r »

yes i've already clicked that and ran it 3 times now -_- and it doesn't install the dependencies i ran it from sudo ran it from the terminal nothing. Now it's saying install freetype fonts -_-
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Post by dimesio »

133794m3r wrote:yes i've already clicked that and ran it 3 times now -_- and it doesn't install the dependencies i ran it from sudo ran it from the terminal nothing. Now it's saying install freetype fonts -_-
I assume "clicked that" means you're using Ubuntu. Perhaps you overlooked this note below the links to the Ubuntu scripts:
Please read the comments at the top of each script before running. If you find a problem with those scripts, please email Dan Kegel.

Note that some packages are in Universe, so you have to enable that repository before running that script.
As for the freetype error message, as I already told you: install whatever configure complains is missing.

Is there a reason you're trying to build from source rather than just installing the Ubuntu packages?
austin987
Wine Developer
Wine Developer
Posts: 2383
Joined: Fri Feb 22, 2008 8:19 pm

WINE Compile issue latest development release (1.1.16?)

Post by austin987 »

On Fri, Mar 13, 2009 at 9:01 AM, 133794m3r <[email protected]> wrote:
yes i've already clicked that and ran it 3 times now -_- and it doesn't install the dependencies i ran it from sudo ran it from the terminal nothing. Now it's saying install freetype fonts -_-
What distro? 32 bit or 64?


--
-Austin
133794m3r
Level 2
Level 2
Posts: 17
Joined: Fri Nov 28, 2008 1:22 am

Post by 133794m3r »

32 bit and also i finally got it to accept all of my repositories and such and now i got this

Code: Select all

wined3d_private.h: In function ‘is_identity_fixup’:
wined3d_private.h:112: error: too many arguments to function ‘memcmp’
device.c: In function ‘IWineD3DDeviceImpl_QueryInterface’:
device.c:70: error: too many arguments to function ‘memcmp’
device.c:71: error: too many arguments to function ‘memcmp’
device.c:72: error: too many arguments to function ‘memcmp’
device.c: In function ‘IWineD3DDeviceImpl_CreateStateBlock’:
device.c:397: error: too many arguments to function ‘memset’
device.c: In function ‘IWineD3DDeviceImpl_CreateVolume’:
device.c:1171: error: too many arguments to function ‘memset’
device.c: In function ‘IWineD3DDeviceImpl_CreateSwapChain’:
device.c:1803: error: too many arguments to function ‘memset’
device.c: In function ‘IWineD3DDeviceImpl_LoadLogo’:
device.c:2187: error: too many arguments to function ‘memset’
device.c: In function ‘IWineD3DDeviceImpl_SetDisplayMode’:
device.c:2677: error: too many arguments to function ‘memset’
device.c: In function ‘IWineD3DDeviceImpl_SetTransform’:
device.c:2889: error: too many arguments to function ‘memcmp’
device.c:2893: error: too many arguments to function ‘memcpy’
device.c:2906: error: too many arguments to function ‘memcmp’
device.c: In function ‘IWineD3DDeviceImpl_SetVertexShaderConstantB’:
device.c:3686: error: too many arguments to function ‘memcpy’
device.c: In function ‘IWineD3DDeviceImpl_GetVertexShaderConstantB’:
device.c:3714: error: too many arguments to function ‘memcpy’
device.c: In function ‘IWineD3DDeviceImpl_SetVertexShaderConstantI’:
device.c:3733: error: too many arguments to function ‘memcpy’
device.c: In function ‘IWineD3DDeviceImpl_GetVertexShaderConstantI’:
device.c:3762: error: too many arguments to function ‘memcpy’
device.c: In function ‘IWineD3DDeviceImpl_SetVertexShaderConstantF’:
device.c:3782: error: too many arguments to function ‘memcpy’
device.c:3796: error: too many arguments to function ‘memset’
device.c: In function ‘IWineD3DDeviceImpl_GetVertexShaderConstantF’:
device.c:3816: error: too many arguments to function ‘memcpy’
device.c: In function ‘IWineD3DDeviceImpl_SetPixelShaderConstantB’:
device.c:4079: error: too many arguments to function ‘memcpy’
device.c: In function ‘IWineD3DDeviceImpl_GetPixelShaderConstantB’:
device.c:4107: error: too many arguments to function ‘memcpy’
device.c: In function ‘IWineD3DDeviceImpl_SetPixelShaderConstantI’:
device.c:4126: error: too many arguments to function ‘memcpy’
device.c: In function ‘IWineD3DDeviceImpl_GetPixelShaderConstantI’:
device.c:4155: error: too many arguments to function ‘memcpy’
device.c: In function ‘IWineD3DDeviceImpl_SetPixelShaderConstantF’:
device.c:4175: error: too many arguments to function ‘memcpy’
device.c:4189: error: too many arguments to function ‘memset’
device.c: In function ‘IWineD3DDeviceImpl_GetPixelShaderConstantF’:
device.c:4209: error: too many arguments to function ‘memcpy’
device.c: In function ‘process_vertices_strided’:
device.c:4253: error: too many arguments to function ‘memcpy’
device.c:4469: error: too many arguments to function ‘memcpy’
device.c:4471: error: too many arguments to function ‘memcpy’
device.c:4495: error: too many arguments to function ‘memcpy’
device.c:4526: error: too many arguments to function ‘memcpy’
device.c:4546: error: too many arguments to function ‘memcpy’
device.c:4548: error: too many arguments to function ‘memcpy’
device.c: In function ‘IWineD3DDeviceImpl_ProcessVertices’:
device.c:4587: error: too many arguments to function ‘memset’
device.c: In function ‘IWineD3DDeviceImpl_UpdateVolume’:
device.c:5547: error: too many arguments to function ‘memcpy’
device.c: In function ‘IWineD3DDeviceImpl_UpdateSurface’:
device.c:5942: error: too many arguments to function ‘memset’
device.c: In function ‘IWineD3DDeviceImpl_DrawRectPatch’:
device.c:6140: error: too many arguments to function ‘memcmp’
device.c: In function ‘IWineD3DDeviceImpl_ColorFill’:
device.c:6414: error: too many arguments to function ‘memset’
device.c: In function ‘IWineD3DDeviceImpl_ClearRendertargetView’:
device.c:6462: error: too many arguments to function ‘memset’
device.c: In function ‘IWineD3DDeviceImpl_SetCursorProperties’:
device.c:6904: error: too many arguments to function ‘memcpy’
device.c: In function ‘is_display_mode_supported’:
device.c:7142: error: too many arguments to function ‘memset’
make[2]: *** [device.o] Error 1
make[2]: Leaving directory `/home/mac/wine-1.1.16/dlls/wined3d'
make[1]: *** [wined3d] Error 2
make[1]: Leaving directory `/home/mac/wine-1.1.16/dlls'
make: *** [dlls] Error 2

Compilation failed, aborting install.
Also just so people know why i'm just not doing the simple sudo apt install of wine. it's so that i can do the PW fix. :/ and this is the only way i know of to fix it.
austin987
Wine Developer
Wine Developer
Posts: 2383
Joined: Fri Feb 22, 2008 8:19 pm

WINE Compile issue latest development release (1.1.16?)

Post by austin987 »

On Fri, Mar 13, 2009 at 9:45 AM, 133794m3r <[email protected]> wrote:
32 bit and also i finally got it to accept all of my repositories and such and now i got this


Code:
device.c:7142: error: too many arguments to function ‘memset’
make[2]: *** [device.o] Error 1
make[2]: Leaving directory `/home/mac/wine-1.1.16/dlls/wined3d'
make[1]: *** [wined3d] Error 2
make[1]: Leaving directory `/home/mac/wine-1.1.16/dlls'
make: *** [dlls] Error 2

[/code]
What distro?

is ./configure showing no warnings? Try:

$ ./configure && make clean && make depend && make
--
-Austin
133794m3r
Level 2
Level 2
Posts: 17
Joined: Fri Nov 28, 2008 1:22 am

Post by 133794m3r »

Ubuntu 8.1 Intriped

edit:trying it out now :/ we'll see in a while
133794m3r
Level 2
Level 2
Posts: 17
Joined: Fri Nov 28, 2008 1:22 am

Post by 133794m3r »

didn't feel liek clicking edit same error this time again.
austin987
Wine Developer
Wine Developer
Posts: 2383
Joined: Fri Feb 22, 2008 8:19 pm

WINE Compile issue latest development release (1.1.16?)

Post by austin987 »

On Fri, Mar 13, 2009 at 11:07 AM, 133794m3r <[email protected]> wrote:
didn't feel liek clicking edit same error this time again.
Does ./configure have any warnings?

Are you using git? Try using 'git clean -f' to reset your tree to
default and clean up any mess.

--
-Austin
133794m3r
Level 2
Level 2
Posts: 17
Joined: Fri Nov 28, 2008 1:22 am

Post by 133794m3r »

no clue about git and no warnings it goes all the way through and does that witht eh errors. I'll try that command you did.

edit:

Code: Select all

The program 'git' is currently not installed.  You can install it by typing:
sudo apt-get install git-core
bash: git: command not found

as shown i am not using git.
Aaron

WINE Compile issue latest development release (1.1.16?)

Post by Aaron »

133794m3r wrote:
Ubuntu 8.1 Intriped






That version already has 1.1.16 available to install and 1.1.17 will
probably soon be available to install.

This might help you, but they were building wine for 9.04

http://ubuntuforums.org/showpost.php?p= ... ostcount=4
133794m3r
Level 2
Level 2
Posts: 17
Joined: Fri Nov 28, 2008 1:22 am

Post by 133794m3r »

Code: Select all

/usr/include/bits/stdlib.h:78: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/stdlib.h: In function ‘wctomb’:
/usr/include/bits/stdlib.h:93: error: ‘size_t’ undeclared (first use in this function)
/usr/include/bits/stdlib.h:94: error: too many arguments to function ‘__wctomb_chk’
/usr/include/bits/stdlib.h: At top level:
/usr/include/bits/stdlib.h:99: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__mbstowcs_chk’
/usr/include/bits/stdlib.h:102: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__mbstowcs_alias’
/usr/include/bits/stdlib.h:106: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__mbstowcs_chk_warn’
/usr/include/bits/stdlib.h:114: error: expected ‘,’ or ‘;’ before ‘mbstowcs’
/usr/include/bits/stdlib.h:131: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__wcstombs_chk’
/usr/include/bits/stdlib.h:134: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__wcstombs_alias’
/usr/include/bits/stdlib.h:138: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__wcstombs_chk_warn’
/usr/include/bits/stdlib.h:145: error: expected ‘,’ or ‘;’ before ‘wcstombs’
In file included from device.c:32:
wined3d_private.h: In function ‘is_identity_fixup’:
wined3d_private.h:112: error: too many arguments to function ‘memcmp’
device.c: In function ‘IWineD3DDeviceImpl_QueryInterface’:
device.c:70: error: too many arguments to function ‘memcmp’
device.c:71: error: too many arguments to function ‘memcmp’
device.c:72: error: too many arguments to function ‘memcmp’
device.c: In function ‘IWineD3DDeviceImpl_CreateStateBlock’:
device.c:397: error: too many arguments to function ‘memset’
device.c: In function ‘IWineD3DDeviceImpl_CreateVolume’:
device.c:1171: error: too many arguments to function ‘memset’
device.c: In function ‘IWineD3DDeviceImpl_CreateSwapChain’:
device.c:1803: error: too many arguments to function ‘memset’
device.c: In function ‘IWineD3DDeviceImpl_LoadLogo’:
device.c:2187: error: too many arguments to function ‘memset’
device.c: In function ‘IWineD3DDeviceImpl_SetDisplayMode’:
device.c:2677: error: too many arguments to function ‘memset’
device.c: In function ‘IWineD3DDeviceImpl_SetTransform’:
device.c:2889: error: too many arguments to function ‘memcmp’
device.c:2893: error: too many arguments to function ‘memcpy’
device.c:2906: error: too many arguments to function ‘memcmp’
device.c: In function ‘IWineD3DDeviceImpl_SetVertexShaderConstantB’:
device.c:3686: error: too many arguments to function ‘memcpy’
device.c: In function ‘IWineD3DDeviceImpl_GetVertexShaderConstantB’:
device.c:3714: error: too many arguments to function ‘memcpy’
device.c: In function ‘IWineD3DDeviceImpl_SetVertexShaderConstantI’:
device.c:3733: error: too many arguments to function ‘memcpy’
device.c: In function ‘IWineD3DDeviceImpl_GetVertexShaderConstantI’:
device.c:3762: error: too many arguments to function ‘memcpy’
device.c: In function ‘IWineD3DDeviceImpl_SetVertexShaderConstantF’:
device.c:3782: error: too many arguments to function ‘memcpy’
device.c:3796: error: too many arguments to function ‘memset’
device.c: In function ‘IWineD3DDeviceImpl_GetVertexShaderConstantF’:
device.c:3816: error: too many arguments to function ‘memcpy’
device.c: In function ‘IWineD3DDeviceImpl_SetPixelShaderConstantB’:
device.c:4079: error: too many arguments to function ‘memcpy’
device.c: In function ‘IWineD3DDeviceImpl_GetPixelShaderConstantB’:
device.c:4107: error: too many arguments to function ‘memcpy’
device.c: In function ‘IWineD3DDeviceImpl_SetPixelShaderConstantI’:
device.c:4126: error: too many arguments to function ‘memcpy’
device.c: In function ‘IWineD3DDeviceImpl_GetPixelShaderConstantI’:
device.c:4155: error: too many arguments to function ‘memcpy’
device.c: In function ‘IWineD3DDeviceImpl_SetPixelShaderConstantF’:
device.c:4175: error: too many arguments to function ‘memcpy’
device.c:4189: error: too many arguments to function ‘memset’
device.c: In function ‘IWineD3DDeviceImpl_GetPixelShaderConstantF’:
device.c:4209: error: too many arguments to function ‘memcpy’
device.c: In function ‘process_vertices_strided’:
device.c:4253: error: too many arguments to function ‘memcpy’
device.c:4469: error: too many arguments to function ‘memcpy’
device.c:4471: error: too many arguments to function ‘memcpy’
device.c:4495: error: too many arguments to function ‘memcpy’
device.c:4526: error: too many arguments to function ‘memcpy’
device.c:4546: error: too many arguments to function ‘memcpy’
device.c:4548: error: too many arguments to function ‘memcpy’
device.c: In function ‘IWineD3DDeviceImpl_ProcessVertices’:
device.c:4587: error: too many arguments to function ‘memset’
device.c: In function ‘IWineD3DDeviceImpl_UpdateVolume’:
device.c:5547: error: too many arguments to function ‘memcpy’
device.c: In function ‘IWineD3DDeviceImpl_UpdateSurface’:
device.c:5942: error: too many arguments to function ‘memset’
device.c: In function ‘IWineD3DDeviceImpl_DrawRectPatch’:
device.c:6140: error: too many arguments to function ‘memcmp’
device.c: In function ‘IWineD3DDeviceImpl_ColorFill’:
device.c:6414: error: too many arguments to function ‘memset’
device.c: In function ‘IWineD3DDeviceImpl_ClearRendertargetView’:
device.c:6462: error: too many arguments to function ‘memset’
device.c: In function ‘IWineD3DDeviceImpl_SetCursorProperties’:
device.c:6904: error: too many arguments to function ‘memcpy’
device.c: In function ‘is_display_mode_supported’:
device.c:7142: error: too many arguments to function ‘memset’
make[2]: *** [device.o] Error 1
make[2]: Leaving directory `/home/mac/wine-1.1.16/dlls/wined3d'
make[1]: *** [wined3d] Error 2
make[1]: Leaving directory `/home/mac/wine-1.1.16/dlls'
make: *** [dlls] Error 2
this happens when i try to do what they said :/
User avatar
Daemon
Level 4
Level 4
Posts: 101
Joined: Wed Nov 12, 2008 2:24 pm

Post by Daemon »

133794m3r wrote:

Code: Select all

/usr/include/bits/stdlib.h:78: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/stdlib.h: In function ‘wctomb’:
/usr/include/bits/stdlib.h:93: error: ‘size_t’ undeclared (first use in this function)
/usr/include/bits/stdlib.h:94: error: too many arguments to function ‘__wctomb_chk’
/usr/include/bits/stdlib.h: At top level:
/usr/include/bits/stdlib.h:99: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__mbstowcs_chk’
/usr/include/bits/stdlib.h:102: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__mbstowcs_alias’
/usr/include/bits/stdlib.h:106: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__mbstowcs_chk_warn’
/usr/include/bits/stdlib.h:114: error: expected ‘,’ or ‘;’ before ‘mbstowcs’
/usr/include/bits/stdlib.h:131: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__wcstombs_chk’
/usr/include/bits/stdlib.h:134: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__wcstombs_alias’
/usr/include/bits/stdlib.h:138: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__wcstombs_chk_warn’
/usr/include/bits/stdlib.h:145: error: expected ‘,’ or ‘;’ before ‘wcstombs’
In file included from device.c:32:
this happens when i try to do what they said :/
Do you have libc6-dev and build-essential installed? This page - http://wiki.winehq.org/WineOn64bit - has all the info about build dependencies for 32/64bit and fun stuff like that. If you don't want to mess around with git you can grab the latest .bz2 build snapshot from http://source.winehq.org/git/wine.git/?a=shortlog
133794m3r
Level 2
Level 2
Posts: 17
Joined: Fri Nov 28, 2008 1:22 am

Post by 133794m3r »

well as that page says it's for a 64bit system. I'm on a 32 bit system and what's this Git? should i just install it?
John Drescher

WINE Compile issue latest development release (1.1.16?)

Post by John Drescher »

well as that page says it's for a 64bit system. I'm on a 32 bit system and what's this Git?
http://git-scm.com/
should i just install it?
If you do not know what it is then the answer is short answer is no.
The longer answer is wine source is managed with the git scm which
allows you to check out (download to your pc) different releases of
wine using the git application. There is much more but I have no time
for the full answer..

John
133794m3r
Level 2
Level 2
Posts: 17
Joined: Fri Nov 28, 2008 1:22 am

Post by 133794m3r »

well there's still no hopes with this install apparently i can't edit that file to make a compile file so that's just making me feel wonderful :/
austin987
Wine Developer
Wine Developer
Posts: 2383
Joined: Fri Feb 22, 2008 8:19 pm

WINE Compile issue latest development release (1.1.16?)

Post by austin987 »

On Sat, Mar 14, 2009 at 1:41 AM, 133794m3r <[email protected]> wrote:
well there's still no hopes with this install apparently i can't edit that file to make a compile file so that's just making me feel wonderful :/





Does 1.1.17 help any?

--
-Austin
Locked