LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Red Hat (https://www.linuxquestions.org/questions/red-hat-31/)
-   -   Problems Installing Wine (https://www.linuxquestions.org/questions/red-hat-31/problems-installing-wine-820931/)

life008 07-20-2010 12:14 AM

Problems Installing Wine
 
hi

plz help for installation wine in rhel5 actually i heared that through wine we can install microsoft product in linux .but i dont know whats the requirement for installing this .plz tell me where can i get wine for rhel 5 kernal=2.6.18-8.e15 and how to install wine and whats the preprocedure before installing this wine.

John VV 07-20-2010 12:26 AM

Code:

yum install wine
have you tried this?
or read the wine page?
http://www.winehq.org/
from the download page
http://fedoraproject.org/wiki/AndreasBierfert/Wine
and for rhel5
http://fedoraproject.org/wiki/EPEL
and have you called red hat support ? -- you ARE buying the security updates ? RIGHT ???

life008 07-20-2010 01:34 AM

i have downloaded wine package from this site http://ibiblio.org/pub/linux/system/...ne-1.2.tar.bz2
its showing error .i m very confusing which wine package should i download .


[root@localhost wine-1.2]# ./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... 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 for the directory containing the Wine tools... $(TOPOBJDIR)
checking for flex... no
configure: error: no suitable flex found. Please install the 'flex' package.
[root@localhost wine-1.2]# ./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... 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 for the directory containing the Wine tools... $(TOPOBJDIR)
checking for flex... no
configure: error: no suitable flex found. Please install the 'flex' package.
[root@localhost wine-1.2]#

life008 07-20-2010 02:37 AM

now facing this error when installing wine .
how to solve it
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.

XavierP 07-20-2010 03:36 AM

@life008 - I have moved your post into it's own thread. 2 more things: John VV made a very reasonable suggestion in post #2, please follow that and report back. Secondly, the ./configure & make steps should be run as the user account and not as root.

life008 07-20-2010 05:49 AM

yes got it ..................solved this issue
thanks to u all

below is process installation of wine and error which i faced


I m using rhel5 kernal 2.6.18-8.e15 with gnome x

firstly download wine package from (http://ibiblio.org/pub/linux/system/...ne-1.2.tar.bz2 this site)

then extract it and then go into the win directorey

cd /wine
./configure (when i run this command i faced three major issue one was x relate
d issue, second was flex related issue and third issue was bison rpm problem)

first issue ----solution --if error showing below like this then
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.

solution= means this x realated problem so solving this, run

=yum -y install xorg*
=yum -y install gnome* (if u have gnome x)
=yum -y install gdm*

Second issue—solution---if u install flex rpm from ur dvd or cd then it will show it old so download latest tar of flex
http://sourceforge.net/projects/flex...ar.gz/download

extract it
cd flex
./configure
Make
Make install

Third issue –solution—its simple
Yum install bison

Now go to the

Cd /wine
./configure
make depend
make (it will take approx half hour)
make install ( it will take approx 5 minute)
then u ready to install Microsoft product

then u ready to install Microsoft product

DrLove73 07-20-2010 11:51 AM

I prefer this metod:

Install Mike A. Harris repository:
Install newer wine from his repository:
Code:

yum install wine

cse07ajay 10-27-2012 11:27 AM

Hi,

I followed the same steps to install wine on RHEL5.
I am using x86_64 version of rhel5.
But not able to install, please help,
I got the following error,

32 bit X development package not found.

How to get these package?

--
Regards
Ajay Malik

DrLove73 10-29-2012 06:54 AM

Quote:

Originally Posted by cse07ajay (Post 4816256)
Hi,

I followed the same steps to install wine on RHEL5.
I am using x86_64 version of rhel5.
But not able to install, please help,
I got the following error,

32 bit X development package not found.

How to get these package?

--
Regards
Ajay Malik

Forget compiling wine by your self. Install from http://repoforge.org/use/ . They have 1.2.x version that should be enough for what you need.

If you really want to recompile, then Internet is full of howto's on installing X development packages (focus on "<packagename>.i686" or "<packagename>.i386" in yum commands), I do not have time to search for it instead of you.


All times are GMT -5. The time now is 08:33 AM.