Mourning the loss of our friend, WhitPhil.
There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
Search
 
Linux and Unix
Tag Cloud
access audio black screen blue screen boot bsod connection crash dell desktop drivers dvd email error excel firefox hard drive hardware hijackthis internet keyboard laptop malware monitor motherboard network networking outlook problem processor recovery registry cleaner router screen slow sound spyware tdlwsp.dll trojan upgrade vba video virus vista vundo windows windows 7 windows vista windows xp wireless
Search
Search for:
Tech Support Guy Forums > Operating Systems > Linux and Unix >
Solved: CoD4 Wine?

Tip: Click here to scan for System Errors and Optimize PC performance
[ Sponsored Link ]

Closed Thread
 
Thread Tools
cancon's Avatar
Computer Specs
Senior Member with 1,151 posts.
 
Join Date: Jul 2005
Location: Lebanon
Experience: Intermediate
24-Jun-2008, 05:47 PM #1
Solved: CoD4 Wine?
I want to install Call of Duty 4 on my linux installation, and I read the article here.

Everything worked fine until this part:

Code:
./configure –prefix=/usr –sysconfdir=/etc –enable-opengl –with-x
Where I got the following:

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 for C compiler default output file name… a.out
checking whether the C compiler works… yes
checking whether we are cross compiling… no
checking for suffix of executables…
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 how to run the C preprocessor… gcc -E
checking for X… no
checking for flex… no
configure: error: no suitable flex found. Please install the ‘flex’ package.

Then all the following commands given in the article didn't work. Any Ideas?

I also don't get what he made me download. The source files. But that doesn't mean I have wine, the program, only wine the source files, right?

I am new to linux and really confused...
__________________
Danny Abukalam
тђзмαğιςмαпƒґőмтґзπŧ


"Only the dead have seen the end of war" - Plato

82,268
entropy_'s Avatar
Junior Member with 2 posts.
 
Join Date: Jun 2008
26-Jun-2008, 09:36 PM #2
Hi cancon

You need to install flex. Try running (i'm assuming from your other threads that you use Ubuntu):

Code:
sudo apt-get install flex flex-dev
and then rerun ./configure–prefix=/usr –sysconfdir=/etc –enable-opengl –with-x.

What he made you download is the source code of wine. You turn the source code into the program wine by running ./configure (to prepare to compile the source code), make (to compile it into the program) and make install (to install the program)

Last edited by entropy_ : 26-Jun-2008 09:48 PM.
cancon's Avatar
Computer Specs
Senior Member with 1,151 posts.
 
Join Date: Jul 2005
Location: Lebanon
Experience: Intermediate
02-Jul-2008, 06:54 PM #3
Thanks a lot - I solved the problem!
Closed Thread Bookmark and Share

THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.

Smart Search

Find your solution!



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who want to help you solve your computer problems. See our Welcome Guide to get started.

Thread Tools


You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -5. The time now is 09:08 AM.
Copyright © 1996 - 2009 TechGuy, Inc. All rights reserved.
Powered by vBulletin, Copyright © 2000 - 2009, Jelsoft Enterprises Ltd.
Powered by Cermak Technologies, Inc.