Menu

#9 make install not working

None
closed
None
1
2019-11-20
2019-11-18
No

As in title, make install ends with:
make: *** No rule to make target 'src/lib-static-stamp', needed by 'install-static'. Stop.

In makefile, replacing
install-static: src/lib-static-stamp
with
install-static:
and
install-relocatable: src/lib-relocatable-stamp
with
install-relocatable:
will fix installing. Tested on Linux and Windows.

Discussion

  • Simon Wright

    Simon Wright - 2019-11-19

    I don't understand how you managed to install a library that wasn't properly built! (if it had been properly built, via make -C src, src/lib-*-stamp would exist).
    I do agree that the setup/make/install process is broken, though - it would help if there were some instructions.

     

    Last edit: Simon Wright 2019-11-19
    • Bartek Jasicki

      Bartek Jasicki - 2019-11-19

      My mistake, I should wrote that I was using version from repository, not released. In the repo version, make all works without problems (on Linux, on Windows there are some problems), just don't generate this two files. At least not for GNAT 2019 Community.

       
  • Simon Wright

    Simon Wright - 2019-11-19
    • assigned_to: Simon Wright
     
  • Simon Wright

    Simon Wright - 2019-11-19

    I've tried with CE 2019 on debian stretch and macOS Mojave - no problem. I couldn't try CE 2019 on Windows, because it's 64-bit only and I have a 32-bit Windows, but GPL-2017 worked fine.
    The only explanation I can see (I don't say it's a plausible explanation!) is that the touch comand isn't working on your machine?
    (I'm setting up for a new release, & have committed the corresponding changes: I don't see that they'll affect your problem, though)

     
    • Bartek Jasicki

      Bartek Jasicki - 2019-11-19

      Ok, I just downloaded snapshot for commit [65fce8]. Unzipped and then:
      1. make all works as expected (some warnings about Ada 2005 pragma, but this is expected :) )
      2. make install still not working, because in src there no that file like lib-static-stamp
      3. touch works as expected (I hope ;)) Fedora 31.
      4. find . -name "lib-*-stamp" in main directory returns zero results (no files with that name).
      5. grep -nre "-stamp" . in main directory returns only result from main makefile.
      6. When I manually create both files (with touch), everything works as expected.
      7. Gnu Make is in 4.2.1 version.
      Not sure if any other informations are needed too? If yes, just ask :)

       

      Related

      Commit: [65fce8]

  • Simon Wright

    Simon Wright - 2019-11-19

    I'm not quite sure how I managed to do this, but the commited src/makefile contained a "working" revision that no longer created the -stamp files. Try with commit [960dd4].

     

    Related

    Commit: [960dd4]

    • Bartek Jasicki

      Bartek Jasicki - 2019-11-19

      This commit work as expected. Thank you very much for your work. For me, this bug is fixed.

       
  • Simon Wright

    Simon Wright - 2019-11-19
    • status: open --> pending
     
  • Simon Wright

    Simon Wright - 2019-11-20
    • status: pending --> closed
     
  • Simon Wright

    Simon Wright - 2019-11-20

    Fixed in release 20191120.

     

Anonymous
Anonymous

Add attachments
Cancel