12 C
United States of America
Sunday, November 24, 2024

macos – How do I construct and set up libfsapfs?


I downloaded a software from GitHub (libfsapfs) to assist with a difficulty I’m having with an exterior HDD formatted in APFS.

I’ve some familiarity with the terminal and know some primary Unix instructions however battling putting in this.

Edit: right here is the complete instructions entered [with most of the install output removed]:


$ tar xfv libfsapfs-experimental-20220709.tar
$ cd libfsapfs-20220709
$ ./configure --prefix=/usr/native --enable-python --with-pyprefix
checking for a BSD-compatible set up... /usr/bin/set up -c
checking whether or not construct surroundings is sane... sure
checking for a race-free mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether or not make units $(MAKE)... no
checking whether or not make helps nested variables... no
checking whether or not UID '501' is supported by ustar format... sure
checking whether or not GID '20' is supported by ustar format... sure
checking the best way to create a ustar tar archive... gnutar
checking construct system kind... aarch64-apple-darwin21.6.0
checking host system kind... aarch64-apple-darwin21.6.0
checking the best way to print strings... printf
checking whether or not make helps the embrace directive... no
checking for gcc... gcc
checking whether or not the C compiler works... no
configure: error: in `/Customers/Daisy/Downloads/libfsapfs-20220709':
configure: error: C compiler can't create executables
See `config.log' for extra particulars
$ make
xcode-select: word: no developer instruments have been discovered at '/Purposes/Xcode.app', requesting set up. Select an choice within the dialog to obtain the command line developer instruments.
$ ./configure --prefix=/usr/native --enable-python --with-pyprefix
checking for a BSD-compatible set up... /usr/bin/set up -c
[lots of checking]…
configure: error: Unable to search out python-config
$ /bin/bash -c "$(curl -fsSL https://uncooked.githubusercontent.com/Homebrew/set up/HEAD/set up.sh)"
[Homebrew installed]…
$ brew set up python
[Python installed]…
$ ./configure --prefix=/usr/native --enable-python --with-pyprefix
$ make set up DESTDIR=$PWD/tmp
[installing]…
libtool: warning: '../libfsapfs/libfsapfs.la' has not been put in in '/usr/native/lib'
libtool: set up: /usr/bin/set up -c .libs/fsapfsinfo /Customers/Daisy/Downloads/libfsapfs-20220709/tmp/usr/native/bin/fsapfsinfo
libtool: warning: '../libfsapfs/libfsapfs.la' has not been put in in '/usr/native/lib'
libtool: set up: /usr/bin/set up -c .libs/fsapfsmount /Customers/Daisy/Downloads/libfsapfs-20220709/tmp/usr/native/bin/fsapfsmount
make[2]: Nothing to be carried out for `install-data-am'.
$ otool -LT tmp/usr/native/lib/libfsapfs.1.dylib
tmp/usr/native/lib/libfsapfs.1.dylib:
    /usr/native/lib/libfsapfs.1.dylib (compatibility model 2.0.0, present model 2.0.0)
    /usr/lib/libSystem.B.dylib (compatibility model 1.0.0, present model 1311.100.3)
    /usr/lib/libz.1.dylib (compatibility model 1.0.0, present model 1.2.11)
Desk of contents (0 entries)
module index image index
$ cd tmp/usr/native/bin
$ ./fsapfsinfo
dyld[67019]: Library not loaded: '/usr/native/lib/libfsapfs.1.dylib'
  Referenced from: '/Customers/Daisy/Downloads/libfsapfs-20220709/tmp/usr/native/bin/fsapfsinfo'
  Purpose: tried: '/usr/native/lib/libfsapfs.1.dylib' (no such file), '/usr/lib/libfsapfs.1.dylib' (no such file)
Abort lure: 6

Any assist could be extremely appreciated.

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest Articles