You are not logged in.
I am trying to install SDL::SMPEG Perl modules
For this i tried to install either SDL in cpan or perl-sdl from AUR https://aur.archlinux.org/packages/perl-sdl
The package seems to be configured to exclude SMPEG and i can't find where i set this
In the test script of the package there is this part :
if ( SDL::Config->has('smpeg') ) {
if( $ENV{SDL_RELEASE_TESTING} )
{
plan( tests => 17 );
}
else
{
plan( skip_all => "Skiping test for now. EXPERIMENTAL" );
}
} else {
plan( skip_all => ( SDL::Config->has('smpeg') ? '' : ' smpeg support not compiled' ) );
Indeed, during installation (whether from cpan or with makepkg) it says "smpeg support not compiled"
When i try to run my script, which for is pretty much down to :
use SDL::SMPEG ;
I get that it is not installed or at least not installed correctly :
./VidSetup.pm
Can't locate loadable object for module SDL::SMPEG::Info in @INC (@INC contains: ./ /home/ash/perl5/lib/perl5/x86_64-linux-thread-multi /home/ash/perl5/lib/perl5 /usr/lib/perl5/5.36/site_perl /usr/share/perl5/site_perl /usr/lib/perl5/5.36/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/5.36/core_perl /usr/share/perl5/core_perl) at /home/ash/perl5/lib/perl5/x86_64-linux-thread-multi/SDL/SMPEG.pm line 8.
Compilation failed in require at /home/ash/perl5/lib/perl5/x86_64-linux-thread-multi/SDL/SMPEG.pm line 8.
BEGIN failed--compilation aborted at /home/ash/perl5/lib/perl5/x86_64-linux-thread-multi/SDL/SMPEG.pm line 8.
Compilation failed in require at ./VidSetup.pm line 38.
BEGIN failed--compilation aborted at ./VidSetup.pm line 38.
So i am looking how to specifically do install SDL::SMPEG
Offline
smpeg 2.0.0-2 is built for SDL2 not SDL1.
Offline
Thanks for the reply
I couldn't get it to work. I'm building my program with LibVLC instead
Offline