--- "Randy W. Sims" <[EMAIL PROTECTED]> wrote:
> On 02/25/04 02:12, DH wrote:
> > *snip*
> > 
> >>>LINK : fatal error LNK1141: failure during build of exports file
> >>>...
> >>
> >>Looks like the filename is not being passed in. Check 
> >>'make\lib\SDL\Build.pm' in your override of the 'process_xs' method that 
> >>  $file is set correctly.
> > 
> > 
> > What is correct?
> > src\SDL\SFont.xs  and  src\SDL_perl.xs  and  src\SDL\OpenGL.xs
> > all look correct to me.
> 
> Yep, I see the problem. We need to figure out a better solution, but for 
> now...
> 
> In your subclass, override link_c() so you can locally set the module 
> name like
> 
> sub link_c {
>    my $self = shift;
>    local $self->{properties}{module_name} = 'SDL::SFont';
>    $self->SUPER::link_c(@_);
> }
> 
> Let me know if this gets you a little further; I'll take a look at 
> better fix when I get a chance.

I changed it to

    sub link_c {
       my $self = shift;
       my( $blib, $rib ) = @_;

       $rib =~ s{^src[\\/]}{};
       $rib =~ s{[\\/]}{::}g;
       warn "$/ rib $rib $/";
       local $self->{properties}{module_name} = $rib;
       $self->SUPER::link_c(@_);
    }

and things are getting better a lot better.
Now i'm geting some errors related to perl -V:libpth being wrong,
which reveals that Module::Build doesn't pickup extra values for libpth from
$ENV{LIB}, which it should 


__________________________________
Do you Yahoo!?
Yahoo! Mail SpamGuard - Read only the mail you want.
http://antispam.yahoo.com/tools

Reply via email to