Please consider update config.guess & config.sub, the newest version of them could successfully build curlftpfs on RISC-V.
This script, last modified 2007-07-22, has failed to recognize
the operating system you are using. It is advised that you
download the most up to date version of the config scripts from
http://savannah.gnu.org/cgi-bin/viewcvs/checkout/config/config/config.guess
and
http://savannah.gnu.org/cgi-bin/viewcvs/checkout/config/config/config.sub
If the version you run (./config.guess) is already up to date, please
send the following data and any information you think might be
pertinent to config-patches@gnu.org in order to provide the needed
information to handle your system.
config.guess timestamp = 2007-07-22
uname -m = riscv64
uname -r = 6.9.6-arch1-1
uname -s = Linux
uname -v = #1 SMP PREEMPT_DYNAMIC Fri, 21 Jun 2024 19:49:19 +0000
/usr/bin/uname -p = unknown
/bin/uname -X =
hostinfo =
/bin/universe =
/usr/bin/arch -k =
/bin/arch =
/usr/bin/oslevel =
/usr/convex/getsysinfo =
UNAME_MACHINE = riscv64
UNAME_RELEASE = 6.9.6-arch1-1
UNAME_SYSTEM = Linux
UNAME_VERSION = #1 SMP PREEMPT_DYNAMIC Fri, 21 Jun 2024 19:49:19 +0000
configure: error: cannot guess build type; you must specify one
How are you trying to build? The files config.guess and config.sub are not in the repository. You can download from https://github.com/galo2099/curlftpfs and build after running
autoreconf -fi && automake
.Arch Linux use https://downloads.sourceforge.net/sourceforge/curlftpfs/curlftpfs-0.9.2.tar.gz as the source, and the tarball contains the config.{sub, guess}
Thanks for your reply! I will try to update the source for Arch Linux.