LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices

Reply
 
Search this Thread
Old 07-20-2010, 12:14 AM   #1
life008
LQ Newbie
 
Registered: Jul 2010
Location: Delhi
Posts: 16

Rep: Reputation: 0
Wink 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.
 
Old 07-20-2010, 12:26 AM   #2
John VV
Guru
 
Registered: Aug 2005
Posts: 12,603

Rep: Reputation: 1677Reputation: 1677Reputation: 1677Reputation: 1677Reputation: 1677Reputation: 1677Reputation: 1677Reputation: 1677Reputation: 1677Reputation: 1677Reputation: 1677
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 ???

Last edited by John VV; 07-20-2010 at 12:32 AM.
 
Old 07-20-2010, 01:34 AM   #3
life008
LQ Newbie
 
Registered: Jul 2010
Location: Delhi
Posts: 16

Original Poster
Rep: Reputation: 0
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]#
 
Old 07-20-2010, 02:37 AM   #4
life008
LQ Newbie
 
Registered: Jul 2010
Location: Delhi
Posts: 16

Original Poster
Rep: Reputation: 0
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.
 
Old 07-20-2010, 03:36 AM   #5
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Lubuntu
Posts: 19,174
Blog Entries: 4

Rep: Reputation: 428Reputation: 428Reputation: 428Reputation: 428Reputation: 428
@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.
 
Old 07-20-2010, 05:49 AM   #6
life008
LQ Newbie
 
Registered: Jul 2010
Location: Delhi
Posts: 16

Original Poster
Rep: Reputation: 0
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
 
Old 07-20-2010, 11:51 AM   #7
DrLove73
Senior Member
 
Registered: Sep 2009
Location: Srbobran, Serbia
Distribution: CentOS 5.5 i386 & x86_64
Posts: 1,118
Blog Entries: 1

Rep: Reputation: 129Reputation: 129
I prefer this metod:

Install Mike A. Harris repository:
Install newer wine from his repository:
Code:
yum install wine
 
Old 10-27-2012, 11:27 AM   #8
cse07ajay
LQ Newbie
 
Registered: Oct 2012
Posts: 1

Rep: Reputation: Disabled
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

Last edited by cse07ajay; 10-27-2012 at 11:29 AM.
 
Old 10-29-2012, 06:54 AM   #9
DrLove73
Senior Member
 
Registered: Sep 2009
Location: Srbobran, Serbia
Distribution: CentOS 5.5 i386 & x86_64
Posts: 1,118
Blog Entries: 1

Rep: Reputation: 129Reputation: 129
Quote:
Originally Posted by cse07ajay View Post
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.
 
  


Reply

Tags
wine


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
I am having problems installing WINE catojasco Linux - Newbie 24 12-15-2009 02:06 AM
Problems installing WINE on Fedora Core 6 using $yum install wine rubiks_nerd_90 Linux - Software 4 03-06-2008 08:36 AM
Problems installing under WINE dauphinfay Linux - Software 0 02-24-2006 06:20 PM
Problems installing wine GVG Linux - Software 5 08-04-2004 01:30 PM
problems installing wine second_exodous Linux - Software 1 05-14-2003 03:13 AM


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

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration