[Kolab-devel] gunnar: server/perl-kolab MANIFEST, 1.9, 1.10 Makefile.PL, 1.17, 1.18

Richard Bos ml at radoeka.nl
Fri Dec 4 21:11:46 CET 2009


Op vrijdag 04 december 2009 20:47:59 schreef Richard Bos:
> It goes wrong file executing 'perl Makefile.PL'.  I added a check to it,
> being:
> sub MY::postamble {
>     if (-e "../Base.mk")
>     {
>         copy("../Base.mk", "./") or die "Could not copy ../Base.mk";
>     } else {
>         die "../Base.mk does not exist";  <<<<<<<<<<
>     }
>     my $add = "include Base.mk
>
> Now when I run 'perl Makefile.PL', it fails with:
> perl-kolab-2.2.2.90_cvs20091204> perl Makefile.PL
> ../Base.mk does not exist at Makefile.PL line 103.

When I use the original Makefile.PL and remove "include Base.mk", 'make 
install' complains:

chmod 755 /usr/src/packages/BUILD/perl-
kolab-2.2.2.90_cvs20091204/ME//kolab/sbin/*                                                                   
/bin/sh: -q: invalid option                                                                                                                          
I think it fails at:
ifeq \"x\$(PLATTAG)\" \"x\"
        PLATTAG = \$(shell /usr/bin/rpm -q --qf=\"%{ARCH}-%{OS}\" 
openpkg)-\$(HOME:/%=%)
endif

Ain't possible to use a perl function for it:
 perl -V
Summary of my perl5 (revision 5 version 10 subversion 0) configuration:
  Platform:                                                            
    osname=linux, osvers=2.6.27, archname=i586-linux-thread-multi      
........

Perhaps something like:
perl-kolab> perl -V:vendorlib
vendorlib='/usr/lib/perl5/vendor_perl/5.10.0';

/perl-kolab> perl -V:sitelib
sitelib='/usr/lib/perl5/site_perl/5.10.0';

or
5.10.0> perl -V:myarchname
myarchname='i686-linux';

/usr/lib/perl5/5.10.0> perl -V:archname
archname='i586-linux-thread-multi';

Don't know what you're looking for.  More info in 'perldoc perltoc'



-- 
Richard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kolab.org/pipermail/devel/attachments/20091204/bc6f7780/attachment.html>


More information about the devel mailing list