TecMint.com is a community driven Linux website. Our motto is to provide an effortless howto’s to our valuable readers.

You are also welcome to join our community and can be part of our team, contributing and submitting well written article on Linux. If you have any query, please contact us by email tecmint.com [at] gmail [dot] com or use our contact form.

Install Wine 1.5.28 in RHEL, CentOS and Fedora

Wine is an open source and free application for Linux that enables users to run any windows based application on Unix/Linux like operating system. Wine team is keep releasing their versions in every two weeks. Last day the founder of Wine project Alexandre Julliard announced the release of version 1.5.27 with some additional improvements and bug fixes. To know more about new features and changes visit at http://www.winehq.org/announce/1.5.28

Read also : Install Wine 1.5.28 in Ubuntu and Linux Mint

Install Wine in Linux

Install Wine in Linux

In this article we will guide you a simplest way to install latest release of Wine 1.5.27 version in RHEL 6.4/6.3/6.2/6.1/6/5.9/5.8/5.6, CentOS 6.4/6.3/6.2/6.1/6/5.9/5.8/5.6 and Fedora 18,17,16,15,14,13,12 using source code.

Install Wine 1.5.28 in RHEL 6.4/6.3/6.2/6.1/6/5.9/5.8, CentOS 6.4/6.3/6.2/6.1/6/5.9/5.8 and Fedora 18,17,16,15,14,13,12

Installing Wine 1.5.28 in RHEL, CentOS and Fedora

Step 1: Installing Dependency Packages

We need to install ‘Development Tools‘ with some core development tools such gcc, flex, bison, debuggers etc. these software’s are must required to compile and build new packages, install them using YUM command.

# yum -y groupinstall 'Development Tools'
# yum -y install libX11-devel freetype-devel

Step 2: Downloading Wine 1.5.28

Download the source file using Wget command under /tmp directory as a normal User.

$ cd /tmp
$ wget http://garr.dl.sourceforge.net/project/wine/Source/wine-1.5.28.tar.bz2

Step 3: Extracting Wine 1.5.28

Once the file is downloaded under /tmp directory, use the below commands to extract it.

$ tar -xvf wine-1.5.28.tar.bz2 -C /tmp/

Step 4: Installing Wine 1.5.28

It is recommended to compile and build Wine installer as a normal User. Run the following commands as normal user. (Note : The installer might take up-to 20-30 minutes and in the middle it will ask you to enter root password).

$ cd wine-1.5.28/
$ ./tools/wineinstall

Once the installation completes run the “winecfg” configuration tool from KDE or GNOME desktop to see the supported configuration. If you don’t have any of the desktop, you can install it by using the below command as root user.

# yum groupinstall "X Window System" "GNOME Desktop Environment"
OR
# yum groupinstall "X Window System" "KDE (K Desktop Environment)"

Once the X Window System installed, run the command as normal user to see wine configuration.

$ winecfg
Winecfg Screen

Winecfg Screen

Step 5: Running Wine 1.5.28

To run the Wine, you must specify the full path to the executable program. For example shown below.

$ wine notepad
$ wine notepad.exe 
$ wine c:\\windows\\notepad.exe
Running Wine in KDE

Running Wine in KDE

Wine is not perfect, because while using wine we see so many programs crashes. I think wine team will soon fix all bugs in their upcoming version and meanwhile do share your comments using our below form.


