Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20080424223914.GA4567@openwall.com>
Date: Fri, 25 Apr 2008 02:39:14 +0400
From: Solar Designer <solar@...nwall.com>
To: john-users@...ts.openwall.com
Subject: build fails on Solaris 10 (was: I get a fatal error when installing john-1.7.0.2)

Scott,

Thank you for bringing this to the mailing list.  I took the liberty to
change the Subject on this reply to make it more informative and easier
to find in the list archives.

On Wed, Apr 23, 2008 at 06:43:21AM -0500, Raymond, Scott C TSgt USAF ACC 453 EWS/EWF wrote:
> I am trying to install john on a Solaris 10 system.  I run make clean
> solaris-sparc-gcc and get a fatal error.

Do you have gcc installed?  If not, you can get it from Sunfreeware:

	http://sunfreeware.com

Alternatively, you can install Sun's C compiler and use the appropriate
make target.

Do you have /usr/ccs/bin in your PATH?  You may need to prepend it with:

	set path=(/usr/ccs/bin $path)

for csh, or with:

	export PATH=/usr/ccs/bin:$PATH

for bash.  Apparently, this is no longer needed on very recent revisions
of Solaris, but yours might not be that recent:

	http://blogs.sun.com/damico/entry/the_death_of_usr_ccs

> *** Error code 1
> Make:  Fatal error:  Command failed for target 'sparc.h'

Unfortunately, this is not very informative (apparently, some preceding
error messages are not visible here?) - but the most likely guess is
that you did not have all of the needed build tools in your PATH (or
installed on the system at all).

> Current working directory /john/john-1.6/src

You're using an ancient version of John the Ripper.  This version 1.6
was released in 1998.  Please get a current one from:

	http://www.openwall.com/john/

...but you mention a current version in the message Subject.  Well, the
program messages you've provided are inconsistent with that.

> 	Is it possible I have a copy with missing files?

This is very unlikely, and it is not something you need to even consider -
because you need to get a copy of a current version anyway.

Please try to follow the suggestions above - or, if you run into issues
or if you'd rather save the time, you may get John the Ripper pre-built
for Solaris at Sunfreeware (see the URL above).

When you manage to get this working, please let us (the mailing list)
know of the approach you ended up using.

I hope this helps, and good luck!

Alexander

-- 
To unsubscribe, e-mail john-users-unsubscribe@...ts.openwall.com and reply
to the automated confirmation request that will be sent to you.

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.