[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: make error in base on Solaris
From: |
Riccardo Mottola |
Subject: |
Re: make error in base on Solaris |
Date: |
Thu, 17 Oct 2019 22:05:25 +0200 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:52.0) Gecko/20100101 Firefox/52.0 SeaMonkey/2.49.5 |
Hi Stefan,
Stefan Bidigaray wrote:
The issue is with the test command, not necessarily sh. All borne
shells I've ever used provide a built-in for test, though.
I looked this command up... Both dash and Ash provide the -nt command
to compare the date of two files. Can you do a 'man sh' to double
check that the Solaris sh also have this command for the test built-in?
By the way, this would be a GNU autoconf bug.
Ok, first let's see, on Linux I have "man test":
FILE1 -nt FILE2
FILE1 is newer (modification date) than FILE2
So this is I suppose the test intended.
However I do not find this in "man test" in solaris... and inside "sh"
is there a specific section for it?
with --trace was able to see the culprit:
Makefile.postamble:105: update target 'base.make' due to: config.status
Version
if [ Version -nt base.make ]; then ./configure; else ./config.status
base.make; fi
so this code is actually in our Makefile.postamble, it is not a GNU
autoconf bug, but a check we add to rerun configure.
I wonder how it can be made more portable. Or, having bash, if I can run
Riccardo
- make error in base on Solaris, Riccardo Mottola, 2019/10/17
- Re: make error in base on Solaris, Stefan Bidigaray, 2019/10/17
- Re: make error in base on Solaris,
Riccardo Mottola <=
- Re: make error in base on Solaris, Stefan Bidigaray, 2019/10/17
- Re: make error in base on Solaris, Riccardo Mottola, 2019/10/17
- Re: make error in base on Solaris, Richard Frith-Macdonald, 2019/10/18
- Re: make error in base on Solaris, Richard Frith-Macdonald, 2019/10/18
- Re: make error in base on Solaris, Wolfgang Lux, 2019/10/18