LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Wine on Slackware 14 64bit - what am I doing wrong? (https://www.linuxquestions.org/questions/slackware-14/wine-on-slackware-14-64bit-what-am-i-doing-wrong-4175446168/)

andreas-r 01-18-2013 06:26 AM

Wine on Slackware 14 64bit - what am I doing wrong?
 
I'm trying to get Wine to work on Slackware 14 64bit running in Virtual Box.

Followinng:
http://alien.slackbook.org/dokuwiki/...tilib_packages
I have downloaded all the files and folders from:
http://connie.slackware.com/~alien/m...re64-compat32/
As explained by Alien Bob I've run:
Code:

upgradepkg --reinstall --install-new *.t?z
In the directory where I downloaded /slackware64-compat32

The upgrade to multilib packages seems to go fine.

I've then tried to run the Wine SlackBuild script but it gives me the error:
Cannot build a 32-bit program, you need to install 32-bit development libraries.

Is there more I need to do upgrade the packages to multilib?
Or do I need another script to make the Wine package than the one from SlackBuilds?

Thanks!

wildwizard 01-18-2013 06:29 AM

You have to compile wine as a 32bit application as well so it's easier to grab Eric's prebuilt package :-

http://www.slackware.com/~alien/slac...e/pkg64/13.37/

414N 01-18-2013 06:42 AM

Or just add "-m32" to the CFLAGS you're using to build wine (SLKCFLAGS, if you're using a "standard" SlackBuild script) if you're on x86_64 ARCH.

phenixia2003 01-18-2013 06:49 AM

Hello,

Quote:

Originally Posted by andreas-r (Post 4872811)

I have downloaded all the files and folders from:
http://connie.slackware.com/~alien/m...re64-compat32/

To run/compile 32-bit softwares you also need to download and install multilib glibc/gcc from http://connie.slackware.com/~alien/multilib/14.0/.

Quote:

Originally Posted by andreas-r (Post 4872811)
The upgrade to multilib packages seems to go fine.

I've then tried to run the Wine SlackBuild script but it gives me the error:
Cannot build a 32-bit program, you need to install 32-bit development libraries.
Thanks!

To build a 32-bit program you need to execute /etc/profile.d/32dev.sh first as below :
Code:

. /etc/profile.d/32dev.sh
Do not forgot the *dot* at start.

Cheers.

--
SeB

andreas-r 01-18-2013 09:11 AM

Installing the multilib glibc/gcc from http://connie.slackware.com/~alien/multilib/14.0/ that I'd missed from and installing the prebuilt package from [URL="http://www.slackware.com/~alien/slac...e/pkg64/13.37/"] worked. I now have wine - thanks!

I tried compiling my own wine package first running:
Code:

. /etc/profile.d/32dev.sh
An then running the SlackBuild script to which I (not knowing was I was doing really) added -m32 to all of the SLCKFLAGS.

That created a sort of vicious circle then went on and on compiling so downloaded the pre-build package instead.

Well now I need to install WineTricks.

Does anyone know where I can find i prebuild package for that - or can you tell me step-by-step how to compile it from the SlackBuild?

Thanks a lot!

414N 01-18-2013 09:26 AM

winetricks is just a single shell script, so you can just put it inside a directory on your PATH to use it.
However, if you prefer a package, you can find a SlackBuild for it on SBo.

andreas-r 01-18-2013 09:30 AM

Thanks - all my Wine issues are solved ... for now :)


All times are GMT -5. The time now is 02:37 AM.