multimedia/gtk-youtube-viewer requires perl-5.16.x

nemysis nemysis at gmx.ch
Tue Mar 19 11:05:41 UTC 2013


On Tue, 19 Mar 2013 09:58:35 +0900
RyōTa SimaMoto <liangtai.s4 at gmail.com> wrote:

> # multimedia/gtk-youtube-viewer requires perl-5.16.x
> 
> Hi,
> 
> Since updating to 3.0.7, youtube-viewer (CLI) cannot run with
> perl-5.14.x.  Meanwhile
> gtk-youtube-viewer (GUI) works well for viewing videos by specifing ID
> or from result
> of searching with some terms yet on
> GTK+-2.24.17/perl-threaded-5.14.2_1. (I do not know
> about other functions).
> 
> Here is a snippet of error messagge from the command-line tool:
> | $ youtube-viewer
> | Perl v5.16.0 required--this is only v5.14.2, stopped at
> /usr/local/bin/youtube-viewer line 106.
> | BEGIN failed--compilation aborted at /usr/local/bin/youtube-viewer line 106.

Thanks for your Report.

Have tried 3.0.4, 3.0.5, 3.0.6, 3.0.7 Versions, all need perl 5.16.

Also must use old 3.0.3 youtube-viewer or update to lang/perl5.16 then works all version
from 3.0.4. 


I have two Solution but this is not ideal

1.

Update to lang/perl5.16

and update all yours Perl packages, as example with

Portmaster

portmaster p5-


Portupgrade

portupgrade -frc p5-\*


This works, have all Perl packages rebuild and new install original 
multimedia/gtk-youtube-viewer-3.0.7


2.

Change multimedia/gtk-youtube-viewer-3.0.7 that use old youtube-viewer-3.0.3
and use in Makefile

post-extract:
.if ! exists(${LOCALBASE}/bin/per5.16.2)
        @${RM} -f ${WRKSRC}/bin/youtube-viewer
        @${CP} -a ${FILESDIR}/youtube-viewer-3.0.3 ${WRKSRC}/bin/youtube-viewer
.endif


This works, have only changed Makefile and put in files dir

ls ./files/
youtube-viewer-3.0.3


I prefer second solution.

Regards,
nemysis


More information about the freebsd-ports mailing list