Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to install Alien::SDL on OSX #298

Open
dmah42 opened this issue Jan 12, 2022 · 0 comments
Open

Unable to install Alien::SDL on OSX #298

dmah42 opened this issue Jan 12, 2022 · 0 comments

Comments

@dmah42
Copy link

dmah42 commented Jan 12, 2022

seems like there might be some checksum mismatch for jpegsrc when installing Alien::SDL from cpan:

$ cpanm SDL
--> Working on SDL
Fetching http://www.cpan.org/authors/id/F/FR/FROGGS/SDL-2.548.tar.gz ... OK
==> Found dependencies: Alien::SDL
--> Working on Alien::SDL
Fetching http://www.cpan.org/authors/id/F/FR/FROGGS/Alien-SDL-1.446.tar.gz ... OK
Configuring Alien-SDL-1.446 ... OK
Building and testing Alien-SDL-1.446 ... FAIL
! Installing Alien::SDL failed. See /Users/dma/.cpanm/work/1642017458.60290/build.log for details. Retry with --force to force install it.
! Installing the dependencies failed: Module 'Alien::SDL' is not installed
! Bailing out the installation for SDL-2.548.

build log for Alien::SDL:

cpanm (App::cpanminus) 1.7044 on perl 5.030003 built for darwin-thread-multi-2level
Work directory is /Users/dma/.cpanm/work/1642017491.60358
You have make /usr/bin/make
You have LWP 6.44
You have /usr/bin/tar: bsdtar 3.5.1 - libarchive 3.5.1 zlib/1.2.11 liblzma/5.0.5 bz2lib/1.0.8
You have /usr/bin/unzip
Searching Alien::SDL () on cpanmetadb ...
--> Working on Alien::SDL
Fetching http://www.cpan.org/authors/id/F/FR/FROGGS/Alien-SDL-1.446.tar.gz
-> OK
Unpacking Alien-SDL-1.446.tar.gz
Entering Alien-SDL-1.446
Checking configure dependencies from META.json
Checking if you have File::Path 2.08 ... Yes (2.16)
Checking if you have Archive::Extract 0 ... Yes (0.88)
Checking if you have File::Spec 0 ... Yes (3.78)
Checking if you have File::Which 0 ... Yes (1.23)
Checking if you have Digest::SHA 0 ... Yes (6.02)
Checking if you have File::Find 0 ... Yes (1.36)
Checking if you have Capture::Tiny 0 ... Yes (0.48)
Checking if you have File::ShareDir 0 ... Yes (1.116)
Checking if you have File::Fetch 0.24 ... Yes (0.56)
Checking if you have ExtUtils::Install 1.46 ... Yes (2.14)
Checking if you have Text::Patch 1.4 ... Yes (1.8)
Checking if you have Module::Build 0.38 ... Yes (0.4231)
Configuring Alien-SDL-1.446
Running Build.PL
Welcome to Alien::SDL module installation
-----------------------------------------
checking operating system... darwin
checking for cc... yes
checking build system type... darwin-thread-multi-2level
checking platform specific module... using 'My::Builder::Unix'
checking SDL_INST_DIR env var... no
checking for config script... no
checking for pthread... no
checking for SDL... no
checking for z... no
checking for jpeg... no
checking for tiff... no
checking for png... yes
checking for SDL_image... no
checking for ogg... no
checking for vorbis... no
checking for vorbisfile... no
checking for SDL_mixer... no
checking for freetype... yes
checking for SDL_ttf... no
checking for SDL_gfx... no
checking for pangoft2... no
--> Working on Tk
Fetching http://www.cpan.org/authors/id/S/SR/SREZIC/Tk-804.036.tar.gz ... OK
cpanm (App::cpanminus) 1.7044 on perl 5.030003 built for darwin-thread-multi-2level
Work directory is /Users/dma/.cpanm/work/1642017491.60358
You have make /usr/bin/make
You have LWP 6.44
You have /usr/bin/tar: bsdtar 3.5.1 - libarchive 3.5.1 zlib/1.2.11 liblzma/5.0.5 bz2lib/1.0.8
You have /usr/bin/unzip
Searching Alien::SDL () on cpanmetadb ...
--> Working on Alien::SDL
Fetching http://www.cpan.org/authors/id/F/FR/FROGGS/Alien-SDL-1.446.tar.gz
-> OK
Unpacking Alien-SDL-1.446.tar.gz
Entering Alien-SDL-1.446
Checking configure dependencies from META.json
Checking if you have File::Path 2.08 ... Yes (2.16)
Checking if you have Archive::Extract 0 ... Yes (0.88)
Checking if you have File::Spec 0 ... Yes (3.78)
Checking if you have File::Which 0 ... Yes (1.23)
Checking if you have Digest::SHA 0 ... Yes (6.02)
Checking if you have File::Find 0 ... Yes (1.36)
Checking if you have Capture::Tiny 0 ... Yes (0.48)
Checking if you have File::ShareDir 0 ... Yes (1.116)
Checking if you have File::Fetch 0.24 ... Yes (0.56)
Checking if you have ExtUtils::Install 1.46 ... Yes (2.14)
Checking if you have Text::Patch 1.4 ... Yes (1.8)
Checking if you have Module::Build 0.38 ... Yes (0.4231)
Configuring Alien-SDL-1.446
Running Build.PL
Welcome to Alien::SDL module installation
-----------------------------------------
checking operating system... darwin
checking for cc... yes
checking build system type... darwin-thread-multi-2level
checking platform specific module... using 'My::Builder::Unix'
checking SDL_INST_DIR env var... no
checking for config script... no
checking for pthread... no
checking for SDL... no
checking for z... no
checking for jpeg... no
checking for tiff... no
checking for png... yes
checking for SDL_image... no
checking for ogg... no
checking for vorbis... no
checking for vorbisfile... no
checking for SDL_mixer... no
checking for freetype... yes
checking for SDL_ttf... no
checking for SDL_gfx... no
checking for pangoft2... no
checking for pango... no
checking for gobject... no
checking for gmodule... no
checking for glib... no
checking for fontconfig... yes
checking for expat... no
checking for SDL_Pango... no
checking for prebuilt binaries... no

