snowguy
October 31st, 2009, 01:47 PM
really don't know how to compile. I had a thread http://ubuntuforums.org/showthread.php?p=8206599 but didn't get any help on how to compile so hoping if I ask in this forum someone who know how will help.
My Problem:
I have tried compiling extundelete (source here: http://extundelete.sourceforge.net/) and ext3grep (source here: http://code.google.com/p/ext3grep/ under featured downloads) both seem to work but when I actually try to execute them I get "command not found."
My guess is that the problem is something simple because I haven't compiled a program before (with the exception of the simple c class I took in college ages ago) so I don't know what I'm doing.
Not sure what I'm doing wrong. I'm using Ubuntu 9.04. I have installed
sudo apt-get install build-essential
sudo apt-get install checkinstall
and, per the extundelete readme,
sudo apt-get install e2fslibs-dev
Here are the steps I used to install extundelete:
1. Downloaded extundelete-0.1.8.tar.bz2
2. extracted folder extundelte-0.1.8 to desktop using archive manager
3. Using terminal:
xxx@xxx:~$ cd Desktop
xxx@xxx:~/Desktop$ cd extundelete-0.1.8
xxx@xxx:~/Desktop/extundelete-0.1.8$ cd src
xxx@xxx:~/Desktop/extundelete-0.1.8/src$ make
g++ -I. -g -W -Wall -Wredundant-decls -Wshadow -Woverloaded-virtual -Wpointer-arith -Wwrite-strings -c -o extundelete.o `test -f 'extundelete.cc' || echo './'`extundelete.cc
g++ -I. -g -W -Wall -Wredundant-decls -Wshadow -Woverloaded-virtual -Wpointer-arith -Wwrite-strings -c -o block.o `test -f 'block.c' || echo './'`block.c
g++ -I. -g -W -Wall -Wredundant-decls -Wshadow -Woverloaded-virtual -Wpointer-arith -Wwrite-strings -c -o insertionops.o `test -f 'insertionops.cc' || echo './'`insertionops.cc
g++ -o extundelete extundelete.o block.o insertionops.o -lext2fs
xxx@xxx:~/Desktop/extundelete-0.1.8/src$ extundelete --help
bash: extundelete: command not found
xxx@xxx:~/Desktop/extundelete-0.1.8/src$
Here are the steps I used to install ext3grep:
1. Downloaded ext3grep-0.10.1.tar.gz
2. extracted folder ext3grep-0.10.1 to desktop using archive manager
3. opened the ext3grep-0.10.1 on my desktop using nautilus and executed configure.
4. Using terminal:
xxx@xxx:~/Desktop$ cd ext3grep-0.10.1
xxx@xxx:~/Desktop/ext3grep-0.10.1$ cd src
xxx@xxx:~/Desktop/ext3grep-0.10.1/src$ make
make all-am
make[1]: Entering directory `/home/xxx/Desktop/ext3grep-0.10.1/src'
make[1]: Leaving directory `/home/xxx/Desktop/ext3grep-0.10.1/src'
xxx@xxx:~/Desktop/ext3grep-0.10.1/src$ ext3grep --help
The program 'ext3grep' is currently not installed. You can install it by typing:
sudo apt-get install ext3grep
bash: ext3grep: command not found
My Problem:
I have tried compiling extundelete (source here: http://extundelete.sourceforge.net/) and ext3grep (source here: http://code.google.com/p/ext3grep/ under featured downloads) both seem to work but when I actually try to execute them I get "command not found."
My guess is that the problem is something simple because I haven't compiled a program before (with the exception of the simple c class I took in college ages ago) so I don't know what I'm doing.
Not sure what I'm doing wrong. I'm using Ubuntu 9.04. I have installed
sudo apt-get install build-essential
sudo apt-get install checkinstall
and, per the extundelete readme,
sudo apt-get install e2fslibs-dev
Here are the steps I used to install extundelete:
1. Downloaded extundelete-0.1.8.tar.bz2
2. extracted folder extundelte-0.1.8 to desktop using archive manager
3. Using terminal:
xxx@xxx:~$ cd Desktop
xxx@xxx:~/Desktop$ cd extundelete-0.1.8
xxx@xxx:~/Desktop/extundelete-0.1.8$ cd src
xxx@xxx:~/Desktop/extundelete-0.1.8/src$ make
g++ -I. -g -W -Wall -Wredundant-decls -Wshadow -Woverloaded-virtual -Wpointer-arith -Wwrite-strings -c -o extundelete.o `test -f 'extundelete.cc' || echo './'`extundelete.cc
g++ -I. -g -W -Wall -Wredundant-decls -Wshadow -Woverloaded-virtual -Wpointer-arith -Wwrite-strings -c -o block.o `test -f 'block.c' || echo './'`block.c
g++ -I. -g -W -Wall -Wredundant-decls -Wshadow -Woverloaded-virtual -Wpointer-arith -Wwrite-strings -c -o insertionops.o `test -f 'insertionops.cc' || echo './'`insertionops.cc
g++ -o extundelete extundelete.o block.o insertionops.o -lext2fs
xxx@xxx:~/Desktop/extundelete-0.1.8/src$ extundelete --help
bash: extundelete: command not found
xxx@xxx:~/Desktop/extundelete-0.1.8/src$
Here are the steps I used to install ext3grep:
1. Downloaded ext3grep-0.10.1.tar.gz
2. extracted folder ext3grep-0.10.1 to desktop using archive manager
3. opened the ext3grep-0.10.1 on my desktop using nautilus and executed configure.
4. Using terminal:
xxx@xxx:~/Desktop$ cd ext3grep-0.10.1
xxx@xxx:~/Desktop/ext3grep-0.10.1$ cd src
xxx@xxx:~/Desktop/ext3grep-0.10.1/src$ make
make all-am
make[1]: Entering directory `/home/xxx/Desktop/ext3grep-0.10.1/src'
make[1]: Leaving directory `/home/xxx/Desktop/ext3grep-0.10.1/src'
xxx@xxx:~/Desktop/ext3grep-0.10.1/src$ ext3grep --help
The program 'ext3grep' is currently not installed. You can install it by typing:
sudo apt-get install ext3grep
bash: ext3grep: command not found