LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 07-08-2006, 04:58 PM   #1
Cheechi
Member
 
Registered: Jun 2004
Distribution: SuSE since 7.0, Ubuntu since 04
Posts: 77

Rep: Reputation: 15
Compiler cannot create executables


I've tried compiling Engage as well as a few other programs, all give me the same error. I installed gcc and gawk from the synaptic package manager included in Ubuntu. Any help would be appreciated, I'm finding more and more that Ubuntu seems to work great until you try to do something not installed by default =(

Code:
cheechi@Ubuntu:~/programs/e16-0.16.8.1$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... gcc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.
From config.log:
Code:
| int
| main ()
| {
| 
|   ;
|   return 0;
| }
configure:2263: error: C compiler cannot create executables
See `config.log' for more details.
 
Old 07-08-2006, 05:01 PM   #2
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170

Rep: Reputation: 244Reputation: 244Reputation: 244
Do you have binutils installed or for that matter build-essential?
 
Old 07-08-2006, 05:56 PM   #3
Cheechi
Member
 
Registered: Jun 2004
Distribution: SuSE since 7.0, Ubuntu since 04
Posts: 77

Original Poster
Rep: Reputation: 15
build-essential was what did it, thanks. Now i'm missing a package imlib2 which isn't available in Synaptic or the default sources for apt-get.

The thing that bothers me about build-essential, though, is what linux system wouldn't have that installed? or even better, why not explicitly state what is necessary and not installed for compiling? I can't find this list on the ubuntu site, perhaps i've overlooked it.
 
Old 07-08-2006, 07:06 PM   #4
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170

Rep: Reputation: 244Reputation: 244Reputation: 244
Quote:
Originally Posted by Cheechi
build-essential was what did it, thanks. Now i'm missing a package imlib2 which isn't available in Synaptic or the default sources for apt-get.

The thing that bothers me about build-essential, though, is what linux system wouldn't have that installed? or even better, why not explicitly state what is necessary and not installed for compiling? I can't find this list on the ubuntu site, perhaps i've overlooked it.
You need libimlib2-dev now and I would install apt-file as well it works similar to apt-get in that you need to apt-file update as root then can apt-file search file/missing.? as normal user and get the package(s) that contains the file.

Code:
>$ apt-cache search imlib2
adesklets - interactive Imlib2 console for the X Window System
came - Rewrite of the xawtv webcam app using imlib2
feh - imlib2 based image viewer
giblib-dev - headers for giblib
giblib1 - wrapper library for imlib2, and other stuff
giblib1-dbg - debugging symbols for giblib1
libimage-imlib2-perl - perl interface to the imlib2 imaging library
libimlib2 - powerful image loading and rendering library
libimlib2-dev - Imlib2 development files
libimlib2-ruby - Ruby Extension for the Imlib2 C library
php-imlib - PHP Imlib2 Extension
scrot - command line screen capture utility
eterm - Enlightened Terminal Emulator
 
Old 07-09-2006, 12:33 AM   #5
Cheechi
Member
 
Registered: Jun 2004
Distribution: SuSE since 7.0, Ubuntu since 04
Posts: 77

Original Poster
Rep: Reputation: 15
well after trying to install Enlightenment for most of today I uncommented the universe sources to apt. the following packages won't install:

libemotion0
libewl0
examine (apparently depends on the above 2)
libxinelc2


Neither apt-get nor synaptic will install any of these. I've got apt-file installed now, seems to be no difference in my ability to install these packages. Is this a common problem with Enlightenment?
 
Old 07-09-2006, 12:42 AM   #6
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170

Rep: Reputation: 244Reputation: 244Reputation: 244
Quote:
Originally Posted by Cheechi
well after trying to install Enlightenment for most of today I uncommented the universe sources to apt. the following packages won't install:

libemotion0
libewl0
examine (apparently depends on the above 2)
libxinelc2


Neither apt-get nor synaptic will install any of these. I've got apt-file installed now, seems to be no difference in my ability to install these packages. Is this a common problem with Enlightenment?

apt-file is used when trying to find the package a file is in. Can you show us the output of the command apt-get -s install libemotion0 libewl0 examine libxinelc2?
 
Old 07-09-2006, 01:15 AM   #7
Cheechi
Member
 
Registered: Jun 2004
Distribution: SuSE since 7.0, Ubuntu since 04
Posts: 77

Original Poster
Rep: Reputation: 15
Code:
cheechi@Ubuntu:~$ sudo apt-get -s install libemotion0 libewl0 examine libxinelc2Reading package lists... Done
Building dependency tree... Done
Package libemotion0 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
  efl-all
E: Package libemotion0 has no installation candidate
cheechi@Ubuntu:~$ sudo apt-get install efl-all
Reading package lists... Done
Building dependency tree... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.

Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
  efl-all: Depends: libglu1-xorg but it is not installable
E: Broken packages
cheechi@Ubuntu:~$ sudo apt-get install libglul-xorg
Reading package lists... Done
Building dependency tree... Done
E: Couldn't find package libglul-xorg
It really feels like going around in circles. Synaptic searches on all 3 have similar results when trying to install. Also, added the following to sources.list
http://www.vobcopy.org/mirror/elive/ elive main efl elive
made no difference to the availability (or existence) of these packages.

Last edited by Cheechi; 07-09-2006 at 01:16 AM.
 
  


Reply



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
C++ compiler cannot create executables eomerek Linux - Newbie 28 12-13-2010 09:14 AM
Compiler cannot create executables? Oxyacetylene Linux - Software 4 11-25-2004 10:29 AM
C compiler cannot create executables shams Linux - Software 6 06-12-2004 01:55 PM
C compiler cannot create executables inanna Linux - Newbie 1 05-01-2004 01:42 AM
C compiler cannot create executables chrismiceli Linux - General 2 05-11-2003 03:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 09:58 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