<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: GNV make: error trying to re-execute in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/gnv-make-error-trying-to-re-execute/m-p/4464877#M42592</link>
    <description>Seems that the place to start is to have the newest GNV Version 2.1-2 installed on our system.</description>
    <pubDate>Wed, 22 Jul 2009 21:08:15 GMT</pubDate>
    <dc:creator>Maxy2</dc:creator>
    <dc:date>2009-07-22T21:08:15Z</dc:date>
    <item>
      <title>GNV make: error trying to re-execute</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/gnv-make-error-trying-to-re-execute/m-p/4464875#M42590</link>
      <description>&lt;!--!*#--&gt;I have a makefile (invoked from bash) that includes another file (a list of dependencies). The make process itself can update the dependencies file.&lt;BR /&gt;&lt;BR /&gt;When the dependencies file changes, make is supposed to detect this and re-execute itself including the updated dependencies.&lt;BR /&gt;&lt;BR /&gt;Instead, make attempts to re-execute, but does this instead:&lt;BR /&gt;make: execve(ec): make: no such file or directory&lt;BR /&gt;&lt;BR /&gt;Here is a simple test makefile that ought to re-execute:&lt;BR /&gt;&lt;BR /&gt;SHELL=/gnu/bin/bash&lt;BR /&gt;MAKE=/gnu/bin/make&lt;BR /&gt;.PHONY: dummy&lt;BR /&gt;makefile: dummy&lt;BR /&gt;        touch $@ &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Here's what I get (output with debug flag included too):&lt;BR /&gt;&lt;BR /&gt;bash$ make&lt;BR /&gt;touch Makefile &lt;BR /&gt;make: execve(ec): make: no such file or directory&lt;BR /&gt;&lt;BR /&gt;bash$ make -d&lt;BR /&gt;GNU Make version 3.78.1, by Richard Stallman and Roland McGrath.&lt;BR /&gt;Built for VMS&lt;BR /&gt;Copyright (C) 1988, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99&lt;BR /&gt;        Free Software Foundation, Inc.&lt;BR /&gt;This is free software; see the source for copying conditions.&lt;BR /&gt;There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A&lt;BR /&gt;PARTICULAR PURPOSE.&lt;BR /&gt;&lt;BR /&gt;Report bugs to &lt;BUG-MAKE&gt;.&lt;BR /&gt;&lt;BR /&gt;Reading makefiles...&lt;BR /&gt;Reading makefile `Makefile'...&lt;BR /&gt;Updating makefiles....&lt;BR /&gt; Considering target file `Makefile'.&lt;BR /&gt;   Considering target file `dummy'.&lt;BR /&gt;    File `dummy' does not exist.&lt;BR /&gt;    Finished prerequisites of target file `dummy'.&lt;BR /&gt;   Must remake target `dummy'.&lt;BR /&gt;   Successfully remade target file `dummy'.&lt;BR /&gt;  Finished prerequisites of target file `Makefile'.&lt;BR /&gt;  Prerequisite `dummy' does not exist.&lt;BR /&gt; Must remake target `Makefile'.&lt;BR /&gt;touch Makefile &lt;BR /&gt;Putting child 0x0012fc40 (Makefile) PID 55986 on the chain.&lt;BR /&gt;Live child 0x0012fc40 (Makefile) PID 55986 &lt;BR /&gt;Got a SIGCHLD; 1 unreaped children.&lt;BR /&gt;Reaping winning child 0x0012fc40 PID 55986 &lt;BR /&gt;Removing child 0x0012fc40 PID 55986  from chain.&lt;BR /&gt; Successfully remade target file `Makefile'.&lt;BR /&gt;Re-executing: make -d&lt;BR /&gt;make: execve(ec): make: no such file or directory&lt;BR /&gt;bash$ &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;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.&lt;/BUG-MAKE&gt;</description>
      <pubDate>Wed, 22 Jul 2009 15:18:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/gnv-make-error-trying-to-re-execute/m-p/4464875#M42590</guid>
      <dc:creator>Maxy2</dc:creator>
      <dc:date>2009-07-22T15:18:47Z</dc:date>
    </item>
    <item>
      <title>Re: GNV make: error trying to re-execute</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/gnv-make-error-trying-to-re-execute/m-p/4464876#M42591</link>
      <description>&lt;!--!*#--&gt;I know nothing, but if, as seems likely,&lt;BR /&gt;execve() expects a real path to "make", and&lt;BR /&gt;not just a name which lies somewhere on PATH,&lt;BR /&gt;then you might be able to work around the&lt;BR /&gt;problem by creating a link from "./make" to&lt;BR /&gt;the real thing.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; Either it can't start the shell, or it&lt;BR /&gt;&amp;gt; isn't finding /gnu/bin/make.&lt;BR /&gt;&lt;BR /&gt;I read that complaint as execve() being&lt;BR /&gt;unable to find "make".&lt;BR /&gt;&lt;BR /&gt;Knowing nothing, I'd guess that it's a bug in&lt;BR /&gt;some VMS-specific part of this "make" program.</description>
      <pubDate>Wed, 22 Jul 2009 16:48:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/gnv-make-error-trying-to-re-execute/m-p/4464876#M42591</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2009-07-22T16:48:34Z</dc:date>
    </item>
    <item>
      <title>Re: GNV make: error trying to re-execute</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/gnv-make-error-trying-to-re-execute/m-p/4464877#M42592</link>
      <description>Seems that the place to start is to have the newest GNV Version 2.1-2 installed on our system.</description>
      <pubDate>Wed, 22 Jul 2009 21:08:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/gnv-make-error-trying-to-re-execute/m-p/4464877#M42592</guid>
      <dc:creator>Maxy2</dc:creator>
      <dc:date>2009-07-22T21:08:15Z</dc:date>
    </item>
    <item>
      <title>Re: GNV make: error trying to re-execute</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/gnv-make-error-trying-to-re-execute/m-p/4464878#M42593</link>
      <description>Try /bin/make or /gnu/bin/make.or create an alias like&lt;BR /&gt;  alias make=/bin/make&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;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.</description>
      <pubDate>Thu, 23 Jul 2009 07:02:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/gnv-make-error-trying-to-re-execute/m-p/4464878#M42593</guid>
      <dc:creator>H.Becker</dc:creator>
      <dc:date>2009-07-23T07:02:43Z</dc:date>
    </item>
    <item>
      <title>Re: GNV make: error trying to re-execute</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/gnv-make-error-trying-to-re-execute/m-p/4464879#M42594</link>
      <description>Yes, an alias fixed that issue</description>
      <pubDate>Thu, 23 Jul 2009 12:44:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/gnv-make-error-trying-to-re-execute/m-p/4464879#M42594</guid>
      <dc:creator>Maxy2</dc:creator>
      <dc:date>2009-07-23T12:44:02Z</dc:date>
    </item>
  </channel>
</rss>

