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 acer asus batch bios bsod computer crash driver drivers error ethernet excel freeze gaming google gpu hard drive hardware hdmi internet java laptop malware memory missing monitor motherboard mouse network printer problem ram registry router slow software sound trojan usb video virus vista wifi windows windows 7 windows 7 32 bit windows 7 64 bit windows xp wireless
Search
Search for:
Tech Support Guy Forums > Operating Systems > Linux and Unix >
Solved: CoD4 Wine?

Reply  
Thread Tools
cancon's Avatar
Computer Specs
Senior Member with 1,164 posts.
 
Join Date: Jul 2005
Location: Lebanon
Experience: Intermediate
24-Jun-2008, 06: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...
__________________
тђзмαğιςмαпƒґőмтґзπŧ "Only the dead have seen the end of war" - Plato
entropy_'s Avatar
Junior Member with 2 posts.
 
Join Date: Jun 2008
26-Jun-2008, 10: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 at 10:48 PM..
cancon's Avatar
Computer Specs
Senior Member with 1,164 posts.
 
Join Date: Jul 2005
Location: Lebanon
Experience: Intermediate
02-Jul-2008, 07:54 PM #3
Thanks a lot - I solved the problem!
Reply

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.

Search Tech Support Guy

Find the solution to your
computer problem!




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



Facebook Facebook Twitter Twitter TechGuy.tv TechGuy.tv Mobile TSG Mobile
You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 03:36 AM.
Copyright © 1996 - 2011 TechGuy, Inc. All rights reserved.

Powered by Cermak Technologies, Inc.