Open hakonhagland opened 3 years ago
See /home/hakon/.cpanm/work/1608977275.1473564/build.log for details
Probably you need to install sdl
into system:
$ apt list --installed | grep sdl
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
libsdl-image1.2/bionic-updates,bionic-security,now 1.2.12-8ubuntu0.1 i386 [installed]
libsdl-mixer1.2/bionic,now 1.2.12-14 i386 [installed]
libsdl-net1.2/bionic,now 1.2.8-5 i386 [installed]
libsdl-ttf2.0-0/bionic,now 2.0.11-4 i386 [installed]
libsdl1.2debian/bionic-updates,bionic-security,now 1.2.15+dfsg2-0.1ubuntu0.1 i386 [installed]
libsdl2-2.0-0/bionic-updates,bionic-security,now 2.0.8+dfsg1-1ubuntu1.18.04.4 i386 [installed]
ffi.pl
the SDL
and SDLx::App
is not required, so you can comment them and run carton
againI have previously installed both libsdl-dev
and libsdl2-dev
(I am on Ubuntu 20.04), so I think it should not be a problem:
$ apt list --installed | grep sdl
libalien-sdl-perl/focal,focal,now 1.446-3 all [installed,automatic]
libsdl-gfx1.2-5/focal,now 2.0.25-11 amd64 [installed,automatic]
libsdl-image1.2/focal,now 1.2.12-12 amd64 [installed,automatic]
libsdl-mixer1.2/focal,now 1.2.12-16build1 amd64 [installed,automatic]
libsdl-pango1/focal,now 0.1.2-8 amd64 [installed,automatic]
libsdl-perl/focal,now 2.548-1build2 amd64 [installed,automatic]
libsdl-ttf2.0-0/focal,now 2.0.11-6 amd64 [installed,automatic]
libsdl1.2-dev/focal,now 1.2.15+dfsg2-5 amd64 [installed]
libsdl1.2debian/focal,now 1.2.15+dfsg2-5 amd64 [installed,automatic]
libsdl2-2.0-0/focal,now 2.0.10+dfsg1-3 amd64 [installed,automatic]
libsdl2-dev/focal,now 2.0.10+dfsg1-3 amd64 [installed]
In any case:
See /home/hakon/.cpanm/work/1608977275.1473564/build.log for details
For ffi.pl the SDL and SDLx::App is not required, so you can comment them and run carton again
I tried that now:
$ carton
Complete! Modules were installed into /home/hakon/test/sdl/local
$ perl ffi.pl
Can't locate FFI/Platypus.pm in @INC (you may need to install the FFI::Platypus module)
Ok, according to the documentation I needed to add /home/hakon/test/sdl/local/lib/perl5
to the include path. But still it does not find SDL2::SDL
:
$ perl -I /home/hakon/test/sdl/local/lib/perl5/ ffi.pl
Can't locate SDL2/SDL.pm in @INC (you may need to install the SDL2::SDL module)
Of course, I missed that I need to add ./lib
to the include path also. But still something is wrong:
$ perl -I /home/hakon/test/sdl/local/lib/perl5/ -I./lib ffi.pl
not a array ref or scalar: CODE(0x55c5bc6e67b8) at lib/SDL2/Pixels.pm line 511.
Added as a new issue
Installing Alien::SDL failed. See /home/hakon/.cpanm/work/1608977275.1473564/build.log for details.
Added new issue at Alien::SDL
I am trying to install this module, but
carton
is not able to install SDL: