2

I am trying to install CUnit by using following steps:

  1. Downloaded CUnit package from SourceForge.

  2. Uncompressed it using the command:

    tar xjf CUnit-2.1-3.tar.bz2
    
  3. Then went into the CUnit-2.1-3 directory.

    cd CUnit-2.1.2
    
  4. Tried running the following sequence of commands:

    mkdir -p $HOME/local  
    ./configure --prefix=$HOME/local # but this command is not working  
    

    bash is displaying the following message:

    bash: ./configure: No such file or directory
    
karel
  • 114,770
  • Do you execute the ./configure command from within the CUnit-2.1.2 directory? Please check. If so, is there a file called configure in the directory? Do ls to find out. – Jos Oct 25 '18 at 10:07

2 Answers2

0

Actually buried in the INSTALL file it says autoconf creates the config file. In the README it's more explicit:

The usual sequence of steps should succeed in building and installing CUnit:

aclocal  

(if necessary)

autoconf

(if necessary)

automake

(if necessary)

chmod u+x configure

(if necessary)

./configure --prefix <Your choice of directory for installation>
make
make install
Zanna
  • 70,465
ayman
  • 101
0

This answer helped: https://askubuntu.com/a/27679/940185

libtoolize --force
aclocal
autoheader
automake --force-missing --add-missing
autoconf
./configure

Also, I used wget with direct download link (then renamed file so that only stuff before ? was left).

parsecer
  • 190