- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- GNV make: error trying to re-execute
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-22-2009 08:18 AM
тАО07-22-2009 08:18 AM
When the dependencies file changes, make is supposed to detect this and re-execute itself including the updated dependencies.
Instead, make attempts to re-execute, but does this instead:
make: execve(ec): make: no such file or directory
Here is a simple test makefile that ought to re-execute:
SHELL=/gnu/bin/bash
MAKE=/gnu/bin/make
.PHONY: dummy
makefile: dummy
touch $@
Here's what I get (output with debug flag included too):
bash$ make
touch Makefile
make: execve(ec): make: no such file or directory
bash$ make -d
GNU Make version 3.78.1, by Richard Stallman and Roland McGrath.
Built for VMS
Copyright (C) 1988, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99
Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Report bugs to
Reading makefiles...
Reading makefile `Makefile'...
Updating makefiles....
Considering target file `Makefile'.
Considering target file `dummy'.
File `dummy' does not exist.
Finished prerequisites of target file `dummy'.
Must remake target `dummy'.
Successfully remade target file `dummy'.
Finished prerequisites of target file `Makefile'.
Prerequisite `dummy' does not exist.
Must remake target `Makefile'.
touch Makefile
Putting child 0x0012fc40 (Makefile) PID 55986 on the chain.
Live child 0x0012fc40 (Makefile) PID 55986
Got a SIGCHLD; 1 unreaped children.
Reaping winning child 0x0012fc40 PID 55986
Removing child 0x0012fc40 PID 55986 from chain.
Successfully remade target file `Makefile'.
Re-executing: make -d
make: execve(ec): make: no such file or directory
bash$
It looks like maybe make is having trouble invoking itself. Either it can't start the shell, or it isn't finding /gnu/bin/make.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-22-2009 09:48 AM
тАО07-22-2009 09:48 AM
Re: GNV make: error trying to re-execute
execve() expects a real path to "make", and
not just a name which lies somewhere on PATH,
then you might be able to work around the
problem by creating a link from "./make" to
the real thing.
> Either it can't start the shell, or it
> isn't finding /gnu/bin/make.
I read that complaint as execve() being
unable to find "make".
Knowing nothing, I'd guess that it's a bug in
some VMS-specific part of this "make" program.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-22-2009 02:08 PM
тАО07-22-2009 02:08 PM
Re: GNV make: error trying to re-execute
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-23-2009 12:02 AM
тАО07-23-2009 12:02 AM
Solutionalias make=/bin/make
If you just use make, it looks like make doesn't correctly set up the path to the found make utility and then execve fails.
Whethere this is a bug in the GNV version of make or the make beats me. At least 3.78.1 is old and I wouldn't try to ccontact RMS because of this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-23-2009 05:44 AM
тАО07-23-2009 05:44 AM