[prev in list] [next in list] [prev in thread] [next in thread] 

List:       razor-users
Subject:    Re: [Razor-users] Re: Problem in Razor SDK/Razor Agent Installation
From:       "George R.Kasica" <georgek () netwrx1 ! com>
Date:       2005-02-10 3:52:56
Message-ID: leml01hmqa89qb6730cme7c7o998tho98m () 4ax ! com
[Download RAW message or body]

>On Wed, 09 Feb 2005 12:55:38 -1000, you wrote:

>George R. Kasica wrote:
>
>>Well, I installed it and it built, tested and installed correctly.
>>  
>>
>"It" being Digest::SHA1?
Yes, correct.

>
>>In then installed razor-agents-sdk-2.02
>>
>I mentioned my theory that there is something wrong with the
>Digest::SDA1 in razor-agents-sdk.  If that should happen to be
>correct, what you did in the above step is overwrite the
>good Digest::SHA1 from CPAN with the bad Digest::SHA1
>from razor-agents-sdk.  So no wonder you subsequently got
>errors.
>
>Anyhow, that's the best I can make of what's happening.
OK, I reinstalled Digest::SHA1 from the tarball and then went directly
to the razor agents install skipping the sdk as it would appear to be
broken. Below are the results, and errors from that:

[root@eagle /root]# cd Digest-SHA1-2.10
[root@eagle Digest-SHA1-2.10]# perl Makefile.PL
Writing Makefile for Digest::SHA1
[root@eagle Digest-SHA1-2.10]# make
cc -c   -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BIT
S=64 -O3   -DVERSION=\"2.10\" -DXS_VERSION=\"2.10\" -fpic
"-I/usr/local/lib/perl5/5.8.0/
i686-linux/CORE"   SHA1.c
Running Mkbootstrap for Digest::SHA1 ()
chmod 644 SHA1.bs
rm -f blib/arch/auto/Digest/SHA1/SHA1.so
LD_RUN_PATH="" cc  -shared -L/usr/local/lib SHA1.o  -o
blib/arch/auto/Digest/SHA1/SHA1.s
o
chmod 755 blib/arch/auto/Digest/SHA1/SHA1.so
cp SHA1.bs blib/arch/auto/Digest/SHA1/SHA1.bs
chmod 644 blib/arch/auto/Digest/SHA1/SHA1.bs
Manifying blib/man3/Digest::SHA1.3
[root@eagle Digest-SHA1-2.10]# make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/li
b', 'blib/arch')" t/*.t
t/badfile....ok
t/bits.......ok
t/sha1.......ok
All tests successful.
Files=3, Tests=17,  1 wallclock secs ( 0.19 cusr +  0.01 csys =  0.20
CPU)
[root@eagle Digest-SHA1-2.10]# make install
Files found in blib/arch: installing files in blib/lib into
architecture dependent libra
ry tree
Writing
/usr/local/lib/perl5/site_perl/5.8.0/i686-linux/auto/Digest/SHA1/.packlist
Appending installation info to
/usr/local/lib/perl5/5.8.0/i686-linux/perllocal.pod
[root@eagle Digest-SHA1-2.10]# cd ../razor-agents-2.67
[root@eagle razor-agents-2.67]# perl Makefile.PL
Writing Makefile for Razor2::Preproc::deHTMLxs
Writing Makefile for razor-agents
[root@eagle razor-agents-2.67]# make
make[1]: Entering directory
`/root/razor-agents-2.67/Razor2-Preproc-deHTMLxs'
cc -c   -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BIT
S=64 -O3   -DVERSION=\"2.18\" -DXS_VERSION=\"2.18\" -fpic
"-I/usr/local/lib/perl5/5.8.0/
i686-linux/CORE"   _deHTMLxs.c
cc -c   -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BIT
S=64 -O3   -DVERSION=\"2.18\" -DXS_VERSION=\"2.18\" -fpic
"-I/usr/local/lib/perl5/5.8.0/
i686-linux/CORE"   deHTMLxs.c
Running Mkbootstrap for Razor2::Preproc::deHTMLxs ()
chmod 644 deHTMLxs.bs
rm -f ../blib/arch/auto/Razor2/Preproc/deHTMLxs/deHTMLxs.so
LD_RUN_PATH="" cc  -shared -L/usr/local/lib _deHTMLxs.o deHTMLxs.o  -o
../blib/arch/auto
/Razor2/Preproc/deHTMLxs/deHTMLxs.so
chmod 755 ../blib/arch/auto/Razor2/Preproc/deHTMLxs/deHTMLxs.so
cp deHTMLxs.bs ../blib/arch/auto/Razor2/Preproc/deHTMLxs/deHTMLxs.bs
chmod 644 ../blib/arch/auto/Razor2/Preproc/deHTMLxs/deHTMLxs.bs
Manifying ../blib/man3/Razor2::Preproc::deHTMLxs.3
make[1]: Leaving directory
`/root/razor-agents-2.67/Razor2-Preproc-deHTMLxs'
cp bin/razor-client blib/script/razor-client
/usr/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)"
blib/script/razor-client
/usr/bin/perl -we '%m=@ARGV;for (keys %m){' -e 'next if -e $m{$_} &&
-M $m{$_} < -M $_ &
& -M $m{$_} < -M "Makefile";' -e 'print "Manifying $m{$_}\n";' -e
'system(q[/usr/bin/per
l /usr/local/bin/pod2man ].qq[$_>$m{$_}])==0 or warn "Couldn\047t
install $m{$_}\n";' -e
 'chmod(oct(644), $m{$_}) or warn "chmod 644 $m{$_}: $!\n";}' \
