bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Incorrect path and shell script error


From: Loch Brandon
Subject: Re: Incorrect path and shell script error
Date: Thu, 7 May 2020 18:41:28 +0000

dirs:
@$(ECHO) ------------------------------------------------------------------------------
@$(ECHO) Verifying and building application directory structure...
@if not exist $(OUTPUTDIR) $(MKDIR) $(OUTPUTDIR)
@if not exist $(OUTPUTDIR)\$(notdir $(OBJDIR)) $(MKDIR) $(OUTPUTDIR)\$(notdir $(OBJDIR))
@if not exist $(OUTPUTDIR)\$(notdir $(DEPDIR)) $(MKDIR) $(OUTPUTDIR)\$(notdir $(DEPDIR))
@if not exist "$(CONTROL_PROGRAM)" $(ECHO) !!! Warning: Compiler not found, searching at (CONTROL_PROGRAM): $(CONTROL_PROGRAM) !!!
@if not exist "$(CONTROL_PROGRAM)" EXIT 1
@$(ECHO) ------------------------------------------------------------------------------


When running without the '@' this is the result:
echo Verifying and building application directory structure...
Verifying and building application directory structure...
if not exist output mkdir output

Then it hits the error.

Thanks,
Brandon


From: Paul Smith <address@hidden>
Sent: Wednesday, May 6, 2020 6:34 PM
To: Loch Brandon <address@hidden>; address@hidden <address@hidden>
Subject: Re: Incorrect path and shell script error
 
On Wed, 2020-05-06 at 21:06 +0000, Loch Brandon wrote:
> Hello,
> I am having the following issue while trying to run make.exe

Please cut and paste text into emails rather than insert screenshots...
we can't quote, search, etc. a screenshot.

> I am using version 3.78.1.

I don't know if you're aware but GNU make 3.78.1 was released over 20
years ago, in Sep 1999...

> It was working a few months ago until I created a new Windows
> profile. The path that is used in the error doesn't exist.

That error refers to a temporary file that make created to write the
recipe commands that it wanted to run, then it ran the temporary file
(which printed that error), then it deleted the temporary file.

The error is in that temporary file, which means that the error is in
the makefile recipe.

If you can find the recipe in your makefile for the "dirs" target,
which is the one that failed, and show that to us (again, please copy
and paste text, do not insert screenshots) we may be able to see the
problem.

Also, if you remove the "@" prefix characters from the recipe for the
"dirs" target then run make, make will print out what it's going to put
into that temporary file and probably you will be able to see that
something is wrong there.

> Could this be an issue with my PATH?
> Do you know of any fix or work around for this?

Without more info that's about all we can say.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]