View Single Post
  #10 (permalink)  
Old 09-07-2006, 06:37 PM
ter ter is offline
Junior Member
 
Posts: 5
Default

I'm trying to install razor and got the following error running make:

[root@mail razor-agents-sdk-2.07]# make
make[1]: Entering directory `/var/tmp/razor-agents-sdk-2.07/Digest-1.10'
make[1]: Leaving directory `/var/tmp/razor-agents-sdk-2.07/Digest-1.10'
make[1]: Entering directory `/var/tmp/razor-agents-sdk-2.07/Digest-SHA1-2.10'gcc -c -D_REENTRANT -D_GNU_SOURCE -DDEBUGGING -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -m32 -march=i386 -mtune=pentium4 -DVERSION=\"2.10\" -DXS_VERSION=\"2.10\" -fPIC "-I/usr/lib/perl5/5.8.5/i386-linux-thread-multi/CORE" SHA1.c/bin/sh: gcc: command not found
make[1]: *** [SHA1.o] Error 127
make[1]: Leaving directory `/var/tmp/razor-agents-sdk-2.07/Digest-SHA1-2.10'make: *** [subdirs] Error 2
==

I found this thread and did what dijichi2 advised:

perl -MCPAN -e 'install "Digest::SHA1"'

==
it ended with this error though:


......Checking if your kit is complete...
Looks good
Writing Makefile for Digest::SHA1
cp SHA1.pm blib/lib/Digest/SHA1.pm
/usr/bin/perl /usr/lib/perl5/5.8.5/ExtUtils/xsubpp -typemap /usr/lib/perl5/5.8.5/ExtUtils/typemap -typemap typemap SHA1.xs > SHA1.xsc && mv SHA1.xsc SHA1.cgcc -c -D_REENTRANT -D_GNU_SOURCE -DDEBUGGING -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -m32 -march=i386 -mtune=pentium4 -DVERSION=\"2.11\" -DXS_VERSION=\"2.11\" -fPIC "-I/usr/lib/perl5/5.8.5/i386-linux-thread-multi/CORE" SHA1.c/bin/sh: gcc: command not found
make: *** [SHA1.o] Error 127
/usr/bin/make -- NOT OK
Running make test
Can't test without successful make
Running make install
make had returned bad status, install seems impossible
===

I'm stuck. Does anyone have any suggstions on how to proceed from here?
Reply With Quote