LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-04-2008, 02:22 AM   #1
cricketlong
Member
 
Registered: Dec 2008
Posts: 52

Rep: Reputation: 15
error occured when installing wine-1.1.9


The following error occur when I used command "sudo ./configure" in Ubuntu:
checking build system type... i686-pc-linux-gnulibc1
checking host system type... i686-pc-linux-gnulibc1
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name...
configure: error: in `/home/cricket/myfiles/wine-1.1.9':
configure: error: C compiler cannot create executables
See `config.log' for more details.

******************************************
Then I view config.log for further info and found:
74 configure:2828: $? = 1
75 configure:2866: result:
76 configure: failed program was:
77 | /* confdefs.h. */
78 | #define PACKAGE_NAME "Wine"
79 | #define PACKAGE_TARNAME "wine"
80 | #define PACKAGE_VERSION "1.1.9"
81 | #define PACKAGE_STRING "Wine 1.1.9"
82 | #define PACKAGE_BUGREPORT "wine-devel@winehq.org"
83 | /* end confdefs.h. */
84 |
85 | int
86 | main ()
87 | {
88 |
89 | ;
90 | return 0;
91 | }
92 configure:2872: error: in `/home/cricket/myfiles/wine-1.1.9':
93 configure:2875: error: C compiler cannot create executables
94 See `config.log' for more details.

***************************************************
but I can not find the file named 'confdefs.h'
Had any one ever met this error?

Any help would be appreciated.
 
Old 12-04-2008, 02:40 AM   #2
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
You are probably missing some development packages. Go to Applications -> Accessories -> Terminal and enter
Code:
sudo apt-get install build-essential
 
Old 12-07-2008, 07:51 AM   #3
cricketlong
Member
 
Registered: Dec 2008
Posts: 52

Original Poster
Rep: Reputation: 15
enter:
sudo apt-get install build-essential
then:
The following packages have unmet dependencies:
build-essential: Depends: libc6-dev but it is not going to be installed or
libc-dev
Depends: g++ (>= 4:4.1.1) but it is not going to be installed
Depends: dpkg-dev (>= 1.13.5) but it is not going to be installed

if I enter "sudo apt-get install <one of the items above>", more Depends would be shown,and "*** is already the newest version."

being annoyed.
 
Old 12-07-2008, 11:51 AM   #4
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
Try
Code:
sudo apt-get update
sudo apt-get install build-essential
 
  


Reply


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
error occured while installing grub lord_cedrich SUSE / openSUSE 15 10-30-2006 04:44 AM
An Error Occured jjorloff1 Linux - Hardware 0 10-14-2005 09:59 AM
An error occured while installing xine kesara3k Fedora 1 08-01-2004 01:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:12 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration