Page 1 of 1

configure file missing in archive

Posted: 27 May 2018, 10:34
by mbiwer
Hello,

I am trying to install testdisk/photorec according to https://www.cgsecurity.org/testdisk.pdf.
  • running Xubuntu 18.04 LTS
  • installed the compilation environment
    apt-get install -y build-essential ...... dh-autoreconf git
  • extracted with tar xjf ...
There is no file "configure" in the resulting directory testdisk-7.1-WIP.

Tried the same with the 32-bit-archive (www.cgsecurity.org/testdisk-7.0.linux26.tar.bz2) and the git repository (git clone https://git.cgsecurity.org/testdisk.git. Same result - no configure file. Where am I wrong???

Thanks in advance for any help!





https://www.cgsecurity.org/testdisk-7.1 ... 26.tar.bz2

Re: configure file missing in archive

Posted: 31 May 2018, 06:08
by cgrenier
You have downloaded 32-bits and 64-bits binary packages, so no configure script is present. You can use the photorec_static or testdisk_static binaries directly.

When using git to get the source code, you have to create the configure script as state in the documentation by using autoreconf:

Code: Select all

cd testdisk
mkdir config
autoreconf --install -W all -I config
./configure
make

Re: configure file missing in archive

Posted: 02 Jun 2018, 09:43
by mbiwer
Christophe, merci beaucoup! Works great now.