Thomas-Tsai / partclone

Partclone provides utilities to backup a partition smartly and it is designed for higher compatibility of the file system by using existing library.
GNU General Public License v2.0
323 stars 107 forks source link

update autotools build files #186

Closed Xeonacid closed 2 years ago

Xeonacid commented 2 years ago

Generated using "autoreconf -fi" to support new arch.

Current version refuses to build on RISC-V with the following error:

This script, last modified 2014-03-23, 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://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
and
  http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD

Updating to the newest fixes the error.

Thomas-Tsai commented 2 years ago

Hi,

Thanks for this pull, and I will merge it later. I prefer to run some basic tests, and do you know how to set up the RISC-V environment?

Xeonacid commented 2 years ago

@Thomas-Tsai I'm using Arch Linux RISC-V with QEMU. You may see this instruction. And if you'd like, I can provide SSH access to a SiFive Unmatched board provided by PLCT Lab.

Thomas-Tsai commented 2 years ago

Thank you. I am not familiar with arch, but Debian/Ubuntu is fine. As you mentioned, I created a ubuntu RISC-V environment and got an error message. I also test your code, and the result is OK. I can run ./configure and have no errors.

Xeonacid commented 2 years ago

Sorry, I don't know much about how to set up a Ubuntu RISC-V QEMU environment. What error message are you facing? May I have a look? And our Unmatched boards have Ubuntu installations if you want.