On Nov 26, 2003, at 5:47 PM, TheSin wrote:


HEAD is currently broke because of Michael's changes again, @BASEPATH@ needs to be set someplace to find $config_file, I fixed my local Engine.pm with this

sub initialize {
        my $self = shift;
        my $config = Fink::Config->new_with_path('/sw/etc/fink.conf');
        my ($basepath);

$self->SUPER::initialize();

        $self->{basepath} = $basepath = $config->param("Basepath");
        unless ($basepath) {
                die "Basepath not set in config file!\n";
        }
}

Thanks for the patch _ but with this one I get :


Can't locate object method "initialize" via package "Fink::Engine" at /sw/lib/perl5/Fink/Engine.pm line 119

??

Jean-Francois



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to