LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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-15-2015, 03:55 PM   #1
gaidediz
LQ Newbie
 
Registered: Jun 2015
Posts: 2

Rep: Reputation: Disabled
compiling and installing software from source code


Hi guys
I download the JET soft binary file from ftp://space.mit.edu/pub/davis/jed/v0.99/ "jed-0.99-19.tar.bz2"
I extracted the file with tar and change location into the subdirectory and type "./configure" to confige the build for my enviroment

I have the error is as follow:
configure: error: C compiler cannot create executables

please help
 
Old 12-15-2015, 05:01 PM   #2
ButterflyMelissa
Senior Member
 
Registered: Nov 2007
Location: Somewhere on my hard drive...
Distribution: Manjaro
Posts: 2,766
Blog Entries: 23

Rep: Reputation: 411Reputation: 411Reputation: 411Reputation: 411Reputation: 411
hi,
Installed EVERYTHING? I had the almost same issue...
Read whet the software needs. Perhaps you need the development packages too...
So, what is the C compiler like? Is THAT complete?
Just...pointers...
Good luck...because, there is something gratifying in compiling software...
Melissa
 
Old 12-15-2015, 07:11 PM   #3
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
Quote:
Originally Posted by gaidediz View Post
Hi guys
I download the JET soft binary file from ftp://space.mit.edu/pub/davis/jed/v0.99/ "jed-0.99-19.tar.bz2"
I extracted the file with tar and change location into the subdirectory and type "./configure" to confige the build for my enviroment

I have the error is as follow:
configure: error: C compiler cannot create executables

please help
You should first do a web search for this error message. My search engine returns over 10000 results, I am sure some of them apply to you: https://www.bing.com/search?q=%22C+c...executables%22

My thinking is that your C compiler is simply not there, or not installed correctly. Just (re-)install it. How to do that depends on your distro.
 
Old 12-15-2015, 08:11 PM   #4
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
from the page you linked to the software is from 2009
you might have problems building 6 year old code

the current gcc5 will not likely work on old software
even the newer gcc4 versions might not build old code


did you read!!!! the README file???
for STARTERS!!!

the instructions tell you you ALSO need "slang"
Quote:
jedXXX.tar.gz:
Contains the complete source to the editor. It does not
contain the slang library source. The library is available
from ftp://space.mit.edu/pub/davis/slang.
did you build and install that FIRST ?

now mind you these are VERY OLD instructions and contain instructions for Win95 and win98 and IBM os/2

as per the instructions in the README read the UNIX instructions "INSTALL.unx"
 
Old 12-15-2015, 11:28 PM   #5
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
@gaidediz : Welcome to LQ.

Getting `jed' : $ sudo apt-get update && sudo apt-get install jed


Quote:
C compiler cannot create executables
Solution : $ sudo apt-get update && sudo apt-get install g++


-
 
Old 12-17-2015, 09:26 PM   #6
gaidediz
LQ Newbie
 
Registered: Jun 2015
Posts: 2

Original Poster
Rep: Reputation: Disabled
Hi guys
Thanks for you'r reply
I new with linux and I wanna to be good in linux world...
so I try to study it by reading the Linux Professional Institute Certification STUDY GUIDE
I try to solve the problem by your advice.. but I failed...
Now I tried to read from UBUNTU WEBSITE about "Compiling"..
I hope it will works for me
Cheers!
And BIG THANKS!!!:]
 
Old 12-18-2015, 07:59 AM   #7
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,882
Blog Entries: 13

Rep: Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930
If you're running Ubuntu, use the Ubuntu Software Center and install GCC. When you search for that package, their interface will show you what it finds and also indicate if that package is already installed.

And perhaps you ought to start with a more fundamental example to compile versus some code which is many years old and not something you're written or understand.

Try some of these tutorials from another LQ forum, Programming: C C++ Tutorials
 
Old 12-18-2015, 07:14 PM   #8
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
Quote:
Originally Posted by berndbausch View Post
You should first do a web search for this error message. My search engine returns over 10000 results, I am sure some of them apply to you: https://www.bing.com/search?q=22C+co...executables%22

My thinking is that your C compiler is simply not there, or not installed correctly. Just (re-)install it. How to do that depends on your distro.
which one are you using that too is a factor gcc or g++ I installed both for that Just in case senerio

dev packages for the dependices too after you get past your c++ problem

Last edited by BW-userx; 12-18-2015 at 07:16 PM.
 
Old 12-19-2015, 12:19 AM   #9
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Ubuntu : Just installing 'gcc' won't provide a usable gcc !

'apt-get install g++' takes care that also {libc6-dev, libc-dev-bin, linux-libc-dev} are installed.
 
Old 12-19-2015, 08:29 AM   #10
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,882
Blog Entries: 13

Rep: Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930
Regarding Ubuntu I thought of recommending build-essentials but did a search for that and didn't see it anymore as a package.

The other thing is I have a regular, not customized, install of Ubuntu and it already has gcc and g++.

Hard to say if that original error was "there's no C compiler" or something else. Almost seems like a cross-compiler complaint.
 
Old 12-19-2015, 08:48 AM   #11
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
coulld try install both Compliers if they are there then its a no big deal, then
Code:
 ./configure
again, then take a peek at it one more time to see whats really going on.
 
Old 12-19-2015, 09:43 AM   #12
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Quote:
Originally Posted by rtmistler View Post
Regarding Ubuntu I thought of recommending build-essentials but did a search for that and didn't see it anymore as a package.
I have this note:
Code:
sudo apt-get install build-essential
 
  


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
Explaine about compiling software from source code blackRonin Linux - Software 20 06-11-2014 12:10 AM
After compiling/installing software - what do you do with the d/l source? hamster Linux - General 3 11-12-2007 05:18 PM

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

All times are GMT -5. The time now is 11:34 AM.

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