wiki:npl/perl/Mail_IMAPClient

We moesten eerst perlmod_Parse_RecDescent bouwen, en daarvoor moesten we eerst weer perlmod_version bouwen.

Hierna builde hij perfect:

psy npl # mcedit perl/Mail_IMAPClient/Mail_IMAPClient.SlackBuild

psy npl # ./rebuildcheck perl/Mail_IMAPClient/Mail_IMAPClient.SlackBuild
Rebuild required: ./Mail_IMAPClient.SlackBuild has changed!
REBUILDING /home/psy/syn3/npl/perl/Mail_IMAPClient/Mail_IMAPClient.SlackBuild:
Buildroot up-to-date check: (nopkgcheck to skip)......................................................................................................DONE
Buildroot /tmp/buildroot0._home_psy_syn3_builder repareren/syncen...OK
Build-dependency perl installeren: /home/psy/syn3/npl/.tmp/D/perl-5.8.7-i486-2056.tgz
Build-dependency perlmod_Parse_RecDescent installeren: svn: warning: '/home/psy/syn3/npl/perl/Parse_RecDescent/perlmod_Parse_RecDescent.pkg' is not a working copy
/home/psy/syn3/npl/.tmp/D/perlmod_Parse_RecDescent-1.96.0-i586-mod.tgz
Build-dependency perlmod_version installeren: /home/psy/syn3/npl/.tmp/D/perlmod_version-0.76-i586-new.tgz
Nieuwe packages ldconfiggen...
etc-update doen
stderr is not a tty - where are you?
/home/psy/syn3/npl/perl/Mail_IMAPClient word gekopieerd naar werkdirectory /tmp/buildroot0._home_psy_syn3_builder/tmp/build
*** Chroot naar /tmp/buildroot0._home_psy_syn3_builder en starten van Mail_IMAPClient.SlackBuild in /tmp/build:
/dev/pts/33: No such file or directory
1 /tmp/build > pwd
9 /tmp/build > CWD=/tmp/build
1 /tmp/build > pwd
10 /tmp/build > PKGROOT=/tmp/build/pkgtmp
1 /tmp/build > echo Mail-IMAPClient-3.14.tar.gz
1 /tmp/build > sed s/.tar.gz//
13 /tmp/build > TARDIR=Mail-IMAPClient-3.14
1 /tmp/build > echo Mail-IMAPClient-3.14
1 /tmp/build > sed 's/.*-//'
14 /tmp/build > VER=3.14
1 /tmp/build > sed 's/-[^-]*$//'
1 /tmp/build > sed s/-/_/
1 /tmp/build > echo Mail-IMAPClient-3.14
15 /tmp/build > NAME=perlmod_Mail_IMAPClient
17 /tmp/build > rm -r /tmp/build/pkgtmp
18 /tmp/build > mkdir -p /tmp/build/pkgtmp
21 /tmp/build > cd /tmp/build
22 /tmp/build > export PERL_INSTALL_ROOT=/tmp/build/pkgtmp
22 /tmp/build > PERL_INSTALL_ROOT=/tmp/build/pkgtmp
23 /tmp/build > tar -xzf Mail-IMAPClient-3.14.tar.gz
24 /tmp/build > cd Mail-IMAPClient-3.14
25 /tmp/build/Mail-IMAPClient-3.14 > perl Makefile.PL
Checking if your kit is complete...
Looks good
Warning: prerequisite Digest::HMAC_MD5 0 not found.
Warning: prerequisite File::Temp 0.18 not found. We have 0.16.
Warning: prerequisite Test::Pod 0 not found.
Writing Makefile for Mail::IMAPClient
You have the option of running an extended suite of tests during
'make test'. This requires an IMAP server name, user account, and
password to test with.

Do you want to run the extended tests? (n/y)  n
26 /tmp/build/Mail-IMAPClient-3.14 > make
cp lib/Mail/IMAPClient/BodyStructure/Parse.pm blib/lib/Mail/IMAPClient/BodyStructure/Parse.pm
cp lib/Mail/IMAPClient/Thread.pm blib/lib/Mail/IMAPClient/Thread.pm
cp lib/Mail/IMAPClient/BodyStructure/Parse.grammar blib/lib/Mail/IMAPClient/BodyStructure/Parse.grammar
cp lib/Mail/IMAPClient.pod blib/lib/Mail/IMAPClient.pod
cp lib/Mail/IMAPClient/Thread.pod blib/lib/Mail/IMAPClient/Thread.pod
cp lib/Mail/IMAPClient/MessageSet.pm blib/lib/Mail/IMAPClient/MessageSet.pm
cp lib/Mail/IMAPClient/BodyStructure/Parse.pod blib/lib/Mail/IMAPClient/BodyStructure/Parse.pod
cp lib/Mail/IMAPClient/Thread.grammar blib/lib/Mail/IMAPClient/Thread.grammar
cp lib/Mail/IMAPClient/BodyStructure.pm blib/lib/Mail/IMAPClient/BodyStructure.pm
cp lib/Mail/IMAPClient.pm blib/lib/Mail/IMAPClient.pm
Manifying blib/man3/Mail::IMAPClient::Thread.3
Manifying blib/man3/Mail::IMAPClient::MessageSet.3
Manifying blib/man3/Mail::IMAPClient::BodyStructure.3
Manifying blib/man3/Mail::IMAPClient::BodyStructure::Parse.3
Manifying blib/man3/Mail::IMAPClient.3
27 /tmp/build/Mail-IMAPClient-3.14 > make test
PERL_DL_NONLAZY=1 /usr/bin/perl5.8.7 "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/basic............skipped
        all skipped: test parameters not provided
t/bodystructure....ok
t/messageset.......ok
t/pod..............skipped
        all skipped: Test::Pod 1.00 required for testing POD
t/thread...........ok
All tests successful, 2 tests skipped.
Files=5, Tests=25,  1 wallclock secs ( 0.42 cusr +  0.02 csys =  0.44 CPU)
28 /tmp/build/Mail-IMAPClient-3.14 > make install
Installing /tmp/build/pkgtmp/usr/lib/perl5/site_perl/5.8.7/Mail/IMAPClient.pm
Installing /tmp/build/pkgtmp/usr/lib/perl5/site_perl/5.8.7/Mail/IMAPClient.pod
Installing /tmp/build/pkgtmp/usr/lib/perl5/site_perl/5.8.7/Mail/IMAPClient/BodyStructure.pm
Installing /tmp/build/pkgtmp/usr/lib/perl5/site_perl/5.8.7/Mail/IMAPClient/Thread.grammar
Installing /tmp/build/pkgtmp/usr/lib/perl5/site_perl/5.8.7/Mail/IMAPClient/MessageSet.pm
Installing /tmp/build/pkgtmp/usr/lib/perl5/site_perl/5.8.7/Mail/IMAPClient/Thread.pod
Installing /tmp/build/pkgtmp/usr/lib/perl5/site_perl/5.8.7/Mail/IMAPClient/Thread.pm
Installing /tmp/build/pkgtmp/usr/lib/perl5/site_perl/5.8.7/Mail/IMAPClient/BodyStructure/Parse.pod
Installing /tmp/build/pkgtmp/usr/lib/perl5/site_perl/5.8.7/Mail/IMAPClient/BodyStructure/Parse.grammar
Installing /tmp/build/pkgtmp/usr/lib/perl5/site_perl/5.8.7/Mail/IMAPClient/BodyStructure/Parse.pm
Installing /tmp/build/pkgtmp/usr/man/man3/Mail::IMAPClient.3
Installing /tmp/build/pkgtmp/usr/man/man3/Mail::IMAPClient::BodyStructure::Parse.3
Installing /tmp/build/pkgtmp/usr/man/man3/Mail::IMAPClient::BodyStructure.3
Installing /tmp/build/pkgtmp/usr/man/man3/Mail::IMAPClient::MessageSet.3
Installing /tmp/build/pkgtmp/usr/man/man3/Mail::IMAPClient::Thread.3
Writing /usr/lib/perl5/site_perl/5.8.7/i486-linux/auto/Mail/IMAPClient/.packlist
Appending installation info to /usr/lib/perl5/5.8.7/i486-linux/perllocal.pod
30 /tmp/build/Mail-IMAPClient-3.14 > cd /tmp/build/pkgtmp
31 /tmp/build/pkgtmp > makepkg -l y -c n /tmp/build/perlmod_Mail_IMAPClient.pkg
tar-1.13: perlmod_Mail_IMAPClient.pkg.tar is the archive; not dumped
32 /tmp/build/pkgtmp > echo 3.14
33 /tmp/build/pkgtmp > arch
*** Build gelukt.
* Packages terugmoven naar originele directory..
/tmp/buildroot0._home_psy_syn3_builder/tmp/build/perlmod_Mail_IMAPClient.arch ...
/tmp/buildroot0._home_psy_syn3_builder/tmp/build/perlmod_Mail_IMAPClient.version ...
/tmp/buildroot0._home_psy_syn3_builder/tmp/build/perlmod_Mail_IMAPClient.pkg ...

* Klaar ja!
Updating md5 for /home/psy/syn3/npl/perl/Mail_IMAPClient/Mail_IMAPClient.SlackBuild...
Updating dependency information for /home/psy/syn3/npl/perl/Mail_IMAPClient/Mail_IMAPClient.SlackBuild...
All rebuilds completed.
Last modified 16 years ago Last modified on 05/25/09 18:04:27