Error launching builder (make -k clean all) [message #93751] |
Tue, 10 February 2004 21:16  |
Eclipse User |
|
|
|
Originally posted by: juan_hernandez_gomez.hotmail.com
Hi,
I'm trying to rebuild a project with "Rebuild all" and it gives me the
error:
Error launching builder (make -k clean all)
(Exec error: Launching failed)
I have Eclipse 3.0M6 with CDT 2.0M6.
I've tried "make -k clean all" from the command line and it works.
I've traced with Filemon (from Sysinternals) to see where is Eclipse looking
for make.exe and it's only looking at paths:
C:\Java\Eclipse -
3.0M6\plugins\org.eclipse.cdt.core.win32_2.0.0\os\win32\x86\ make.exe
C:\Java\Eclipse - 3.0M6\workspace\HelloWorld\make.exe
C:\Windows\system32\make.exe
C:\Windows\system\make.exe
C:\Windows\make.exe
and not in my environment variable PATH where the Cygwin\bin path is
included.
I've also tried it at work and is working. The only difference is at work I
have Windows 2000 Professional and at home I have Windows 2003.
I've traced the Windows 2000 Professional machine with Filemon also and
Eclipse is looking for make.exe in all my environment variable PATH not only
the above directories.
Has anyone any idea what to try or look for?
Thanks very much, Juan.
|
|
|
|
|
|
Re: Error launching builder (make -k clean all) [message #94204 is a reply to message #94171] |
Sat, 14 February 2004 05:57  |
Eclipse User |
|
|
|
Juan Hernández Gómez wrote:
> I don't know yet why Eclipse is not using my PATH system variable but I can
> put the full path to the make.exe in the build command in the project
> properties and it works.
Well, I can't tell you about how Windows 2003 handles PATH settings, as
I only have Windows 2000. But from your filemon output I would read,
that your PATH does _not_ contain the cygwin\bin path. I remember that
in Win2000 I had once set PATH in the User Settings (top of the
environment variables dialog), not in the System-wide settings (bottom
of the environment variables dialog). When I added the PATH to the user
settings, the compiler paths were not added. But for Windows 2003, you
should check the docs if, maybe, there are certain things blocking a
user from changing the environment.
Btw.,usually, the problem is that users change the PATH settings, but
don't restart the filemanagers and shells. Then, they wonder that the
program depending on environment settings, never get the updated
environment variable that they just had changed.
>
> It would be nice to get more information from the console window when it
> fails calling an external process.
>
>
> "Juan Hernández Gómez" <juan_hernandez_gomez@hotmail.com> wrote in message
> news:c0ds0g$5o6$1@eclipse.org...
>
>>Yes the PATH is a system variable not a user variable.
>>I've restarted the computer also but doesn't work and the installation is
>>similar to the machine at work that is working.
>>
>>Is a X File .... ;)
>>
>>
>>"kesselhaus" <kesselhaus@gmx.net> wrote in message
>>news:c0d101$vnf$1@eclipse.org...
>>
>>>Juan Hernández Gómez wrote:
>>>
>>>>Hi,
>>>>
>>>> I'm trying to rebuild a project with "Rebuild all" and it gives me
>>
>>the
>>
>>>>error:
>>>>
>>>>Error launching builder (make -k clean all)
>>>>(Exec error: Launching failed)
>>>>
>>>>I have Eclipse 3.0M6 with CDT 2.0M6.
>>>>
>>>>I've tried "make -k clean all" from the command line and it works.
>>>>
>>>>I've traced with Filemon (from Sysinternals) to see where is Eclipse
>>
>>looking
>>
>>>>for make.exe and it's only looking at paths:
>>>>C:\Java\Eclipse -
>>>> 3.0M6\plugins\org.eclipse.cdt.core.win32_2.0.0\os\win32\x86\ make.exe
>>>>C:\Java\Eclipse - 3.0M6\workspace\HelloWorld\make.exe
>>>>C:\Windows\system32\make.exe
>>>>C:\Windows\system\make.exe
>>>>C:\Windows\make.exe
>>>>
>>>>and not in my environment variable PATH where the Cygwin\bin path is
>>>>included.
>>>>
>>>>I've also tried it at work and is working. The only difference is at
>>
>>work I
>>
>>>>have Windows 2000 Professional and at home I have Windows 2003.
>>>>I've traced the Windows 2000 Professional machine with Filemon also
>
> and
>
>>>>Eclipse is looking for make.exe in all my environment variable PATH
>
> not
>
>>only
>>
>>>>the above directories.
>>>>
>>>>Has anyone any idea what to try or look for?
>>>
>>>Do you have the PATH settings on a per user base or system wide? Is the
>>>path visible when typing 'set PATH' in a console?
>>>Do you have restarted Eclipse after PATH changes?
>>>Do you have restarted any program in between, like a filemanager, a
>>>console etc., where you started Eclipse from?
>>>
>>>.oO( Did you check Murphy's laws? ;) )
>>>
>>>
>>>>Thanks very much, Juan.
>>>>
>>>>
>>
>>
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.06527 seconds