You have the following options:
[1] Source code build
    z(v1.2.5) jpeg(v8b) tiff(v3.9.1) SDL_image(v1.2.11) ogg(v1.3.0) vorbis(v1.3.3) SDL_mixer(v1.2.12) SDL_ttf(v2.0.11) SDL_gfx(v2.0.25)
[2] Quit installation

What way do you wanna go? [1 ]1
Using source code build
    z(v1.2.5) jpeg(v8b) tiff(v3.9.1) SDL_image(v1.2.11) ogg(v1.3.0) vorbis(v1.3.3) SDL_mixer(v1.2.12) SDL_ttf(v2.0.11) SDL_gfx(v2.0.25)
Created MYMETA.yml and MYMETA.json
Creating new 'Build' script for 'Alien-SDL' version '1.446'
-> OK
Checking dependencies from MYMETA.json ...
Checking if you have Digest::SHA 0 ... Yes (6.02)
Checking if you have File::Find 0 ... Yes (1.36)
Checking if you have File::Path 2.08 ... Yes (2.16)
Checking if you have File::Spec 0 ... Yes (3.78)
Checking if you have Archive::Extract 0 ... Yes (0.88)
Checking if you have File::Which 0 ... Yes (1.23)
Checking if you have ExtUtils::CBuilder 0 ... Yes (0.280231)
Checking if you have Archive::Tar 0 ... Yes (2.32)
Checking if you have File::Temp 0 ... Yes (0.2309)
Checking if you have Text::Patch 1.4 ... Yes (1.8)
Checking if you have Module::Build 0.36 ... Yes (0.4231)
Checking if you have Capture::Tiny 0 ... Yes (0.48)
Checking if you have File::ShareDir 1.00 ... Yes (1.116)
Checking if you have Archive::Zip 0 ... Yes (1.68)
Checking if you have File::Fetch 0.24 ... Yes (0.56)
Building and testing Alien-SDL-1.446
Build option used:
        Source code build
    z(v1.2.5) jpeg(v8b) tiff(v3.9.1) SDL_image(v1.2.11) ogg(v1.3.0) vorbis(v1.3.3) SDL_mixer(v1.2.12) SDL_ttf(v2.0.11) SDL_gfx(v2.0.25)
Building Alien-SDL
Fetching 'http://froggs.de/libz/zlib-1.2.5.tar.gz'...
Checking checksum for 'download/zlib-1.2.5.tar.gz'...
Fetching 'http://www.ijg.org/files/jpegsrc.v8b.tar.gz'...
###WARN## checksum for file download/jpegsrc.v8b.tar.gz is 34e86575444c59bef6c4c65e14e7188defbc547a but we expect 15dc1939ea1a5b9d09baea11cceb13ca59e4f9df
###ERROR### Checksum failed 'download/jpegsrc.v8b.tar.gz' at inc/My/Builder.pm line 161.
Checking checksum for 'download/jpegsrc.v8b.tar.gz'...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant