compiling errors "zsh: command not found: configure"

Using PhotoRec to recover lost data
Forum rules
When asking for technical support:
- Search for posts on the same topic before posting a new question.
- Give clear, specific information in the title of your post.
- Include as many details as you can, MOST POSTS WILL GET ONLY ONE OR TWO ANSWERS.
- Post a follow up with a "Thank you" or "This worked!"
- When you learn something, use that knowledge to HELP ANOTHER USER LATER.
Before posting, please read https://www.cgsecurity.org/testdisk.pdf
Locked
Message
Author
peteykoala1
Posts: 1
Joined: 11 Jan 2023, 23:24

compiling errors "zsh: command not found: configure"

#1 Post by peteykoala1 »

Hello,

I am trying to compile test disk software on my MacBook but when typing in the code from the guide, I receive "zsh: command not found: configure". I am trying to run the code

tar xzf e2fsprogs-1.46.2.tar.gz
tar xzf ntfs-3g_ntfsprogs-2017.3.23.tgz
tar xzf testdisk-7.2-WIP.tar.bz2
cd e2fsprogs-1.46.2 && configure && make && cd ..
cd ntfs-3g_ntfsprogs-2017.3.23 && /configure --disable-ntfs-3g --disable-nfconv && make &% cd ..
mkdir -p testdisk ../testdisk-7.2-WIP/configure --disable-qt \
--with-ext2fs-lib=/Users/kmaster/e2fsprogs-1.46.2/lib \
--with-ext2fs-includes=/Users/kmaster/e2fsprogs-1.46.2/lib \
--with-ntfs3g-lib=/Users/kmaster/ntfs-3g_ntfsprogs-2017.3.23/libntfs-3g/.libs/ \
--with-ntfs3g-includes=/Users/kmaster/ntfs-3g_ntfsprogs-2017.3.23/include/ \
--with-jpeg-lib=/usr/local/opt/jpeg-turbo/lib \
--with-jpeg-includes=/usr/local/opt/jpeg-turbo/include
make cd ..

Has anyone received this? Is it even worth compiling? When I do not, I receive "zsh: bad CPU type in executable".

Any help is appreciated.

User avatar
cgrenier
Site Admin
Posts: 5432
Joined: 18 Feb 2012, 15:08
Location: Le Perreux Sur Marne, France
Contact:

Re: compiling errors "zsh: command not found: configure"

#2 Post by cgrenier »

> cd e2fsprogs-1.46.2 && configure && make && cd ..

I have updated the documentation. It's "./configure"

> cd ntfs-3g_ntfsprogs-2017.3.23 && /configure --disable-ntfs-3g

Same problem, it's also "./configure"

I have no mac with M1 CPU but macos x86_64 binary should work on it. Can you try this version of TestDisk & PhotoRec 7.2-WIP ?

Locked