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
  • 122,292
  • 133
  • 301
  • 332

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
  • 72,312
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
  • 200