Summary: Crack 5.0a install problems Part II

From: <RABENOJA_at_prodigy.net>
Date: Thu Feb 14 2002 - 20:17:36 EST
Thanks to all who responded.

I did have gcc installed.  The problem was that there 
was another Makefile that needed to be modified to use 
gcc.  This Makefile was in c50a/src/libdes directory.



Ok...I still have a problem with the installation of 
Crack 5.0a. 
Although I did get a littler farther  than before- see 
error
messages below.  Btw I added the package
binutils-2.11.2-sol8-sparc-local from sunfreeware.  
Can anyone
provide any insite.  Thanks again.

# ./Crack -makeonly
Crack 5.0a: The Password Cracker.
(c) Alec Muffett, 1991, 1992, 1993, 1994, 1995, 1996
System: SunOS norton 5.8 Generic_108528-12 sun4u sparc
SUNW,Ultra-250
Home: /var/tmp/sun/c50a
Invoked: ./Crack -makeonly
Option: -makeonly enabled
Stamp: sunos-5-sparc

Crack: making utilities in run/bin/sunos-5-sparc
find . -name "*~" -print | xargs -n50 rm -f
( cd src; for dir in * ; do ( cd $dir ; make clean ) ; 
done )
rm -f dawglib.o debug.o rules.o stringlib.o *~
/bin/rm -f *.o tags core rpw destest des speed 
libdes.a .nfs*
*.old \
*.bak destest rpw des speed
.
.
.
a - stringlib.o
ranlib ../../run/bin/sunos-5-sparc/libc5.a
all made in lib
/usr/local/bin/gcc -g -O2 -Wall -DUSE_STRING_H -
DUSE_STDLIB_H
-DUSE_SIGNAL_H -DUSE_SYS_TYPES_H -DUSE_UNISTD_H -
DUSE_PWD_H
-I../lib -o ../../run/bin/sunos-5-sparc/dawg dawg.c
../../run/bin/sunos-5-sparc/libc5.a -lcrypt
rm -f ../../run/bin/sunos-5-sparc/xdawg
ln ../../run/bin/sunos-5-sparc/dawg
../../run/bin/sunos-5-sparc/xdawg
mkcracker ../../run/bin/sunos-5-sparc
"XDIR=../../run/bin/sunos-5-sparc" "XCFLAGS=-g -O2 -
Wall
-DUSE_STRING_H -DUSE_STDLIB_H -DUSE_SIGNAL_H -
DUSE_SYS_TYPES_H
-DUSE_UNISTD_H -DUSE_PWD_H" "XCC=/usr/local/bin/gcc"
"XLIB=../../run/bin/sunos-5-sparc/libc5.a -lcrypt"
prefix=../../run/bin/sunos-5-sparc
+ shift 
+ [ -d ../libdes ] 
+ cd ../libdes 
+ make 
cc -O -DRAND -DTERMIO     -c  cbc3_enc.c
/usr/ucb/cc:  language optional software package not 
installed
*** Error code 1
make: Fatal error: Command failed for target 
`cbc3_enc.o'
Current working directory /var/tmp/sun/c50a/src/libdes
+ exit 1 
*** Error code 1
make: Fatal error: Command failed for target
`../../run/bin/sunos-5-sparc/cracker'
Current working directory /var/tmp/sun/c50a/src/util
*** Error code 1
make: Fatal error: Command failed for target `utils'


Previous message:> I am trying to install Crack 5.0a 
in an Ultra Enterprise 250
> running Solaris 2.8.  I modified the Crack script to 
use gcc, but
> I am not sure if I need to uncomment the following:
> 	#LIBS=-lcrypt # uncomment only if necessary to 
use stdlib
> crypt(), eg: NetBSD MD5
> 
> 	(By the way I am using NIS+ if that makes a 
difference)
> 
> Here are the error messages when I run "Crack - 
makeonly"
> 
> rules.c: In function `Uppercase':
> rules.c:100: warning: subscript has type `char'

These are just warnings (and prob. deliberate).


> /usr/ccs/bin/as: "/var/tmp/ccE8LDNb.s", line 1462: 
error: unknown
> opcode ".subsection"
> /usr/ccs/bin/as: "/var/tmp/ccE8LDNb.s", line 1462: 
error:
> statement syntax
> /usr/ccs/bin/as: "/var/tmp/ccE8LDNb.s", line 1523: 
error: unknown
> opcode 
> ".previous"
> /usr/ccs/bin/as: "/var/tmp/ccE8LDNb.s", line 1523: 
error:
> statement syntax
> /usr/ccs/bin/as: "/var/tmp/ccE8LDNb.s", line 3115: 
error: unknown
> opcode ".subsection"
> /usr/ccs/bin/as: "/var/tmp/ccE8LDNb.s", line 3115: 
error:
> statement syntax
> /usr/ccs/bin/as: "/var/tmp/ccE8LDNb.s", line 3207: 
error: unknown
> opcode ".previous"
> /usr/ccs/bin/as: "/var/tmp/ccE8LDNb.s", line 3207: 
error:
> statement syntax

These errors indicate that you need to use GNU's 
binutil package with
   gcc.
   
---
Michael Schulte                    Specialist in 
Computer Science
Univ. of Missouri-St. Louis        (314) 516 5239
8001 Natural Bridge Road           schulte@cs.umsl.edu
St. Louis, MO  63121  USA          
http://www.cs.umsl.edu/~schulte
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Thu Feb 14 19:18:15 2002

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:42:34 EST