/[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.40 by joko, Tue Mar 11 06:25:59 2003 UTC revision 1.47 by joko, Tue Mar 11 21:05:22 2003 UTC
# Line 12  Line 12 
12  @cvs-info  @cvs-info
13    $Id$    $Id$
14    $Log$    $Log$
15      Revision 1.47  2003/03/11 21:05:22  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
22      + AUTOCOMMIT: updated/added content
23    
24      Revision 1.42  2003/03/11 15:26:01  joko
25      + AUTOCOMMIT: updated/added content
26    
27      Revision 1.41  2003/03/11 14:56:02  joko
28      + AUTOCOMMIT: updated/added content
29    
30    Revision 1.40  2003/03/11 06:25:59  joko    Revision 1.40  2003/03/11 06:25:59  joko
31    + AUTOCOMMIT: updated/added content    + AUTOCOMMIT: updated/added content
32    
# Line 734  o final solution for the libxml-problem? Line 749  o final solution for the libxml-problem?
749      x dpkg-deb --build fakepkg libxml2_2.4.19-4_i386_fake_2.5.0-1.deb      x dpkg-deb --build fakepkg libxml2_2.4.19-4_i386_fake_2.5.0-1.deb
750      x dpkg -i libxml2_2.4.19-4_i386_fake_2.5.0-1.deb      x dpkg -i libxml2_2.4.19-4_i386_fake_2.5.0-1.deb
751    
752    o announce on www.netfrag.org
753      o api-doc
754      o packages.netfrag.org (libxml2!)
755      o autogenerate:
756        o api-doc & diags
757        o twingle
758    
759    o ->search.netfrag.org/ruby
760    
761    o install and use 'monit' to monitor uml's!
762    
763    o refactor Yakka::YakkaSetup
764    
765    o quepasa - Error: AMaViS
766    
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.
771       </screen>
772    
773      - probably because of perl-5.8.0?
774    
775      x apt-get install razor   #)§$&(
776      solution:
777        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
779        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          x /etc/init.d/amavis-milter restart
869        
870    o BER.pm:  BER (Basic Encoding Rules) encoding and decoding.
871    
872    o use a common [[http://razor.sourceforge.net/artistic.html|"Artistic License"]]?
873    
874    o use pdumpfs!
875    
876    o what we build seems similar to Torque <-> Maven  (Tangram|XyZ+Data::Storage <-> nfo-libs|rap)
877    
878    o write meta-documentation about why it's required to lift version-numbers of debian-packages
879      -> Why dpkg-liftversion?
880      1. yakka: libxml2!!!
881      2. amavis-milter: razor-1-branch-required
882    
883    o installing pdumpfs as system-wide backup-system:
884      x mkdir -p /home/service/virtual/pdumpfs/var/data
885      x mkdir -p /home/service/virtual/pdumpfs/var/log
886      x cd /usr/local/bin
887      x ln -s /home/service/virtual/pdumpfs/backup .
888      

Legend:
Removed from v.1.40  
changed lines
  Added in v.1.47

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