69 Responses

  1. Great article well presented. I have successfully installed on my Fedora 17 Linux.

    Thanks..

  2. chandan chauhan says:

    configure: error: no suitable flex found. Please install the ‘flex’ package.

    Configure failed, aborting install.

  3. chandan chauhan says:

    in redhat linux 6.0

  4. KP says:

    trouble with wine startup

    i have installed wine through the yum utility in fedora 17 and now have upgraded the package.

    the wine installer or any other application except the wine configuration they don’t even startup i had removed my ~/.wine configuration and after that when i try to install *.exe program again, it appears saying “updating the wine configuration” then that dialog disappears and nothing happens after that.
    really stuck help me …

    (the wine was not working before upgrading not even after update)

    thanks in advance

  5. Ariel Chiong says:

    Hi,

    Im having this problem when I run

    ./tools/wineinstall and also ./configure

    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.

    please help

    thanks

    • Ravi Saive says:

      @Ariel Chiong,
      You need to install X11 and freetype development files with flex and bison packages. install them using YUM command.

      yum -y install libX11-devel freetype-devel flex bison
      
      • Ariel Chiong says:

        it works sir! very much thank you and A merry Christmas to you,
        I can see now its installing, I give you an update once done. again Thank you

        • Ravi Saive says:

          @Ariel Chiong,
          Marry Christmas you too. Thanks.. its worked.

          • Ariel Chiong says:

            Hi SIr, just a question, do you know an article or an tutorial regarding in LDAP in RedHat? server and client tutorial. I cant seem to find any here on this website. thanks in advanced.

          • Ravi Saive says:

            @Ariel Chinong,
            We are working on LDAP and Client setup on one of our Linux Box. We will soon made this available for you..

      • Md Kamaruzzaman says:

        I came across the same problem but even after installing libX11-devel, freetype-devel, flex and bison could not solve the problem. Then I found that as my machine is 64 bit CentOS-6.2, I need to install the 32 bit version of the mentioned programs. Here is the command for 64 bit centos/fedora/red-hat:

        yum -y install libX11-devel.i686 freetype-devel.i686 flex bison

  6. XeroHunter says:

    When i get to this step:

    $ ./tools/wineinstall

    The result came to this..

    We need to install Wine as the root user. Do you want us to build Wine,
    ‘su root’ and install Wine? Enter ‘no’ to build Wine without installing:
    (yes/no) yes
    Running configure…

    checking build system type… i686-pc-linux-gnu
    checking host system type… i686-pc-linux-gnu
    checking whether make sets $(MAKE)… yes
    checking for gcc… no
    checking for cc… no
    checking for cl.exe… no
    configure: error: in `/tmp/wine-1.5.21′:
    configure: error: no acceptable C compiler found in $PATH
    See `config.log’ for more details

    Configure failed, aborting install.

    Though I have followed your guide as it says.
    This is running on my CentOS 5.8 VPS. Help?

    • Ravi Saive says:

      You don’t have C compiler and build tools, first install them like.

      # yum groupinstall "Development Tools"
      

      Then compile and build Wine as normal user.

      • Mare says:

        Not working with # yum groupinstall “Development Tools”

      • chandan says:

        $ ./tools/wineinstall

        The result came to this..

        We need to install Wine as the root user. Do you want us to build Wine,
        ‘su root’ and install Wine? Enter ‘no’ to build Wine without installing:
        (yes/no) yes
        Running configure…

        checking build system type… i686-pc-linux-gnu
        checking host system type… i686-pc-linux-gnu
        checking whether make sets $(MAKE)… yes
        checking for gcc… no
        checking for cc… no
        checking for cl.exe… no
        configure: error: in `/tmp/wine-1.5.21′:
        configure: error: no acceptable C compiler found in $PATH
        See `config.log’ for more details

        Configure failed, aborting install.

        Though I have followed your guide as it says.

        # yum groupinstall “Development Tools”

        how to install Development Tools CentOS DVD no have please help me

  7. Josh says:

    Hey
    just tried to install wine, but got these errors
    -bash: cd: wine-1.5.5/: No such file or directory
    -bash: ./tools/wineinstall: No such file or directory
    Can you help me please?

    • Ravi Saive says:

      Sorry, there was typo error in the article, due to this you may get the above error. now its corrected, can you try again those commands and update me.

      • Josh says:

        Hmm… doesn’t work for me. I still get the same error. Maybe I’m mistaken about the way to enter these commands, I’m a newbie. I entered them the following way:
        cd wine-1.5.5/
        ./tools/wineinstall

        I don’t need to set the $ in front of the command, do I? Can it be that the version 1.5.5 doesn’t work at all? Instead should I use your version (1.5.23)?
        Greetings

  8. Jaywant says:

    Hello Ravi,

    Wine build is completed after Step 4. But can’t move further with winecfg. It gives command not found I have tried to run with root also but not succeded. Need help for further configuration. I got Cent OS 6.3 64bit.
    Earlier I faced 32 bit freetype error msg, for which I installed freetype i686 and completed the build process successfully. Now need directions for further config.

    Thanks in advance.

  9. Jaywant says:

    Hi Ravi,

    FYI. Though I got KDE desktop cmd # yum groupinstall “X Window System” “KDE (K Desktop Environment)” given shows all files with latest version and
    Warning: Group x11 does not have any packages.
    Warning: Group KDE (K Desktop Environment) does not exist.

    Am I missing something…?

    • Ravi Saive says:

      First search for KDE in group-list.

      # yum grouplist | grep KDE
      

      if it’s available try to install it using.

      # yum groupinstall "KDE Desktop"
      
  10. Jaywant says:

    Hi Ravi,

    I did that already. here is the o/p

    [Jay@Jay-PC ~]$ yum grouplist | grep KDE
    KDE Desktop

    [Jay@Jay-PC ~]$ sudo yum groupinstall “KDE Desktop”
    Loaded plugins: aliases, changelog, downloadonly, fastestmirror, kabi, presto, refresh-packagekit, security, tmprepo, verify, versionlock
    Loading support for CentOS kernel ABI
    Loading mirror speeds from cached hostfile
    * base: mirrors.ispros.com.bd
    * extras: mirrors.ispros.com.bd
    * rpmforge: http://ftp.riken.jp
    * updates: mirrors.ispros.com.bd
    Setting up Group Process
    Checking for new repos for mirrors
    Package 6:kdebase-4.3.4-5.el6.x86_64 already installed and latest version
    Package 6:kdelibs-4.3.4-14.el6_3.2.x86_64 already installed and latest version
    Package xsettings-kde-0.11-1.el6.x86_64 already installed and latest version
    Package 1:kdeaccessibility-4.3.4-5.el6.x86_64 already installed and latest version
    Package alsa-plugins-pulseaudio-1.0.21-3.el6.x86_64 already installed and latest version
    Package kdebase-workspace-4.3.4-23.el6.x86_64 already installed and latest version
    Package kdeartwork-screensavers-4.3.4-7.el6.x86_64 already installed and latest version
    Package kde-settings-pulseaudio-4.3.1-1.el6.centos.noarch already installed and latest version
    Package kdeplasma-addons-4.3.4-5.el6.x86_64 already installed and latest version
    Package kdm-4.3.4-23.el6.x86_64 already installed and latest version
    Package 6:kdepim-4.3.4-5.el6.x86_64 already installed and latest version
    Package kiconedit-4.3.3-1.el6.x86_64 already installed and latest version
    Package pinentry-qt-0.7.6-6.el6.x86_64 already installed and latest version
    Package kdepim-runtime-4.3.4-5.el6.x86_64 already installed and latest version
    Package kcoloredit-4.3.3-2.el6.x86_64 already installed and latest version
    Package 1:k3b-1.0.5-13.el6.x86_64 already installed and latest version
    Package kmid-2.0-0.14.20080213svn.el6.x86_64 already installed and latest version
    Package ksshaskpass-0.5.1-4.1.el6.x86_64 already installed and latest version
    Package 6:kdemultimedia-4.3.4-3.el6.x86_64 already installed and latest version
    Package 6:kdegames-4.3.4-5.el6.x86_64 already installed and latest version
    Package 6:kdeutils-4.3.4-7.el6.x86_64 already installed and latest version
    Package 7:kdegraphics-4.3.4-6.el6.x86_64 already installed and latest version
    Package ksig-1.1-0.10.20080213.el6.x86_64 already installed and latest version
    Package konq-plugins-4.3.3-5.el6.x86_64 already installed and latest version
    Package 7:kdeadmin-4.3.4-5.el6.x86_64 already installed and latest version
    Package 1:NetworkManager-gnome-0.8.1-34.el6_3.x86_64 already installed and latest version
    Package kipi-plugins-0.8.0-5.el6.x86_64 already installed and latest version
    Package 7:kdenetwork-4.3.4-11.el6_0.1.x86_64 already installed and latest version
    Package ibus-qt-1.3.0-2.el6.x86_64 already installed and latest version
    Warning: Group kde-desktop does not have any packages.
    No packages in any requested group available to install or update

    :(

    • Ravi Saive says:

      I think kde desktop already installed, why not try “xstartup” command to check.

      • Jaywant says:

        Yes, KDE is installed and working fine. In fact I am using the full fledge GUI but after no error build I cant find winecfg utility. I can browse all folders of wine under my user dir but stuggeling to find way to configure further with wine. If I type win it doesn’t even show any cmd related to wine. I think I am missing something…

  11. Jaywant says:

    Hi Ravi,

    The only error I faced and mentioned earlier also is abt 32 bit freetype-devel as my Cent OS 6.3 is 64bit so I installed it with i686 and wine build was completed successfully with no more errors.

  12. Jaywant says:

    I got the way out of it. I read the README and following it. Only “./tools/wineinstall” will not do everything to complete the wine build. It has to be configured, make and make install further steps are,

    $ ./configure
    $ make
    $ sudo make install

    now I got full list of wine cmds along with winecfg. I hope I’ll be done now with wine.

    • Ravi Saive says:

      I am glad that it worked finally..

      • Jaywant says:

        Sorry, its not done yet.

        [Jay@Jay-PC wine-1.5.23]$ winecfg
        wine: created the configuration directory ‘/home/Jay/.wine’
        fixme:wininet:IsDomainLegalCookieDomainW (L”winehq.org”, L”source.winehq.org”) semi-stub
        fixme:urlmon:DownloadBSC_OnProgress Unsupported status 3
        fixme:wininet:init_openssl can’t use SSL, not compiled in.
        err:wininet:open_http_connection create_netconn failed: 12157
        fixme:urlmon:DownloadBSC_OnStopBinding No cache file
        err:appwizcpl:InstallCallback_OnStopBinding Binding failed 800c0008
        err:appwizcpl:download_proc URLDownloadToFile failed: 800c0008
        err:process:__wine_kernel_init boot event wait timed out
        ALSA lib dlmisc.c:236:(snd1_dlobj_cache_get) Cannot open shared library /usr/lib/alsa-lib/libasound_module_pcm_pulse.so
        ALSA lib dlmisc.c:236:(snd1_dlobj_cache_get) Cannot open shared library /usr/lib/alsa-lib/libasound_module_pcm_pulse.so
        err:winecfg:open_mountmgr failed to open mount manager err 2
        fixme:msg:pack_message msg 14 (WM_ERASEBKGND) not supported yet
        err:winecfg:open_mountmgr failed to open mount manager err 2
        err:winecfg:open_mountmgr failed to open mount manager err 2

        Wine Mono Installer is still downloading something… and wine configuration is being updated still… since my last update.
        Any suggestions…

      • Jaywant says:

        Hi Ravi,

        I was just expecting help from you… any ways thanks for THE reply. You may delete this post also. I will let you know if i get success with wine. Thanks bro :)

  13. Shyam says:

    Hi Sir,
    I am trying to install wine, that time i get error for some library file. I am Using Centos 6.2 64Bit. How can I install this package and solve.

    [test@host wine-1.5.23]$ ./tools/wineinstall
    Wine Installer v1.0

    We need to install Wine as the root user. Do you want us to build Wine,
    ‘su root’ and install Wine? Enter ‘no’ to build Wine without installing:
    (yes/no) yes
    Running configure…

    checking build system type… x86_64-unknown-linux-gnu
    checking host system type… x86_64-unknown-linux-gnu
    checking whether make sets $(MAKE)… yes
    checking for gcc… gcc
    checking whether the C compiler works… yes
    checking for C compiler default output file name… a.out
    checking for suffix of executables…
    checking whether we are cross compiling… no
    checking for suffix of object files… o
    checking whether we are using the GNU C compiler… yes
    checking whether gcc accepts -g… yes
    checking for gcc option to accept ISO C89… none needed
    checking for g++… g++
    checking whether we are using the GNU C++ compiler… yes
    checking whether g++ accepts -g… yes
    checking for cpp… cpp
    checking whether gcc -m32 works… no
    configure: error: Cannot build a 32-bit program, you need to install 32-bit development libraries.

    pls give a solution.

    • Ravi Saive says:

      It seems that you using Centos 6.2 64Bit, and you building wine-x64 version on 32bit system. So, better use as.

      ./configure --enable-win64
      
      • Shyam says:

        Thanks for helping..
        This option is working… after that I get the another error. the error is
        /usr/local/bin/winecfg: line 52: exec: wine: not found

        I use this command : which wine
        [root@host ~]# which wine
        /usr/bin/which: no wine in (/usr/lib64/qt-3.3/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin)

        • Ravi Saive says:

          May be some bug with latest wine version, its better to go with epel repository to install wine.

          • Shyam says:

            Sir,
            I install wine package through EPEL Repo, that instaltion is completed. after installation I try Notpad.exe its working. But I trying to install gtalk, windows media player not support some error coming.

      • fedorauser says:

        Will you FINALLY update the article with this edit for X64 users!!!???

  14. jowan says:

    hello sir
    i m getting error

    /usr/local/bin/winecfg: line 52: exec: wine: not found

    plz help me to resolve

    • Ravi Saive says:

      Please post the output of the following command. The below command will show the where wine actually installed.

      # which wine
      
  15. Jay says:

    Hello sir,

    I’m a very novice user of Linux.

    At the 3rd Step, I get this:
    tar: wine-1.5.23/tools/wrc: Cannot utime: Operation not permitted
    tar: wine-1.5.23/tools: Cannot utime: Operation not permitted
    tar: wine-1.5.23: Cannot utime: Operation not permitted
    tar: Exiting with failure status due to previous errors

    If I try to do the 4th step, I get this error:
    Wine Installer v1.0

    The source directory is not writable. You probably extracted the sources as root.
    You should remove the source tree and extract it again as a normal user.

    How do I remove the source tree?

    Thanks in advance!

    • Ravi Saive says:

      just remove the extracted directory.

      • Jay says:

        Where should I look for the extracted directory?
        I cannot find it from the file searcher.
        I looked for all files with “wine”
        I deleted all the files that I could delete, but there were some files I could not delete.
        The exe files I find are not deletable, either.

      • Jay says:

        How do I remove it?
        I could not find it under “wine” in all my files, and it does not give me permission to delete the exec_wine.png’s

  16. Eduardo Jorge says:

    Somebody know about how to get Winetricks for Fedora 18?

  17. jeff says:

    I configured with 64 bit
    then
    $make
    $sudo make install

    went well

    then

    [root@PlcmSplp jeff-405]# which wine
    /usr/bin/which: no wine in (/usr/lib64/qt-3.3/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/jeff-405/bin)
    [root@PlcmSplp jeff-405]# winecfg
    /usr/local/bin/winecfg: line 52: exec: wine: not found
    [root@PlcmSplp jeff-405]#

  18. Manoj says:

    Hi Ravi

    $ ./configure –enable-win64

    is ok

    $ make

    and

    $make install

    Both give errors for not having permissions to create directories at various places. Is there something in configure that can be changed for this?

  19. Manoj says:

    Somehow installed by changing permissions, but having same problem as Jeff

    which wine gives wine not found

  20. Jesse says:

    I’m at step 4: installing wine 1.5.26
    It says:

    Step 4: Installing Wine 1.5.26
    It is recommended to compile and build Wine installer as a normal User. Run the following commands as normal user. (Note : The installer might take up-to 20-30 minutes and in the middle it will ask you to enter root password).
    $ cd wine-1.5.26/
    $ ./tools/wineinstall

    I extracted (step 3) wine with a normal user account, otherwise it says you need to install wine from a normal account. And if I do that, i have to re-extract wine from the normal user account. But when I try again ./tools/wineinstall, the server says:

    We need to install Wine as the root user. Do you want us to build Wine,
    ‘su root’ and install Wine? Enter ‘no’ to build Wine without installing:

    By both yes or no, it doesn’t do anything.

    • Ravi Saive says:

      When it ask to build Wine as root user, simply Type “Yes”. In the middle of build process it will ask you to provide root password.

      Can you post the output of the command?

      • Jesse says:

        jesse is my user account:

        [jesse@node13-vps wine-1.5.26]$ ./tools/wineinstall
        Wine Installer v1.0

        We need to install Wine as the root user. Do you want us to build Wine,
        ‘su root’ and install Wine? Enter ‘no’ to build Wine without installing:
        (yes/no) yes
        Running configure…

        checking build system type… x86_64-unknown-linux-gnu
        checking host system type… x86_64-unknown-linux-gnu
        checking whether make sets $(MAKE)… yes
        checking for gcc… no
        checking for cc… no
        checking for cl.exe… no
        configure: error: in `/tmp/wine-1.5.26′:
        configure: error: no acceptable C compiler found in $PATH
        See `config.log’ for more details

        Configure failed, aborting install.

        • Ravi Saive says:

          You don’t have development tools installed on your system. I have updated the article, you can install them using following command and run the build process again.

          # yum groupinstall 'Development Tools'
          
          • Jesse says:

            Still not working :(

            Wine Installer v1.0

            We need to install Wine as the root user. Do you want us to build Wine,
            ‘su root’ and install Wine? Enter ‘no’ to build Wine without installing:
            (yes/no) yes
            Running configure…

            checking build system type… x86_64-unknown-linux-gnu
            checking host system type… x86_64-unknown-linux-gnu
            checking whether make sets $(MAKE)… yes
            checking for gcc… gcc
            checking whether the C compiler works… yes
            checking for C compiler default output file name… a.out
            checking for suffix of executables…
            checking whether we are cross compiling… no
            checking for suffix of object files… o
            checking whether we are using the GNU C compiler… yes
            checking whether gcc accepts -g… yes
            checking for gcc option to accept ISO C89… none needed
            checking for g++… g++
            checking whether we are using the GNU C++ compiler… yes
            checking whether g++ accepts -g… yes
            checking for cpp… cpp
            checking whether gcc -m32 works… no
            configure: error: Cannot build a 32-bit program, you need to install 32-bit development libraries.

          • Ravi Saive says:

            I think you using 64-bit system and building 32-bit Wine on 64 seems buggy now. So, you need to compile and build the Wine, simple run the following commands to compile it.

            ./configure --enable-win64
            make
            make install
            
          • Jesse says:

            It doesn’t work?
            >
            >
            [root@node13-vps ~]# ./configure –enable-win64
            -bash: ./configure: No such file or directory
            >
            >
            Maybe I need to run this while I’m in another folder?

          • Ravi Saive says:

            Of course man, you should be in wineinstall directory to compile it.

          • Jesse says:

            Oke, that’s succeeded.
            >
            Now I have the following problem:
            I’m at step 4 and need to run “winecfg” in desktop mode.
            I use UltraVNC. ‘
            >
            [jesse@node13-vps wine-1.5.26]$ winecfg
            /usr/local/bin/winecfg: line 52: exec: wine: not found
            [jesse@node13-vps wine-1.5.26]$ su root
            Password:
            [root@node13-vps wine-1.5.26]# winecfg
            /usr/local/bin/winecfg: line 52: exec: wine: not found
            [root@node13-vps wine-1.5.26]#

  21. Chege says:

    Hi Ravi

    I have followed the instructions as advised but on make install i get the following error:

    make[1]: Entering directory `/tmp/wine-1.5.26/dlls/ntdll’
    ../../tools/winegcc/winegcc -m32 -B../../tools/winebuild –sysroot=../.. -fasynchronous-unwind-tables -shared ./ntdll.spec actctx.o atom.o cdrom.o critsection.o debugbuffer.o debugtools.o directory.o env.o error.o exception.o file.o handletable.o heap.o large_int.o loader.o loadorder.o misc.o nt.o om.o path.o printf.o process.o reg.o relay.o resource.o rtl.o rtlbitmap.o rtlstr.o sec.o serial.o server.o signal_arm.o signal_arm64.o signal_i386.o signal_powerpc.o signal_x86_64.o string.o sync.o tape.o thread.o threadpool.o time.o version.o virtual.o wcstring.o version.res -nodefaultlibs -Wl,–image-base,0x7bc00000 -o ntdll.dll.so -lwinecrt0 ../../libs/port/libwine_port.a -lrt -lpthread
    ccache: failed to create /root/.ccache (No such file or directory)
    winegcc: gcc failed
    make[1]: *** [ntdll.dll.so] Error 2
    make[1]: Leaving directory `/tmp/wine-1.5.26/dlls/ntdll’
    make: *** [dlls/ntdll] Error 2

    Any suggestions?

    chege

  22. Baskaran says:

    how to install mssql in wine.

  23. jeff says:

    Ravi
    i need your help please.

    [root@PlcmSplp wine-1.5.25]# which wine64
    /usr/local/bin/wine64

    [jeff-405@PlcmSplp ~]$ cd /home/jeff-405/Downloads/wine-1.5.25/[jeff-405@PlcmSplp wine-1.5.25]$ ./configure –enable-wine64
    configure: WARNING: unrecognized options: –enable-wine64
    checking build system type… x86_64-unknown-linux-gnu
    checking host system type… x86_64-unknown-linux-gnu
    checking whether make sets $(MAKE)… yes
    checking for gcc… gcc
    checking whether the C compiler works… yes
    checking for C compiler default output file name… a.out
    checking for suffix of executables…
    checking whether we are cross compiling… no
    checking for suffix of object files… o
    checking whether we are using the GNU C compiler… yes
    checking whether gcc accepts -g… yes
    checking for gcc option to accept ISO C89… none needed
    checking for g++… g++
    checking whether we are using the GNU C++ compiler… yes
    checking whether g++ accepts -g… yes
    checking for cpp… cpp
    checking whether gcc -m32 works… no
    configure: error: Cannot build a 32-bit program, you need to install 32-bit development libraries.

    [root@PlcmSplp jeff-405]# yum -y install libXll-devel.i686 freetype-devel.i686 flex bison
    Loaded plugins: fastestmirror, kmod, refresh-packagekit
    Loading mirror speeds from cached hostfile
    * rpmforge: mirror.hmc.edu
    Setting up Install Process
    No package libXll-devel.i686 available.
    Package freetype-devel-2.3.11-6.el6_2.9.i686 already installed and latest version
    Package flex-2.5.35-8.el6.x86_64 already installed and latest version
    Package bison-2.4.1-5.el6.x86_64 already installed and latest version
    Nothing to do

    [root@PlcmSplp jeff-405]# yum -y install libXll-devel freetype-devel flex bisonLoaded plugins: fastestmirror, kmod, refresh-packagekit
    Loading mirror speeds from cached hostfile
    * rpmforge: mirror.hmc.edu
    Setting up Install Process
    No package libXll-devel available.
    Package freetype-devel-2.3.11-6.el6_2.9.x86_64 already installed and latest version
    Package flex-2.5.35-8.el6.x86_64 already installed and latest version
    Package bison-2.4.1-5.el6.x86_64 already installed and latest version
    Nothing to do

    what do i do?, It looks like 32 and 64 bit development tools are installed?

  24. jeff says:

    thats what i did

    ./configure –enable-win64 error”requires 32 bit lib”
    make build complete
    make install install complete

  25. Milan says:

    actually, this is not good idea. First, one should upgrade these old packages in RHEL 6… For example libxml2 development file needed for Google Earth.. Try this – it is not possible without messing with the whole system.

Leave a Reply

Proudly designed by Tecmint.com.