Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Unable to get $PATH.
icon13.gif  Unable to get $PATH. [message #870417] Tue, 08 May 2012 06:23 Go to next message
slajerek . is currently offline slajerek .Friend
Messages: 19
Registered: April 2010
Junior Member
I've just installed fresh Fedora 16-64bit, Gnome3, standard installation ISO from the webpage. I added via yum the gcc/g++/make etc.

Then I downloaded and tried to install newest Eclipse classic and then to install the CDT. Unfortunately I always received Out of memory error while installing CDT and Eclipse stopped install. Thus then I downloaded Eclipse-CDT alone. Now whenever I try to compile I have these errors:

Unable to get $PATH.
Unable to find full path for "g++"
Unable to get $PATH.
Unable to find full path for "gcc"
[mars@fedora]:~/eclipse> ^C
[mars@fedora]:~/eclipse> echo $PATH
/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/mars/.local/bin:/home/mars/bin:/home/mars
[08:22:34]:~/eclipse> g++
g++: fatal error: no input files


So, something is certainly wrong with Eclipse. Please fix this ASAP.

[Updated on: Tue, 08 May 2012 06:43]

Report message to a moderator

Re: Unable to get $PATH. [message #870425 is a reply to message #870417] Tue, 08 May 2012 06:47 Go to previous messageGo to next message
HagenFriend
Messages: 90
Registered: April 2010
Member
Eric Raymond has lots of useful tips how to research problems and get
maximum response for questions (if still necessary):
http://catb.org/~esr/faqs/smart-questions.html
Re: Unable to get $PATH. [message #870426 is a reply to message #870425] Tue, 08 May 2012 06:58 Go to previous messageGo to next message
slajerek . is currently offline slajerek .Friend
Messages: 19
Registered: April 2010
Junior Member
Thanks - these are obvious guidelines, but sorry I'm really busy and don't have time to check reviosions etc.

Everything is FRESH / CURRENT / STABLE from the Eclipse and Fedora website. Please check yourself.

My solution is I'll today in the evening just remove Eclipse newest from website, reinstall Fedora to Debian and use my old installation tar.gz, just wanted to let you know. Do whatever you want (even delete this post, I don't care). Sorry, busy world.

[Updated on: Tue, 08 May 2012 07:00]

Report message to a moderator

Re: Unable to get $PATH. [message #870517 is a reply to message #870417] Tue, 08 May 2012 13:53 Go to previous message
Andrea is currently offline AndreaFriend
Messages: 27
Registered: July 2009
Junior Member
On 05/08/2012 08:24 AM, Missing name Mising name wrote:
> I've just installed fresh Fedora 16, I added gcc/g++/make etc.
>
> Then yesterday I downloaded and tried to install newest Eclipse classic
> and then to install the CDT. Unfortunately I always received Out of
> memory error and Eclipse crashed. Thus then I downloaded Eclipse-CDT
> alone. Now whenever I try to compile I have these errors:
>
> Unable to get $PATH.
> Unable to find full path for "g++"
> Unable to get $PATH.
> Unable to find full path for "gcc"
> [mars@fedora]:~/eclipse> ^C
> [mars@fedora]:~/eclipse> echo $PATH
> /usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/mars/.local/bin:/home/mars/bin:/home/mars
>
> [08:22:34]:~/eclipse> g++
> g++: fatal error: no input files
>
> So, something is certainly wrong with Eclipse. Please fix this ASAP.
>
try again with the eclipse classic. Start with a clean installation, and
before you start eclipse change the value next to -Xmx to something big
like 1024m, and the value next to -Xms to something not too small like 256m.
I have Fedora 16 and eclipse can find my PATH without problems
Previous Topic:Launching one CDT project calls make file of all projects in workspace
Next Topic:How to change the default build configurations when create a new project?
Goto Forum:
  


Current Time: Wed Dec 17 21:38:18 GMT 2014

Powered by FUDForum. Page generated in 0.01567 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software