WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Need help in creating wine-1.6.tcz  (Read 3666 times)

Offline Sheleh

  • Newbie
  • *
  • Posts: 33
Need help in creating wine-1.6.tcz
« on: August 01, 2013, 02:15:07 AM »
Please, I could,t compile wine-1.6 sorces.

When I do:
Quote
tar xjvf wine-1.6.tar.bz2
cd wine-1.6
./configure --prefix=/usr/local

In resuilt I have next errors:
Quote
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking whether make sets $(MAKE)... no
checking for gcc... gcc
checking whether the C compiler works... no
configure: error: in '/tmp/wine-1.6':
configure: error: C compiler cannot create executables



Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14570
Re: Need help in creating wine-1.6.tcz
« Reply #1 on: August 01, 2013, 03:02:31 AM »
Did you read the wiki sections on compiling and creating extensions?

Offline Sheleh

  • Newbie
  • *
  • Posts: 33
Re: Need help in creating wine-1.6.tcz
« Reply #2 on: August 01, 2013, 08:07:29 AM »
Yes. But how to know what packages are needed to compile wine?

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14570
Re: Need help in creating wine-1.6.tcz
« Reply #3 on: August 01, 2013, 08:19:28 AM »
Start by loading the compiletc extension  :)

Offline Misalf

  • Hero Member
  • *****
  • Posts: 1702
Re: Need help in creating wine-1.6.tcz
« Reply #4 on: August 01, 2013, 09:00:53 AM »
I have successfully compiled wine 1.6 in TC.
Any missing dev stuffs are listed in clonsole after ./configure has done.

Though, I was not able to make use of mesa (not in repo and couldn't compile from source) and openCL.

Plus I think TC's Xorg don't support direct draw mouse input (If I correctly understood the mouse problem in wine)

PS: before creating your tcz, I'd recommend to include gecko & mono .msi's (see winehq wiki) and some fonts.
Download a copy and keep it handy: Core book ;)

Offline Sheleh

  • Newbie
  • *
  • Posts: 33
Re: Need help in creating wine-1.6.tcz
« Reply #5 on: August 03, 2013, 05:49:36 PM »
Start by loading the compiletc extension  :)
Now it's work! Thanks to all!!!  ;)

Offline Misalf

  • Hero Member
  • *****
  • Posts: 1702
Re: Need help in creating wine-1.6.tcz
« Reply #6 on: August 03, 2013, 05:59:51 PM »
Have you been able to enable Mesa?
If yes, what version?
Download a copy and keep it handy: Core book ;)

Offline Sheleh

  • Newbie
  • *
  • Posts: 33
Re: Need help in creating wine-1.6.tcz
« Reply #7 on: August 04, 2013, 05:16:51 AM »
No, I did not add mesa. How to find out?

Offline Misalf

  • Hero Member
  • *****
  • Posts: 1702
Re: Need help in creating wine-1.6.tcz
« Reply #8 on: August 04, 2013, 07:09:05 AM »
just search for OSMesa. I downloaded different source packages from freedesktop.org.
But I can not tell what version is needed.
Download a copy and keep it handy: Core book ;)

Offline gutmensch

  • Administrator
  • Hero Member
  • *****
  • Posts: 605
  • I can make it disappear, have no fear!
    • remembrance blog
Re: Need help in creating wine-1.6.tcz
« Reply #9 on: August 09, 2013, 07:58:24 AM »
Do you really think you need OSmesa? HW gfx acceleration should be enabled by default when you have loaded Xorg-7.6-3d and Xorg-7.6-dev  while building wine and some modules should be linked to the mesa libGL, e.g. check in your wine install directory:
Code: [Select]
$ find . -name "*.so" -exec ldd {} \; | grep libGL
libGLU.so.1 => /lib/libGLU.so.1 (0xf7747000)
libGL.so.1 => /lib/libGL.so.1 (0xf76cc000)
libGL.so.1 => /lib/libGL.so.1 (0xf754c000)
If I seem unduly clear to you, you must have misunderstood what I said. (Alan Greenspan)

Offline Misalf

  • Hero Member
  • *****
  • Posts: 1702
Re: Need help in creating wine-1.6.tcz
« Reply #10 on: August 09, 2013, 09:05:02 AM »
I'm extremely unsure regarding this topic.

Xorg-7.6-3d and Xorg-7.6-dev and a lot of other dev extensions were loaded when I did compile wine 1.6.

Its just that wine's ./configure script told me that a certain feature (about accelerated bitmaps rendering in OpenGL ? if I recall correctly) woulnd't be supported without OSMesa being installed.

That kinda scared me because it sounds like a 3D program which uses bitbaps would be slower if wine was compiled without mesa.

Although your suggested find command line gives me a similar result.
Code: [Select]
        libGLU.so.1 => /usr/local/lib/libGLU.so.1 (0xb770f000)
        libGL.so.1 => /usr/lib/libGL.so.1 (0xb760d000)

Does that mean wine can make use of those mesa features anyway even if compiled without OSMesa but Xorg-7.6-3d?
Download a copy and keep it handy: Core book ;)

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 10969
Re: Need help in creating wine-1.6.tcz
« Reply #11 on: August 09, 2013, 12:57:51 PM »
OSMesa is software 3d.
The only barriers that can stop you are the ones you create yourself.

Offline Misalf

  • Hero Member
  • *****
  • Posts: 1702
Re: Need help in creating wine-1.6.tcz
« Reply #12 on: August 10, 2013, 07:12:48 AM »
Oh, good to know.
Download a copy and keep it handy: Core book ;)