Re: fileparse error from ppm on linux
by Randy Kobes other posts by this author
Aug 26 2006 7:50AM messages near this date
view in the new Beta List Site
fileparse error from ppm on linux
|
[OT] MinGW and AS build 817
On Fri, 25 Aug 2006, Jeff McCarrell wrote:
> Hi folks.
> I've built a ppm package for win32 that installs just fine.
> Now I am trying to replicate this on a linux machine.
> I have PPM 2.1.6 installed and PPM::Make 0.79; all current AFAIK.
> I get an error trying to parse the generated PPD file:
>
> PPM> install
> http://jmccarrell-lx/api/dist/linux/Infoblox-3.2.12.33334.ppd
> Install package
> 'http://jmccarrell-lx/api/dist/linux/Infoblox-3.2.12.33334.ppd?' (y/N):
> y
> Installing package
> 'http://jmccarrell-lx/api/dist/linux/Infoblox-3.2.12.33334.ppd'...
> Bytes transferred: 286047
> Use of uninitialized value in -d at /usr/lib/perl5/5.8.6/File/Path.pm
> line 153.
> Error installing package
> 'http://jmccarrell-lx/api/dist/linux/Infoblox-3.2.12.33334.ppd':
> fileparse(): need a valid pathname at /usr/lib/perl5/5.8.6/File/Path.pm
> line 154
>
> The PPD file in question looks like:
>
> <?xml version="1.0" encoding="UTF-8"?>
> <SOFTPKG NAME="Infoblox-3.2.12.33334" VERSION="3,2,12,33334">
> <TITLE>Infoblox-3.2.12.33334</TITLE>
> <ABSTRACT>Infoblox Appliance Interface</ABSTRACT>
> <AUTHOR>Hand Jelly Roll</AUTHOR>
> <IMPLEMENTATION>
> <OS NAME="linux" />
> <ARCHITECTURE NAME="i386-linux-thread-multi-5.8" />
> <CODEBASE HREF="Infoblox-3.2.12.33334.tar.gz" />
> </IMPLEMENTATION>
> </SOFTPKG>
>
> and was generated with the command:
>
> make_ppm --vsr --vsp -r --ppd /var/www/jwm/api/dist/linux
>
> Any thoughts?
The PPM version on CPAN has a warning in the README:
http://cpan.uwinnipeg.ca/htdocs/PPM/README.html
that it may not be useable outside of ActivePerl.
I've used it on Win32, and it works fine, but there
may be issues on non-Win32 platforms. The ppd file
looks OK - you may get some more useful information
by increasing the trace messages:
ppm> set trace 4
If you have the option, and want to use ppm, it might
be worth using ActivePerl for linux - this has a
much improved ppm client. There's a beta ppm4
being tested that has a GUI that is ultra-cool; this
will be available in the next official release.
> At the risk of asking too many questions in a single email, I also was
> surprised not to see the dependency expressed in Makefile.PL in
> PREREQ_PM => { Crypt::SSLeay => 0},
> not reflected in the PPD file as well.
>
> Is there some trick to expressing dependencies in PPDs that I am not
> understanding?
PPM::Make should have picked this up; it uses either
a remote soap server or a locally configured CPAN.pm
to map module names to package names. Does the
machine you're using to build the package either
have an open internet connection, or is the CPAN.pm
module initially configured properly? If so, could
you send me the relevant parts of the Makefile.PL
(privately), and I'll look into this. Thanks.
--
best regards,
Randy Kobes
_______________________________________________
PPM mailing list
PPM@[...].com
http://listserv.ActiveState.com/mailman/listinfo/ppm
Thread:
Jeff McCarrell
Randy Kobes
|