Brilliant thanks, got a lot further - problem - see last few rows of
./configure output:
/usr/bin/uname -p = unknown
/bin/uname -X =
hostinfo =
/bin/universe =
/usr/bin/arch -k =
/bin/arch = aarch64
/usr/bin/oslevel =
/usr/convex/getsysinfo =
UNAME_MACHINE = aarch64
UNAME_RELEASE = 6.12.47+rpt-rpi-v8
UNAME_SYSTEM = Linux
UNAME_VERSION = #1 SMP PREEMPT Debian 1:6.12.47-1+rpt1 (2025-09-16)
configure: error: cannot guess build type; you must specify one
configure: error: ./configure failed for sntp
root@rp1:~/ntp/ntp-4.2.6p3-RC12#
---
Bev Clues, Clues Communications Ltd t/a Clues & Co
T +44 (0) 1206 763301
M +44 (0) 7715 421139
W www.clues.co.uk
On 2025-11-25 08:28, Arsen Arsenović wrote:
Hi,
Bev Clues <[email protected]> writes:
Hi Arden, this is what I got: Bev
root@rp1:~/ntp/ntp-4.2.6p3-RC12# /bin/bash ./config.sub sun4 || echo
fail
./config.sub: line 4: $'\r': command not found
./config.sub: line 6: $'\r': command not found
./config.sub: line 8: $'\r': command not found
./config.sub: line 28: $'\r': command not found
./config.sub: line 29: $'\r': command not found
./config.sub: line 36: $'\r': command not found
./config.sub: line 39: $'\r': command not found
./config.sub: line 47: $'\r': command not found
./config.sub: line 54: $'\r': command not found
./config.sub: line 61: $'\r': command not found
./config.sub: line 63: $'\r': command not found
./config.sub: line 75: $'\r': command not found
./config.sub: line 83: $'\r': command not found
./config.sub: line 86: $'\r': command not found
./config.sub: line 89: syntax error near unexpected token `$'in\r''
'/config.sub: line 89: ` case $1 in
Ah, something happened to the line endings. Did you pass the file
through some Windows text editor, or somesuch?
I'd do:
curl -o config.sub
https://cgit.git.savannah.gnu.org/cgit/config.git/plain/config.sub
curl -o config.guess
https://cgit.git.savannah.gnu.org/cgit/config.git/plain/config.guess
Or, if you don't have curl (but have wget):
wget -O config.sub
https://cgit.git.savannah.gnu.org/cgit/config.git/plain/config.sub
wget -O config.guess
https://cgit.git.savannah.gnu.org/cgit/config.git/plain/config.guess