/[cvs]/joko/doc/SampleTasks/joko_2003-03.twingle
ViewVC logotype

Diff of /joko/doc/SampleTasks/joko_2003-03.twingle

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.43 by joko, Tue Mar 11 17:56:02 2003 UTC revision 1.45 by joko, Tue Mar 11 18:55:52 2003 UTC
# Line 12  Line 12 
12  @cvs-info  @cvs-info
13    $Id$    $Id$
14    $Log$    $Log$
15      Revision 1.45  2003/03/11 18:55:52  joko
16      + AUTOCOMMIT: updated/added content
17    
18    Revision 1.43  2003/03/11 17:56:02  joko    Revision 1.43  2003/03/11 17:56:02  joko
19    + AUTOCOMMIT: updated/added content    + AUTOCOMMIT: updated/added content
20    
# Line 757  o install and use 'monit' to monitor uml Line 760  o install and use 'monit' to monitor uml
760  o refactor Yakka::YakkaSetup  o refactor Yakka::YakkaSetup
761    
762  o quepasa - Error: AMaViS  o quepasa - Error: AMaViS
763      Starting AMaViS Daemons: amavis-milter amavisdCan't locate Razor/Client.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.8.0 /usr/local/share/perl/5.8.0 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8.0 /usr/share/perl/5.8.0 /usr/local/lib/site_perl) at /usr/sbin/amavisd line 54.  
764       <screen>
765        Starting AMaViS Daemons: amavis-milter amavisd
766        Can't locate Razor/Client.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.8.0 /usr/local/share/perl/5.8.0 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8.0 /usr/share/perl/5.8.0 /usr/local/lib/site_perl) at /usr/sbin/amavisd line 54.
767      BEGIN failed--compilation aborted at /usr/sbin/amavisd line 54.      BEGIN failed--compilation aborted at /usr/sbin/amavisd line 54.
768       </screen>
769    
770      - probably because of perl-5.8.0?
771    
772    x apt-get install razor   #)§$&(    x apt-get install razor   #)§$&(
773    solution:    solution:
774      x dpkg --force-depends -r razor      x dpkg --force-depends -r razor
775      x wget http://ftp.de.debian.org/debian/pool/main/r/razor/razor_1.20-1_all.deb      x wget http://ftp.de.debian.org/debian/pool/main/r/razor/razor_1.20-1_all.deb
     x wget http://ftp.de.debian.org/debian/pool/main/libt/libtime-hires-perl/libtime-hires-perl_1.20-4_i386.deb  
     x dpkg -i libtime-hires-perl_1.20-4_i386.deb  