docs/razor-agent.conf.pod \
blib/man5/razor-agent.conf.5 \
docs/razor-agents.pod \
blib/man5/razor-agents.5 \
docs/razor-whitelist.pod \
blib/man5/razor-whitelist.5
Manifying blib/man5/razor-agents.5
Manifying blib/man5/razor-whitelist.5
Manifying blib/man5/razor-agent.conf.5
Manifying blib/man1/razor-check.1
Manifying blib/man3/Razor2::Syslog.3
Manifying blib/man1/razor-admin.1
Manifying blib/man3/Razor2::Errorhandler.3
Manifying blib/man1/razor-report.1
Manifying blib/man1/razor-revoke.1
[root@eagle razor-agents-2.67]# make test
make[1]: Entering directory
`/root/razor-agents-2.67/Razor2-Preproc-deHTMLxs'
make[1]: Leaving directory
`/root/razor-agents-2.67/Razor2-Preproc-deHTMLxs'
make[1]: Entering directory
`/root/razor-agents-2.67/Razor2-Preproc-deHTMLxs'
PERL_DL_NONLAZY=1 /usr/bin/perl "-I../blib/lib" "-I../blib/arch"
test.pl
1..5
ok 1
ok 2
ok 3
ok 4
ok 5
make[1]: Leaving directory
`/root/razor-agents-2.67/Razor2-Preproc-deHTMLxs'
[root@eagle razor-agents-2.67]# make install
make[1]: Entering directory
`/root/razor-agents-2.67/Razor2-Preproc-deHTMLxs'
make[1]: Leaving directory
`/root/razor-agents-2.67/Razor2-Preproc-deHTMLxs'
/usr/bin/perl -we '%m=@ARGV;for (keys %m){' -e 'next if -e $m{$_} &&
-M $m{$_} < -M $_ &
l /usr/local/bin/pod2man ].qq[$_>$m{$_}])==0 or warn "Couldn\047t
install $m{$_}\n";' -e 'chmod(oct(644), $m{$_}) or warn "chmod 644
$m{$_}: $!\n";}' \
docs/razor-agent.conf.pod \
blib/man5/razor-agent.conf.5 \
docs/razor-agents.pod \
blib/man5/razor-agents.5 \
docs/razor-whitelist.pod \
blib/man5/razor-whitelist.5
Files found in blib/arch: installing files in blib/lib into
architecture dependent library tree
Writing
/usr/local/lib/perl5/site_perl/5.8.0/i686-linux/auto/razor-agents/.packlist
Appending installation info to
/usr/local/lib/perl5/5.8.0/i686-linux/perllocal.pod
blib/script/razor-client
Can't locate Razor2/Preproc/deHTMLxs.pm in @INC (@INC contains: lib
/usr/local/lib/perl5/5.6.1/i686-linux /usr/local/lib/perl5/5.6.1
/usr/local/lib/perl5/site_perl/5.6.1/i686-linux
/usr/local/lib/perl5/site_perl/5.6.1 /usr/local/lib/perl5/site_perl .)
at lib/Razor2/Preproc/Manager.pm line 4.
BEGIN failed--compilation aborted at lib/Razor2/Preproc/Manager.pm
line 4.
Compilation failed in require at lib/Razor2/Client/Engine.pm line 8.
BEGIN failed--compilation aborted at lib/Razor2/Client/Engine.pm linew
8.
Compilation failed in require at (eval 9) line 3.
        ...propagated at /usr/local/lib/perl5/5.6.1/base.pm line 62.
BEGIN failed--compilation aborted at lib/Razor2/Client/Core.pm line
23.
Compilation failed in require at (eval 1) line 3.
        ...propagated at /usr/local/lib/perl5/5.6.1/base.pm line 62.
BEGIN failed--compilation aborted at lib/Razor2/Client/Agent.pm line
18.
Compilation failed in require at blib/script/razor-client line 21.
BEGIN failed--compilation aborted at blib/script/razor-client line 21.
make: *** [install_razor_agents] Error 2   
[root@eagle /root]# 

===[George R. Kasica]===        +1 262 677 0766
President                       +1 206 374 6482 FAX 
Netwrx Consulting Inc.          Jackson, WI USA 
http://www.netwrx1.com
georgek@netwrx1.com
ICQ #12862186


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Razor-users mailing list
Razor-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/razor-users
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic