Update glib-pm58x (1.182-1) fails if extutils-depends-pm58x is installed (incl. trivial fix :)

View: New views
5 Messages — Rating Filter:   Alert me  

Update glib-pm58x (1.182-1) fails if extutils-depends-pm58x is installed (incl. trivial fix :)

by Matthias Ringwald :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi. I've stumbled upon this

Error:

$ fink install glib-pm588
...
ExtUtils::Depends version 0.300 is required--this is only version  
0.205 at /sw/lib/perl5/5.8.1/ExtUtils/Depends.pm line 18.
BEGIN failed--compilation aborted at (eval 4) line 1.

Checking if your kit is complete...
Looks good
MakeMaker FATAL: prerequisites not found (ExtUtils::Depends 0.300)

                Please install these modules first and rerun 'perl  
Makefile.PL'.
### execution of ARCHFLAGS="" failed, exit code 255

I had installed:

  i   extutils-depends-pm          0.300-1               Allow XS  
extensions to depend on other XS
*i*  extutils-depends-pm581       0.205-1               Allow XS  
extensions to depend on other XS
  i   extutils-depends-pm586       0.205-2               Upgrade  
package for older varianted packages
  i   extutils-depends-pm588       0.205-2               Upgrade  
package for older varianted packages


Fix:
$ fink remove glib-pm581 glib-pm586 glib-pm588

maybe these packages could be added to glib-pm-pm% conflicts list.

matthias



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Fink-devel mailing list
Fink-devel@...
http://news.gmane.org/gmane.os.apple.fink.devel

Re: Update glib-pm58x (1.182-1) fails if extutils-depends-pm58x is installed (incl. trivial fix :)

by Daniel Macks :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Fri, Jul 18, 2008 at 10:24:02AM +0200, Matthias Ringwald wrote:

> Hi. I've stumbled upon this
>
> Error:
>
> $ fink install glib-pm588
> ...
> ExtUtils::Depends version 0.300 is required--this is only version  
> 0.205 at /sw/lib/perl5/5.8.1/ExtUtils/Depends.pm line 18.
> BEGIN failed--compilation aborted at (eval 4) line 1.
>
> Checking if your kit is complete...
> Looks good
> MakeMaker FATAL: prerequisites not found (ExtUtils::Depends 0.300)
>
>                 Please install these modules first and rerun 'perl  
> Makefile.PL'.
> ### execution of ARCHFLAGS="" failed, exit code 255
>
> I had installed:
>
>   i   extutils-depends-pm          0.300-1               Allow XS  
> extensions to depend on other XS
> *i*  extutils-depends-pm581       0.205-1               Allow XS  
> extensions to depend on other XS
>   i   extutils-depends-pm586       0.205-2               Upgrade  
> package for older varianted packages
>   i   extutils-depends-pm588       0.205-2               Upgrade  
> package for older varianted packages
>
>
> Fix:
> $ fink remove glib-pm581 glib-pm586 glib-pm588

That doesn't make any sense as a solution (and won't be viable in
general, becuase users may have many other packages that Depends on
glib-pmXXX). Maybe removing extutils-depends-pmXXX? You appear to have
ancient stuff installed (-pm581 on a system that doesn't have or
support perl5.8.1, even via fink). OTOH, it's weird that a -pm581
library (see directory path given in the error msg) would be visible
at all to a -pm588 one. Would be useful to see the command that was
run (the perl call to Makefile.PL), and also to know if there is
something weird in in your shell that would mix perl-versions (or the
wrong perl interp being called).

dan

--
Daniel Macks
dmacks@...
http://www.netspace.org/~dmacks


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Fink-devel mailing list
Fink-devel@...
http://news.gmane.org/gmane.os.apple.fink.devel

Re: Update glib-pm58x (1.182-1) fails if extutils-depends-pm58x is installed (incl. trivial fix :)

by Matthias Ringwald :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


hi

sorry, I shouldn't have cried wolf so early.
It might be that I've messed up and are responsible for the 581 libs  
in the 588 tree. I don't have to much knowledge on perl.

>  You appear to have
> ancient stuff installed (-pm581 on a system that doesn't have or
> support perl5.8.1, even via fink).
However, for the record, I have a perl5.8.1 on my system (PPC G5,  
10.5.4).
And I don't have anything perl related in my .bash_profile.

$ which perl5.8.1
/sw/bin/perl5.8.1
$ perl5.8.1 --version
This is perl, v5.8.1 built for darwin-thread-multi-2level

Maybe, I once didn't follow the update instructions from 10.3->10.4-
 >10.5 properly. I just told fink to remove it. :)

thanks,
  Matthias


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Fink-devel mailing list
Fink-devel@...
http://news.gmane.org/gmane.os.apple.fink.devel

Re: Update glib-pm58x (1.182-1) fails if extutils-depends-pm58x is installed (incl. trivial fix :)

by Daniel Macks :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Tue, Jul 22, 2008 at 11:18:09AM +0200, Matthias Ringwald wrote:

>
> hi
>
> sorry, I shouldn't have cried wolf so early.
> It might be that I've messed up and are responsible for the 581 libs  
> in the 588 tree. I don't have to much knowledge on perl.
>
> >  You appear to have
> > ancient stuff installed (-pm581 on a system that doesn't have or
> > support perl5.8.1, even via fink).
> However, for the record, I have a perl5.8.1 on my system (PPC G5,  
> 10.5.4).
> And I don't have anything perl related in my .bash_profile.
>
> $ which perl5.8.1
> /sw/bin/perl5.8.1
> $ perl5.8.1 --version
> This is perl, v5.8.1 built for darwin-thread-multi-2level
>
> Maybe, I once didn't follow the update instructions from 10.3->10.4-
>  >10.5 properly. I just told fink to remove it. :)

(more info than you probably need ahead........)

What is 'fink list perl581-core'? I expect it's flagged "*i*", which
means you do have it but it isn't presently available from fink. Some
packages are only designed for certain OS X versions, so if you
install such a package on OS X 10.x (which has a pkg) then upgrade to
10.x+1 (which doesn't), you now have a package that is obsolete and/or
somehow broken on your machine. If you *didn't* have it installed, you
would not be able to install it (and it wouldn't appear in "fink list"
even as an uninstalled pkg). Fink doesn't have a clean way (either in
function or policy) to get rid of these in general, but you can 'fink
list -N' to see them and choose to install newer perl-versions of
them, remove them, or leave them and hope that they still work. OTOH,
sometimes mistakes are made in the .info files, so a few -pmXXX often
accidentally exist for OS X versions where they should not (and where
the perlXXX for them doesn't either).

dan


--
Daniel Macks
dmacks@...
http://www.netspace.org/~dmacks


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Fink-devel mailing list
Fink-devel@...
http://news.gmane.org/gmane.os.apple.fink.devel

Re: Update glib-pm58x (1.182-1) fails if extutils-depends-pm58x is installed (incl. trivial fix :)

by Matthias Ringwald :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Daniel


On 22.07.2008, at 13:08, Daniel Macks wrote:

> (more info than you probably need ahead........)

Thanks for the info. I was already wondering what the "*i*" should mean.
man fink tells me that they are NEWER than the version of the fink  
package.
I figured out that this means that the fink info versions must have  
been decreased,
which didn't make any sense to me.

Maybe fink could distinguish between "older then installed" and
"no provided by fink (anymore)" in the fink list output.

"older than installed" looks like a bug/error/  to me.

very well, I'll get rid of "*i*"s now!

Matthias


>
>
> What is 'fink list perl581-core'? I expect it's flagged "*i*", which
> means you do have it but it isn't presently available from fink. Some
> packages are only designed for certain OS X versions, so if you
> install such a package on OS X 10.x (which has a pkg) then upgrade to
> 10.x+1 (which doesn't), you now have a package that is obsolete and/or
> somehow broken on your machine. If you *didn't* have it installed, you
> would not be able to install it (and it wouldn't appear in "fink list"
> even as an uninstalled pkg). Fink doesn't have a clean way (either in
> function or policy) to get rid of these in general, but you can 'fink
> list -N' to see them and choose to install newer perl-versions of
> them, remove them, or leave them and hope that they still work. OTOH,
> sometimes mistakes are made in the .info files, so a few -pmXXX often
> accidentally exist for OS X versions where they should not (and where
> the perlXXX for them doesn't either).


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Fink-devel mailing list
Fink-devel@...
http://news.gmane.org/gmane.os.apple.fink.devel