LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Newbie
User Name
Password
Linux - Newbie This 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
 
Thread Tools
Old 12-21-2005, 06:31 PM   #1
Laverion
LQ Newbie
 
Registered: Jul 2005
Posts: 3
Thanked: 0
installing tar.gz file


[Log in to get rid of this advertisement]
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
Laverion is offline     Reply With Quote
Old 12-21-2005, 07:34 PM   #2
syg00
Guru
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 6,911
Thanked: 165
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.
syg00 is offline     Reply With Quote
Old 12-21-2005, 08:50 PM   #3
Laverion
LQ Newbie
 
Registered: Jul 2005
Posts: 3
Thanked: 0

Original Poster
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
Laverion is offline     Reply With Quote
Old 12-21-2005, 09:12 PM   #4
jbetten
LQ Newbie
 
Registered: Jan 2005
Posts: 19
Thanked: 0
What distribution are you running? It appears you don't have gcc installed... which I find kinda scary...
jbetten is offline     Reply With Quote
Old 12-21-2005, 09:19 PM   #5
JimBass
Senior Member
 
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.30
Posts: 2,092
Thanked: 1
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
JimBass is offline     Reply With Quote
Old 12-22-2005, 04:31 AM   #6
Laverion
LQ Newbie
 
Registered: Jul 2005
Posts: 3
Thanked: 0

Original Poster
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
Laverion is offline     Reply With Quote
Old 12-22-2005, 04:11 PM   #7
SPo2
Member
 
Registered: Jun 2005
Posts: 88
Thanked: 0
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................
SPo2 is offline     Reply With Quote
Old 12-22-2005, 04:19 PM   #8
Nylex
HCL Maintainer
 
Registered: Jul 2003
Distribution: Slackware
Posts: 5,783
Thanked: 40
For Firefox, you just need to untar and then run the executable. Really wish people would read the installation instructions.
Nylex is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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 10 02-23-2008 06:40 AM
installing tar file Mickaletto Linux - Newbie 2 11-29-2005 09: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 04:15 AM
Installing Samba from tar.gz file dhatcher2 Linux - Software 1 10-31-2004 12:19 AM
Installing my ftp tar file...need help please vbp6us Linux - General 2 03-11-2003 03:27 PM


All times are GMT -5. The time now is 06:37 PM.

Main Menu
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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration