You are not logged in.

#1 2023-03-08 23:29:10

Ashx
Member
Registered: 2023-03-08
Posts: 2

Installing perl-sdl with SMPEG support

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

#2 2023-03-09 14:59:25

loqs
Member
Registered: 2014-03-06
Posts: 17,196

Re: Installing perl-sdl with SMPEG support

smpeg 2.0.0-2 is built for SDL2 not SDL1.

Offline

#3 2023-03-10 21:36:03

Ashx
Member
Registered: 2023-03-08
Posts: 2

Re: Installing perl-sdl with SMPEG support

Thanks for the reply

I couldn't get it to work. I'm building my program with LibVLC instead

Offline

Board footer

Powered by FluxBB