Page 1 of 1

cannot install in debian(linux)

Posted: Wed May 15, 2013 10:03 am
by nabila12
I can't install in linux(debian).
it turns out to be like this:

root@anomy:~/Desktop/aescrypt-3.0.9# make
make: *** No targets specified and no makefile found. Stop.
root@anomy:~/Desktop/aescrypt-3.0.9# make install
make: *** No rule to make target `install'. Stop.

please help me. Thank you

Re: cannot install in debian(linux)

Posted: Wed May 15, 2013 2:51 pm
by paulej
You need to be in the 'src' directory to build the binary.

Desktop/aescrypt-3.0.9/src# make

That should work.

Re: cannot install in debian(linux)

Posted: Thu May 16, 2013 12:36 am
by nabila12
Oh i forgot to put src dir,it works now!Thank you very much!
But when i try to encrypt blup.txt file, it says no such file as below:

root@anomy:~/Desktop/aescrypt-3.0.9/src# make
gcc -Wall -D_FILE_OFFSET_BITS=64 -c aescrypt.c
gcc -Wall -D_FILE_OFFSET_BITS=64 -c aes.c
gcc -Wall -D_FILE_OFFSET_BITS=64 -c sha256.c
gcc -Wall -D_FILE_OFFSET_BITS=64 -c password.c
gcc -Wall -D_FILE_OFFSET_BITS=64 -c keyfile.c
gcc -Wall -D_FILE_OFFSET_BITS=64 -o aescrypt aescrypt.o aes.o sha256.o password.o keyfile.o
gcc -Wall -D_FILE_OFFSET_BITS=64 -c -o aescrypt_keygen.o aescrypt_keygen.c
gcc -Wall -D_FILE_OFFSET_BITS=64 -o aescrypt_keygen aescrypt_keygen.o password.o
root@anomy:~/Desktop/aescrypt-3.0.9/src# sudo make install
install -o root -g root -m 755 aescrypt /usr/bin
install -o root -g root -m 755 aescrypt_keygen /usr/bin
root@anomy:~/Desktop/aescrypt-3.0.9/src# aescrypt -e blup.txt
Enter password:
Re-Enter password:
Error opening input file blup.txt : No such file or directory

Re: cannot install in debian(linux)

Posted: Thu May 16, 2013 5:28 am
by paulej
Is the file in the same directory? You either need to be in the directory with the file to be encrypted or provide the complete pathname to the file.

The error message you show is consistent with a case where the file you specify is not in the current directory.

Re: cannot install in debian(linux)

Posted: Thu May 16, 2013 6:22 am
by nabila12
another silly mistake!
thank you very much Mr!