776      x dpkg -i razor_1.20-1_all.deb      x dpkg -i razor_1.20-1_all.deb
777         => depends on 'libtime-hires-perl', so:
778          x wget http://ftp.de.debian.org/debian/pool/main/libt/libtime-hires-perl/libtime-hires-perl_1.20-4_i386.deb
779          x dpkg -i libtime-hires-perl_1.20-4_i386.deb
780            dpkg: dependency problems prevent configuration of libtime-hires-perl:
781             libtime-hires-perl depends on perlapi-5.6.0; however:
782              Package perlapi-5.6.0 is not installed.
783              ;-( /)(%(/$%%&$
784        => removing dependencies about everything from razor1-package
785          x dpkg -x razor_1.20-1_all.deb razor
786          x dpkg -r razor_1.20-1_all.deb
787          x mv DEBIAN/ razor/
788          x do: remove line 'Depends:' from DEBIAN/control
789          [x chmod -R 0755 razor/DEBIAN/] maybe!  (if: dpkg-deb: control directory has bad permissions 2755 (must be >=0755 and <=0775))
790          x dpkg -b razor razor_1.20-1_all_nodeps.deb
791          x cp razor_1.20-1_all_nodeps.deb /data/Packages/dists/stable/contrib/binary-i386/
792        =>
793          x dpkg -i /data/Packages/dists/stable/contrib/binary-i386/razor_1.20-1_all_nodeps.deb
794        => [test]
795          x /etc/init.d/amavis-milter start
796           <screen>
797            Can't load '/usr/lib/perl5/auto/Time/HiRes/HiRes.so' for module Time::HiRes: /usr/lib/perl5/auto/Time/HiRes/HiRes.so: undefined symbol: PL_stack_max at /usr/lib/perl/5.8.0/DynaLoader.pm line 225.
798             at /usr/sbin/amavisd line 46
799            Compilation failed in require at /usr/sbin/amavisd line 46.
800            BEGIN failed--compilation aborted at /usr/sbin/amavisd line 46.      
801           </screen>
802        => [CPAN-install]
803          x perl -MCPAN -e "install Time::HiRes"
804           <screen>
805              [...]
806              compile -- compile -- compile
807              [...]
808              Running make install
809              Installing /usr/lib/perl/5.8.0/auto/Time/HiRes/HiRes.so
810              Files found in blib/arch: installing files in blib/lib into architecture dependent library tree
811              Installing /usr/lib/perl/5.8.0/Time/HiRes.pm
812              Installing /usr/share/man/man3/Time::HiRes.3pm
813              Writing /usr/lib/perl/5.8.0/auto/Time/HiRes/.packlist
814              Appending installation info to /usr/lib/perl/5.8.0/perllocal.pod
815                /usr/bin/make install  -- OK
816           </screen>
817    
818      x probably because of perl-5.8.0? yes!  --  is it fixed now? let's try...  (again)
819          x /etc/init.d/amavis-milter restart
820            no! same error as above!
821          the problem is:
822          watch the output of 'perl -V' - at the bottom:
823          <screen>
824            Characteristics of this binary (from libperl):
825              Compile-time options: MULTIPLICITY USE_ITHREADS USE_LARGE_FILES PERL_IMPLICIT_CONTEXT
826              Built under linux
827              Compiled at Feb 17 2003 12:38:57
828              @INC:
829                /etc/perl
830                /usr/local/lib/perl/5.8.0
831                /usr/local/share/perl/5.8.0
832                /usr/lib/perl5
833                /usr/share/perl5
834                /usr/lib/perl/5.8.0
835                /usr/share/perl/5.8.0
836                /usr/local/lib/site_perl
837                .
838          </screen>
839    
840          The bad one is the "old" shared object coming with Time::HiRes for perl-5.6.1 living at
841          /usr/lib/perl5/auto/Time/HiRes/HiRes.so.
842          
843          We have these options:
844            1. delete this stuff
845            2. put a better version at '.'
846            3. place line '/usr/lib/perl/5.8.0' above of '/usr/lib/perl5'
847            4. copy stuff from '/usr/lib/perl/5.8.0' to '/usr/lib/perl5'
848          
849          Hmmm.....
850            I think i'll choose option 1.:
851            x rm -rf /usr/lib/perl5/auto/Time/HiRes
852            (or if you don't wanna be as brute-force)
853            x cd /usr/lib/perl5/auto/Time
854            x mv HiRes HiRes.old
855            
856        => let's try again:      
857          x /etc/init.d/amavis-milter restart
858            Time::HiRes object version 1.42 does not match bootstrap parameter 01.20 at /usr/lib/perl/5.8.0/DynaLoader.pm line 245.
859    
860        => ahhh...  (also testable via 'perl -MTime::HiRes')
861          x
862        
863    
864  o BER.pm:  BER (Basic Encoding Rules) encoding and decoding.  o BER.pm:  BER (Basic Encoding Rules) encoding and decoding.
865    
866    o use the [[http://razor.sourceforge.net/artistic.html|"Artistic License"]]?
867    

Legend:
Removed from v.1.43  
changed lines
  Added in v.1.45

MailToCvsAdmin">MailToCvsAdmin
ViewVC Help
Powered by ViewVC 1.1.26 RSS 2.0 feed