Compiling Crack 5.0a

Compiling Crack 5.0a

Post by Earl Keys » Thu, 08 Nov 2001 05:46:38



Trouble compiling Crack 5.0a.

Worked fine using gcc on my Sparc 5 running Solaris 2.5.1
Ditto on an Ultra-10 running Solaris 2.6

But, on Ultra-60 using gcc 2.9.5 (?) and running Solaris 8, I get a
mess.  Can anyone offer help? Thanks

-----

Have compileCrack 5.0a: The Password Cracker.
(c) Alec Muffett, 1991, 1992, 1993, 1994, 1995, 1996
System: SunOS yoda 5.8 Generic_108528-05 sun4u sparc SUNW,Ultra-60
Home: /usr/local/source/c50a
Invoked: ./Crack passwd
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 )
make[1]: Entering directory `/usr/local/source/c50a/src/lib'
rm -f dawglib.o debug.o rules.o stringlib.o *~
make[1]: Leaving directory `/usr/local/source/c50a/src/lib'
make[1]: Entering directory `/usr/local/source/c50a/src/libdes'
/bin/rm -f *.o tags core rpw destest des speed libdes.a .nfs* *.old \
*.bak destest rpw des speed
make[1]: Leaving directory `/usr/local/source/c50a/src/libdes'
make[1]: Entering directory `/usr/local/source/c50a/src/util'
rm -f *.o *~
make[1]: Leaving directory `/usr/local/source/c50a/src/util'
make[1]: Entering directory `/usr/local/source/c50a/src/lib'
make[1]: `../../run/bin/sunos-5-sparc/libc5.a' is up to date.
make[1]: Leaving directory `/usr/local/source/c50a/src/lib'
make[1]: Entering directory `/usr/local/source/c50a/src/util'
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=gcc"
"XLIB=../../run/bin/sunos-5-sparc/libc5.a "
prefix=../../run/bin/sunos-5-sparc
+ shift
+ [ -d ../libdes ]
+ cd ../libdes
+ make
make[2]: Entering directory `/usr/local/source/c50a/src/libdes'
cc -O -DRAND -DTERMIO       -c -o cbc3_enc.o cbc3_enc.c
/usr/ucb/cc:  language optional software package not installed
make[2]: *** [cbc3_enc.o] Error 1
make[2]: Leaving directory `/usr/local/source/c50a/src/libdes'
+ exit 1
make[1]: *** [../../run/bin/sunos-5-sparc/cracker] Error 1
make[1]: Leaving directory `/usr/local/source/c50a/src/util'
make: *** [utils] Error 1
#

-----Many thanks.

Earl Keyser, Sys Admin, Wayzata Schools

 
 
 

Compiling Crack 5.0a

Post by Jason Kohl » Thu, 08 Nov 2001 05:51:43



Quote:>Trouble compiling Crack 5.0a.

>Worked fine using gcc on my Sparc 5 running Solaris 2.5.1
>Ditto on an Ultra-10 running Solaris 2.6

>But, on Ultra-60 using gcc 2.9.5 (?) and running Solaris 8, I get a
>mess.  Can anyone offer help? Thanks

[snip]
>/usr/ucb/cc:  language optional software package not installed
[snip]

It would appear that you either don't actually have gcc, or somehow ended
up not using it during this compilation.  Check that gcc is actually
installed, then try setting the CC environment variable to gcc and try again.

--
Jason S Kohles                       A witty saying proves nothing.

http://www.jasonkohles.com/

 
 
 

Compiling Crack 5.0a

Post by Mason » Sat, 10 Nov 2001 06:58:06


Quote:Earl Keyser wrote...

>Trouble compiling Crack 5.0a.

>Worked fine using gcc on my Sparc 5 running Solaris 2.5.1
>Ditto on an Ultra-10 running Solaris 2.6

>But, on Ultra-60 using gcc 2.9.5 (?) and running Solaris 8, I get a
>mess.  Can anyone offer help? Thanks

[snip]

Quote:>make[2]: Entering directory `/usr/local/source/c50a/src/libdes'
>cc -O -DRAND -DTERMIO       -c -o cbc3_enc.o cbc3_enc.c
>/usr/ucb/cc:  language optional software package not installed

Check the Makefile under /usr/local/source/c50a/src/libdes/.
Is it somewhere in the Makefile hard-coded to use cc?
Change cc to gcc.
 
 
 

Compiling Crack 5.0a

Post by Earl Keys » Sat, 10 Nov 2001 07:34:54


Set CC - same result.

 "which gcc" told me that the machine is seeing gcc.

 Any other ideas?

 Thanks.

 
 
 

Compiling Crack 5.0a

Post by Earl Keys » Sun, 02 Dec 2001 03:28:02


Foud it in libdes.  One more cc > gcc fix and it worked. THANKS!

 
 
 

1. Problems compiling Crack V5.0a

QUESTION:
Can anybody help me compile Crack V5.0a?

Obviousely I'm missing something, i'v  tried to install cracklib-2.7.2
without improvement.
Can anyone tell me what i'm doing wrong and/or where i can get "the
missing link" (pretty please!)?

INFO:
P166MMX, 64MB, 4.3GB, RH 5.1
(Below you see screen-dump from the actual compiling of Crack)


Crack 5.0a: The Password Cracker.
(c) Alec Muffett, 1991, 1992, 1993, 1994, 1995, 1996
System: Linux turbo.newmedia.no 2.0.34 #1 Fri May 8 16:05:57 EDT 1998
i586 unknown
Home: /tmp/crack/c50a
Invoked: ./Crack -makeonly
Option: -makeonly enabled
Stamp: linux-2-unknown

Crack: making utilities in run/bin/linux-2-unknown
find . -name "*~" -print | xargs -n50 rm -f
( cd src; for dir in * ; do ( cd $dir ; make clean ) ; done )
make[1]: Entering directory `/tmp/crack/c50a/src/lib'
rm -f dawglib.o debug.o rules.o stringlib.o *~
make[1]: Leaving directory `/tmp/crack/c50a/src/lib'
make[1]: Entering directory `/tmp/crack/c50a/src/libdes'
/bin/rm -f *.o tags core rpw destest des speed libdes.a .nfs* *.old \
*.bak destest rpw des speed
make[1]: Leaving directory `/tmp/crack/c50a/src/libdes'
make[1]: Entering directory `/tmp/crack/c50a/src/util'
rm -f *.o *~
make[1]: Leaving directory `/tmp/crack/c50a/src/util'
make[1]: Entering directory `/tmp/crack/c50a/src/lib'
( make "XDIR=../../run/bin/linux-2-unknown" "XCFLAGS=-g -O2 -Wall
-DUSE_STRING_H -DUSE_STDLIB_H -DUSE_SIGNAL_H -DUSE_SYS_TYPES_H
-DUSE_UNISTD_H -DUSE_PWD_H" dawglib.o debug.o rules.o stringlib.o ||
exit 1 )
make[2]: Entering directory `/tmp/crack/c50a/src/lib'
gcc -g -O2 -Wall -DUSE_STRING_H -DUSE_STDLIB_H -DUSE_SIGNAL_H
-DUSE_SYS_TYPES_H -DUSE_UNISTD_H -DUSE_PWD_H   -c dawglib.c -o dawglib.o

In file included from dawglib.c:12:
libcrack.h:12: stdio.h: No such file or directory
libcrack.h:13: ctype.h: No such file or directory
libcrack.h:16: pwd.h: No such file or directory
libcrack.h:20: sys/types.h: No such file or directory
libcrack.h:24: signal.h: No such file or directory
libcrack.h:28: string.h: No such file or directory
libcrack.h:36: stdlib.h: No such file or directory
libcrack.h:40: unistd.h: No such file or directory
make[2]: *** [dawglib.o] Error 1
make[2]: Leaving directory `/tmp/crack/c50a/src/lib'
make[1]: *** [../../run/bin/linux-2-unknown/libc5.a] Error 1
make[1]: Leaving directory `/tmp/crack/c50a/src/lib'
make: *** [library] Error 1

Regards Andr Paulsberg

2. build ORBit-0.5.17 error on solaris2.8:Makefile, line 208: Badly formed macro assignment

3. Linux Printing extra line feed - 0A+ 0C+ 0A = 0D+0A

4. SOLUTION: lilo awol on win/lin dual-boot, boot disk gives kernel panic

5. ANNOUNCE: Crack v5.0a available...

6. standard output redirection question

7. Crack 5.0a: remember unsuccessful salts?

8. Still Can't connect to Tomcat

9. Crack v5.0a with Linux

10. Crack 5.0a

11. "cracker: execute permission denied" Using Crack 5.0a

12. Crack 5.0a feedback files

13. crack 5.0a: network and multiprocessor