[Kolab-devel] gunnar: server/perl-kolab MANIFEST, 1.9, 1.10 Makefile.PL, 1.17, 1.18
Thomas Spuhler
thomas at btspuhler.com
Sat Dec 12 20:09:58 CET 2009
On Friday 04 December 2009 01:11:46 pm Richard Bos wrote:
> 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'
What is the status on this. I just tried to build it on Mandriva and get
Makefile:948: Base.mk: No such file or directory
make: *** No rule to make target `Base.mk'. Stop.
--
Thomas
More information about the devel
mailing list