Title: Re: repo(), output_callback()
Hi Ted:
 
I'll let others explain why packman resides in /usr/lib/perl rather than in /opt/oscar/lib, but if you have a previous version of OSCAR installed, you at least should run /opt/oscar/scripts/start_over such that your headnode is cleaned of any cruft (not 100% though).  We strongly encourage users to do a clean re-install of the headnode OS prior to testing new versions of OSCAR.
 
Thanks,
 
Bernard


From: Ted Powell on behalf of Ted Powell
Sent: Sun 07/05/2006 16:02
To: Erich Focht
Cc: Bernard Li; OSCAR Devel
Subject: Re: repo(), output_callback()

I'm now at trunk rev 4727.

On Sun, May 07, 2006 at 01:31:34PM +0200, Erich Focht wrote:
> Hi Ted,
>
> are you sure that "yume" is installed when the first packman instance is
> created?

After doing make install I did rpm -V yume, and it had no complaints.

> As far as I understand the AUTOLOAD function adds the existing class methods
> from PackMan to PackMan::RPM, if PackMan::RPM doesn't provide its own methods
> with the same name. That's why the repo and other methods only exist in
> PackMan.pm. [...]

But they don't exist there.

[somewhat later]

Knowing that that's where they are supposed to be prompted me to do
some digging.

Unfortunately, PackMan.pm lives at /usr/lib/perl5/site_perl/OSCAR/PackMan.pm
When I moved /opt/oscar to /opt/oscar-4.2 to get all the old stuff out
of the way, the choice of location for PackMan.pm meant that the 4.2
version did _not_ get removed/hidden.

If PackMan.pm were located under /opt/oscar, the old one would have
been shuffled off to /opt/oscar-4.2, and it would have been immediately
apparent that I've left something undone, and the 5.0-beta PackMan.pm
is not getting installed.

Maybe it's not getting installed because the presence of the 4.2 one is
killing the build ahead of the point at which PackMan.pm is supposed to
get installed.

I've manually unpacked the 5.0 PackMan.pm with rpm2cpio, and it has both
repo and output_callback.

What is there about packman-depman that precludes it from putting its
files in /opt/oscar/lib/OSCAR along with all the other .pm files that
are there?


--
Ted Powell <[EMAIL PROTECTED]>   http://psg.com/~ted/
"If you don't look, you don't know."
    Dr. Sam Ting, Nobel laureate experimental physicist.

Reply via email to