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

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

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