[bug #58836] build.sh is not populated in objects directory when running configure

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[bug #58836] build.sh is not populated in objects directory when running configure

David Boyce-5
URL:
  <https://savannah.gnu.org/bugs/?58836>

                 Summary: build.sh is not populated in objects directory when
running configure
                 Project: make
            Submitted by: None
            Submitted on: Mon 27 Jul 2020 09:40:21 AM UTC
                Severity: 3 - Normal
              Item Group: Build/Install
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
       Component Version: 4.3
        Operating System: None
           Fixed Release: None
           Triage Status: None

    _______________________________________________________

Details:

Not sure if this is a known issue, but this seems to be a regression from
make-4.2

When attempting to configure and build from an empty objects directory,
build.sh script is not populated by the configure script, hence the following
command fails:

cd obj
../../src/make-4.3/configure --prefix=$PREFIX && ./build.sh && ./make install




    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?58836>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/


Reply | Threaded
Open this post in threaded view
|

[bug #58836] build.sh is not populated in objects directory when running configure

David Boyce-5
Follow-up Comment #1, bug #58836 (project make):

I can't remember how it used to work but the way it works now is that the
build.sh lives in the source directory.  configure generates a build control
file that is put into the build directory but the script is not changed.

Using this should work:


cd obj
../../src/make-4.3/configure --prefix=$PREFIX && ../../src/make-4.3/build.sh
&& ./make install


I'll leave this open as an enhancement, to copy the script into the build
directory for ease-of-use.

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?58836>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/