Tiny Core Linux

Tiny Core Extensions => TCE Talk => Topic started by: Sheleh on August 01, 2013, 05:15:07 AM

Title: Need help in creating wine-1.6.tcz
Post by: Sheleh on August 01, 2013, 05:15:07 AM
Please, I could,t compile wine-1.6 sorces (http://prdownloads.sourceforge.net/wine/wine-1.6.tar.bz2).

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


Title: Re: Need help in creating wine-1.6.tcz
Post by: Juanito on August 01, 2013, 06:02:31 AM
Did you read the wiki sections on compiling and creating extensions?
Title: Re: Need help in creating wine-1.6.tcz
Post by: Sheleh on August 01, 2013, 11:07:29 AM
Yes. But how to know what packages are needed to compile wine?
Title: Re: Need help in creating wine-1.6.tcz
Post by: Juanito on August 01, 2013, 11:19:28 AM
Start by loading the compiletc extension  :)
Title: Re: Need help in creating wine-1.6.tcz
Post by: Misalf on August 01, 2013, 12:00:53 PM
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.
Title: Re: Need help in creating wine-1.6.tcz
Post by: Sheleh on August 03, 2013, 08:49:36 PM
Start by loading the compiletc extension  :)
Now it's work! Thanks to all!!!  ;)
Title: Re: Need help in creating wine-1.6.tcz
Post by: Misalf on August 03, 2013, 08:59:51 PM
Have you been able to enable Mesa?
If yes, what version?
Title: Re: Need help in creating wine-1.6.tcz
Post by: Sheleh on August 04, 2013, 08:16:51 AM
No, I did not add mesa. How to find out?
Title: Re: Need help in creating wine-1.6.tcz
Post by: Misalf on August 04, 2013, 10:09:05 AM
just search for OSMesa. I downloaded different source packages from freedesktop.org.
But I can not tell what version is needed.
Title: Re: Need help in creating wine-1.6.tcz
Post by: gutmensch on August 09, 2013, 10: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)
Title: Re: Need help in creating wine-1.6.tcz
Post by: Misalf on August 09, 2013, 12:05:02 PM
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?
Title: Re: Need help in creating wine-1.6.tcz
Post by: curaga on August 09, 2013, 03:57:51 PM
OSMesa is software 3d.
Title: Re: Need help in creating wine-1.6.tcz
Post by: Misalf on August 10, 2013, 10:12:48 AM
Oh, good to know.