LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-21-2005, 05:31 PM   #1
Laverion
LQ Newbie
 
Registered: Jul 2005
Posts: 3

Rep: Reputation: 0
installing tar.gz file


Hi there,

I'm trying to install a tar.gz file with no luck
I'm using SuSE 9.3 pro
the tar.gz file is john-1.6.40.tar.gz
after the following
su
tar zxvf john-1.6.40.tar.gz
cd john-1.6.4o
cd src
make
make linux-x86-any
after that I get aan errer like this :-
linux:/home/laverion/john-1.6.40/src # make linux-x86-any-elf
make: *** No rule to make target `linux-x86-any-elf'. Stop.
linux:/home/laverion/john-1.6.40/src # make linux-x86-any
ln -sf x86-any.h arch.h
make ../run/john ../run/unshadow ../run/unafs ../run/unique \
JOHN_OBJS="DES_fmt.o DES_std.o DES_bs.o BSDI_fmt.o MD5_fmt.o MD5_std.o BF_fmt.o BF_std.o AFS_fmt.o LM_fmt.o batch.o bench.o charset.o common.o compiler.o config.o cracker.o crc32.o external.o formats.o getopt.o idle.o inc.o john.o list.o loader.o logger.o math.o memory.o misc.o options.o params.o path.o recovery.o rpp.o rules.o signals.o single.o status.o tty.o wordlist.o unshadow.o unafs.o unique.o DES_bs_b.o x86.o"
make[1]: Entering directory `/home/laverion/john-1.6.40/src'
gcc -c -Wall -O2 -fomit-frame-pointer -funroll-loops DES_fmt.c
make[1]: gcc: Command not found
make[1]: *** [DES_fmt.o] Error 127
make[1]: Leaving directory `/home/laverion/john-1.6.40/src'
make: *** [linux-x86-any] Error 2



I think it has to do with gcc
I checked other linux forums with no luck
any help
thnx
 
Old 12-21-2005, 06:34 PM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,126

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
Have a look at this thread and the referenced article.
Normally there would be a readme or such in the package - and I would expect a ./configure would be required normally.
 
Old 12-21-2005, 07:50 PM   #3
Laverion
LQ Newbie
 
Registered: Jul 2005
Posts: 3

Original Poster
Rep: Reputation: 0
with ./configure I get an error because there is nthing mentioned in the install.doc about ./configure but
asks to install th e software as
su
cd src
make
en that what I'm trying to do but I'm getting the error when make linux-x86-any
make linux-x86-any
after that I get aan errer like this :-
linux:/home/laverion/john-1.6.40/src # make linux-x86-any-elf
make: *** No rule to make target `linux-x86-any-elf'. Stop.
linux:/home/laverion/john-1.6.40/src # make linux-x86-any
ln -sf x86-any.h arch.h
make ../run/john ../run/unshadow ../run/unafs ../run/unique \
JOHN_OBJS="DES_fmt.o DES_std.o DES_bs.o BSDI_fmt.o MD5_fmt.o MD5_std.o BF_fmt.o BF_std.o AFS_fmt.o LM_fmt.o batch.o bench.o charset.o common.o compiler.o config.o cracker.o crc32.o external.o formats.o getopt.o idle.o inc.o john.o list.o loader.o logger.o math.o memory.o misc.o options.o params.o path.o recovery.o rpp.o rules.o signals.o single.o status.o tty.o wordlist.o unshadow.o unafs.o unique.o DES_bs_b.o x86.o"
make[1]: Entering directory `/home/laverion/john-1.6.40/src'
gcc -c -Wall -O2 -fomit-frame-pointer -funroll-loops DES_fmt.c
make[1]: gcc: Command not found
make[1]: *** [DES_fmt.o] Error 127
make[1]: Leaving directory `/home/laverion/john-1.6.40/src'
make: *** [linux-x86-any] Error 2
 
Old 12-21-2005, 08:12 PM   #4
jbetten
LQ Newbie
 
Registered: Jan 2005
Posts: 19

Rep: Reputation: 0
What distribution are you running? It appears you don't have gcc installed... which I find kinda scary...
 
Old 12-21-2005, 08:19 PM   #5
JimBass
Senior Member
 
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100

Rep: Reputation: 49
Also, you are going a level too deep by going into /home/laverion/john-1.6.40/src. You should just go into /home/laverion/john-1.6.40 and then do ./configure. Also, you don't need to be root until close to the end, when you hit the make install step. You will need gcc installed as well. You must have done the desktop no development install of one of the rpm based distros. You can use yum or whatever package manager you have to install gcc, or install it from the cdrom that you used to install the distro. Yum is much easier, as it handles the dependencies for you. So in short:

Code:
$ cd ~/john-1.6.40
$./configure
$make
$su
#make install
Peace,
JimBass
 
Old 12-22-2005, 03:31 AM   #6
Laverion
LQ Newbie
 
Registered: Jul 2005
Posts: 3

Original Poster
Rep: Reputation: 0
got it
to install tar.gz file under SuSE 9.3 pro (john the ripper 1.6.40)

konsole
su
$tar zxvf john-1.6.40
cd john-1.6.40
cd src
make clean SYSTEM (put your system here) for example lets say we have linux-x86-any the it should be lkijk that
make clean linux-x86-any
that is it nou we have john the ripper installed,to test if its working

cd ../run
./john --test



nou I have it installed thanks to this forum and to all the guys who try to help other linux newbies.
goodluck everybody with the installation.
thnx a bunch for your help.
laverion
 
Old 12-22-2005, 03:11 PM   #7
SPo2
Member
 
Registered: Jun 2005
Posts: 88

Rep: Reputation: 15
Hi Guys,

I am having tar.gz unzipped errors too,

pls advise.........newbie here
Using RH9 kernel 2.4.20-6

I am trying to install firefox-1.5.tar.gz into my com so i did e following --> : cd < to firefox-1.5 >

: tar zxvf firefox*.gz
Once its untar into dir, i

: cd <into firefox dir> & type,
: ./configure & i face this error : command not found"

when i type,
: make
its says ***No targets specified & no makefiles found. Stop.

i installed all rpm on gcc in RH9 distro; they are --> gcc-java, gcc-fortran & gcc obj....

pls advise................
 
Old 12-22-2005, 03:19 PM   #8
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
For Firefox, you just need to untar and then run the executable. Really wish people would read the installation instructions.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how can i decompress this tar.tar file? hmmm sounds new.. tar.tar.. help ;) kublador Linux - Software 14 10-25-2016 02:48 AM
installing tar file Mickaletto Linux - Newbie 2 11-29-2005 08:22 PM
gave wrong syntax for tar as tar -cvzf file file.tgz how to recover the file gautham Linux - General 4 04-13-2005 03:15 AM
Installing Samba from tar.gz file dhatcher2 Linux - Software 1 10-30-2004 11:19 PM
Installing my ftp tar file...need help please vbp6us Linux - General 2 03-11-2003 02:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:49 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration