Topic: [SOLVED] Building Wine 1.4~rc2 64-bit from source

I'm a linux amatuer (just a step above a rookie... know enough to be dangerous) and I've been trying all week to get Wine to build from source in #!. I've read all the threads on the forums here, I've scoured google... and I'm just at my wits end frustrated.

I know about the sources at http://dev.carbon-project.org/debian/wine-unstable/ ... but I don't know how to use them. I've downloaded all the binaries and tried using dpkg -i to install them, but they all come with plenty of errors and nothing gets installed. Dependencies missing left and right.

I got frustrated, gave up, and nuked the install...

So, now I'm sitting with a fresh clean install of #! 10... the 32-bit version. Only thing I've done is cb-welcome. Can anyone walk me through the install?

Last edited by joypunk (2012-02-05 21:28:34)

Re: [SOLVED] Building Wine 1.4~rc2 64-bit from source

What errors are you getting when building it?

Another option would be to setup pinning and grab the source from Sid.  In the Quick References, there is a How To on setting up pinning.

Re: [SOLVED] Building Wine 1.4~rc2 64-bit from source

I've recently gone through this myself and have to say that apt-pinning is probably the best way to go about it. The carbon-project .debs will probably require newer versions of some of the development libraries than are in the debian stable repos. I used them to install wine just the other day, and they didn't require anything additional, but I'm on debian wheezy. Also, you can just click on a .deb file in thunar and it will pull up a gdebi window that you can use to install it, no need to pull up a terminal and use dpkg if you don't want to.

Re: [SOLVED] Building Wine 1.4~rc2 64-bit from source

VastOne wrote:

What errors are you getting when building it?

Mostly dependency missing errors.

I'll give pinning a try and report back. Building from source seems way too complicated for an amateur like myself.

Re: [SOLVED] Building Wine 1.4~rc2 64-bit from source

Okay, I've made some progress but still having issues.

I'm following the instructions I've found here: http://forums.linuxmint.com/viewtopic.p … 0#p502134. These seem to be getting me some progress. When I do my ./configure, though, I get an error that "checking whether the C compiler works... no" followed by "configure: error: C compiler cannot create executables".

Here's a pastebin of the config.log that results. http://pastebin.com/hPSbTWuA

Re: [SOLVED] Building Wine 1.4~rc2 64-bit from source

I wanted to upgrade wine from 1.3.7 to 1.3.37. Being too lazy to compile from source, i tried the ubuntu-maverick-deb from here: https://launchpad.net/~ubuntu-wine/+arc … /+packages.
First deinstalled 1.3.7. via synaptic ,then installed the ubuntu-deb. Ran winecfg post-install and agreed to dowload and install wine-gecko. Works fine for me with previous configs retained on the old (february 2011 ) release...

Last edited by Kuno (2012-01-29 00:16:08)

Re: [SOLVED] Building Wine 1.4~rc2 64-bit from source

@joypunk:
That is a problem with the gcc compiler. What version are you running? Where did you get it from?
Post output of

apt-get policy gcc

It is looking for object files in the wrong directory.

/usr/bin/ld: cannot find crt1.o: No such file or directory
/usr/bin/ld: cannot find crti.o: No such file or directory
/usr/bin/ld: cannot find -lc
/usr/bin/ld: cannot find crtn.o: No such file or directory
collect2: ld returned 1 exit status

Last edited by xaos52 (2012-01-29 10:30:37)

If you poke the bear it is going to come after you.

Re: [SOLVED] Building Wine 1.4~rc2 64-bit from source

Seem to have the gcc compiler fixed (thanks though, xaos52)... now I'm at a new hurdle.

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

I don't know how to install the X 32-bit dev files and google brings up a lot of DirectX and OSX crap.

I'm running 64-bit #! and installing the 64-bit Wine source.

Thanks again for all the support. #! community is awesome!

Re: [SOLVED] Building Wine 1.4~rc2 64-bit from source

I've given up this project. I have tried a dozen ways to do this, but I think I'm just too new to linux. I'm gonna try to live on Ubuntu for a month or two and then revisit #! and revisit building Wine from source.

Thanks everyone for the help! Sorry I gave up on it.

Re: [SOLVED] Building Wine 1.4~rc2 64-bit from source

Wooooot!

I learned some stuff over the past few days, got some more patience with Linux... and I just built Wine 1.4~rc2 64-bit from source! Got it up and running right now, just installing some winetricks (which I got from the testing repo) and then it's off to the .exe world.

Got it feels good to beat a problem like this. Is that why so many people love linux?

Re: [SOLVED] Building Wine 1.4~rc2 64-bit from source

Nice job joypunk...  It is a great feeling..

Please mark as solved...