make install not working
Brought to you by:
simonjwright
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.
Anonymous
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-*-stampwould 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
My mistake, I should wrote that I was using version from repository, not released. In the repo version,
make allworks without problems (on Linux, on Windows there are some problems), just don't generate this two files. At least not for GNAT 2019 Community.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
touchcomand 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)
Ok, I just downloaded snapshot for commit [65fce8]. Unzipped and then:
1.
make allworks as expected (some warnings about Ada 2005 pragma, but this is expected :) )2.
make installstill not working, because in src there no that file likelib-static-stamp3.
touchworks 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]
I'm not quite sure how I managed to do this, but the commited
src/makefilecontained a "working" revision that no longer created the-stampfiles. Try with commit [960dd4].Related
Commit: [960dd4]
This commit work as expected. Thank you very much for your work. For me, this bug is fixed.
Fixed in release 20191120.