Skip to content

Instantly share code, notes, and snippets.

@ology
Last active January 24, 2025 18:09
Show Gist options
  • Save ology/4f4bd4fe006ce72d2eeed83c20d03901 to your computer and use it in GitHub Desktop.
Save ology/4f4bd4fe006ce72d2eeed83c20d03901 to your computer and use it in GitHub Desktop.
cpanm Alien::RtMidi # fails on my Linux
cpanm (App::cpanminus) 1.7047 on perl 5.040000 built for x86_64-linux
Work directory is /home/gene/.cpanm/work/1737741557.397385
You have make /usr/bin/make
You have LWP 6.77
You have /usr/bin/tar: tar (GNU tar) 1.35
Copyright (C) 2023 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Written by John Gilmore and Jay Fenlason.
You have /usr/bin/unzip
Searching Alien::RtMidi () on cpanmetadb ...
--> Working on Alien::RtMidi
Fetching http://www.cpan.org/authors/id/J/JB/JBARRETT/Alien-RtMidi-0.08.tar.gz
-> OK
Unpacking Alien-RtMidi-0.08.tar.gz
Entering Alien-RtMidi-0.08
Checking configure dependencies from META.json
Checking if you have Alien::Build 1.19 ... Yes (2.83)
Checking if you have ExtUtils::MakeMaker 6.58 ... Yes (7.70)
Checking if you have Alien::Build::MM 0.32 ... Yes (2.83)
Checking if you have Alien::Build::Plugin::PkgConfig::Negotiate 1.53 ... Yes (2.83)
Configuring Alien-RtMidi-0.08
Running Makefile.PL
-> OK
Checking dependencies from MYMETA.json ...
Checking if you have Alien::Base 1.00 ... Yes (2.83)
Checking if you have Alien::Build::MM 0.32 ... Yes (2.83)
Checking if you have Mojo::DOM 0 ... Yes (undef)
Checking if you have Alien::Build::Plugin::Gather::IsolateDynamic 0.48 ... Yes (2.83)
Checking if you have Net::SSLeay 1.49 ... Yes (1.94)
Checking if you have Mozilla::CA 0 ... Yes (20240730)
Checking if you have URI::Escape 0 ... Yes (5.28)
Checking if you have Test2::V0 0 ... Yes (0.000162)
Checking if you have HTTP::Tiny 0.044 ... Yes (0.088)
Checking if you have Archive::Tar 0 ... Yes (3.02_001)
Checking if you have Alien::Build 0.32 ... Yes (2.83)
Checking if you have URI 0 ... Yes (5.28)
Checking if you have Config 0 ... Yes (5.040000)
Checking if you have ExtUtils::MakeMaker 6.52 ... Yes (7.70)
Checking if you have Mojolicious 7.00 ... Yes (9.37)
Checking if you have IO::Socket::SSL 1.56 ... Yes (2.088)
Checking if you have IO::Zlib 0 ... Yes (1.15)
Checking if you have Sort::Versions 0 ... Yes (1.62)
Checking if you have Test::Alien 0 ... Yes (2.83)
Checking if you have FFI::Platypus 1.00 ... Yes (2.08)
Building and testing Alien-RtMidi-0.08
-> FAIL Installing Alien::RtMidi failed. See /home/gene/.cpanm/work/1737741557.397385/build.log for details. Retry with --force to force install it.
gene@mopey:~/sandbox/MIDI-RtMidi-ScorePlayer$ cpanm --verbose Alien::RtMidi
cpanm (App::cpanminus) 1.7047 on perl 5.040000 built for x86_64-linux
Work directory is /home/gene/.cpanm/work/1737742163.400357
You have make /usr/bin/make
You have LWP 6.77
You have /usr/bin/tar: tar (GNU tar) 1.35
Copyright (C) 2023 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Written by John Gilmore and Jay Fenlason.
You have /usr/bin/unzip
Searching Alien::RtMidi () on cpanmetadb ...
--> Working on Alien::RtMidi
Fetching http://www.cpan.org/authors/id/J/JB/JBARRETT/Alien-RtMidi-0.08.tar.gz ... OK
Unpacking Alien-RtMidi-0.08.tar.gz
Alien-RtMidi-0.08
Alien-RtMidi-0.08/README
Alien-RtMidi-0.08/LICENSE
Alien-RtMidi-0.08/Changes
Alien-RtMidi-0.08/META.yml
Alien-RtMidi-0.08/MANIFEST
Alien-RtMidi-0.08/dist.ini
Alien-RtMidi-0.08/alienfile
Alien-RtMidi-0.08/META.json
Alien-RtMidi-0.08/Makefile.PL
Alien-RtMidi-0.08/t
Alien-RtMidi-0.08/t/alien_rtmidi.t
Alien-RtMidi-0.08/t/author-critic.t
Alien-RtMidi-0.08/lib/Alien
Alien-RtMidi-0.08/lib/Alien/RtMidi.pm
Alien-RtMidi-0.08/t/release-kwalitee.t
Alien-RtMidi-0.08/t/author-pod-syntax.t
Alien-RtMidi-0.08/patch
Alien-RtMidi-0.08/patch/0001-Add-a-method-to-reset-the-ok-flag-and-clear-the-erro.patch
Entering Alien-RtMidi-0.08
Checking configure dependencies from META.json
Checking if you have ExtUtils::MakeMaker 6.58 ... Yes (7.70)
Checking if you have Alien::Build 1.19 ... Yes (2.83)
Checking if you have Alien::Build::Plugin::PkgConfig::Negotiate 1.53 ... Yes (2.83)
Checking if you have Alien::Build::MM 0.32 ... Yes (2.83)
Running Makefile.PL
Configuring Alien-RtMidi-0.08 ... Alien::Build::Plugin::PkgConfig::Negotiate> Using PkgConfig plugin: PkgConfig::CommandLine
Alien::Build::CommandSequence> + pkgconf --exists rtmidi
Alien::Build> error in probe (will do a share install): external command failed at /home/gene/perl5/perlbrew/perls/perl-5.40.0/lib/site_perl/5.40.0/Alien/Build/CommandSequence.pm line 72.
Alien::Build> Don't panic, we will attempt a share build from source if possible.
Alien::Build> Do not file a bug unless you expected a system install to succeed.
Checking if your kit is complete...
Looks good
Generating a Unix-style Makefile
Writing Makefile for Alien::RtMidi
Writing MYMETA.yml and MYMETA.json
OK
Checking dependencies from MYMETA.json ...
Checking if you have ExtUtils::MakeMaker 6.52 ... Yes (7.70)
Checking if you have Net::SSLeay 1.49 ... Yes (1.94)
Checking if you have Test2::V0 0 ... Yes (0.000162)
Checking if you have URI 0 ... Yes (5.28)
Checking if you have FFI::Platypus 1.00 ... Yes (2.08)
Checking if you have Archive::Tar 0 ... Yes (3.02_001)
Checking if you have Alien::Base 1.00 ... Yes (2.83)
Checking if you have IO::Socket::SSL 1.56 ... Yes (2.088)
Checking if you have Mozilla::CA 0 ... Yes (20240730)
Checking if you have Sort::Versions 0 ... Yes (1.62)
Checking if you have Config 0 ... Yes (5.040000)
Checking if you have Mojolicious 7.00 ... Yes (9.37)
Checking if you have Alien::Build 0.32 ... Yes (2.83)
Checking if you have Test::Alien 0 ... Yes (2.83)
Checking if you have URI::Escape 0 ... Yes (5.28)
Checking if you have Mojo::DOM 0 ... Yes (undef)
Checking if you have Alien::Build::MM 0.32 ... Yes (2.83)
Checking if you have Alien::Build::Plugin::Gather::IsolateDynamic 0.48 ... Yes (2.83)
Checking if you have HTTP::Tiny 0.044 ... Yes (0.088)
Checking if you have IO::Zlib 0 ... Yes (1.15)
Building and testing Alien-RtMidi-0.08 ... cp lib/Alien/RtMidi.pm blib/lib/Alien/RtMidi.pm
"/home/gene/perl5/perlbrew/perls/perl-5.40.0/bin/perl" -MAlien::Build::MM=cmd -e prefix site /home/gene/perl5/perlbrew/perls/perl-5.40.0/lib/5.40.0/x86_64-linux /home/gene/perl5/perlbrew/perls/perl-5.40.0/lib/site_perl/5.40.0/x86_64-linux
Alien::Build::Plugin::PkgConfig::Negotiate> Using PkgConfig plugin: PkgConfig::CommandLine
main> prefix /home/gene/perl5/perlbrew/perls/perl-5.40.0/lib/site_perl/5.40.0/x86_64-linux/auto/share/dist/Alien-RtMidi
"/home/gene/perl5/perlbrew/perls/perl-5.40.0/bin/perl" -MAlien::Build::MM=cmd -e version 0.08
Alien::Build::Plugin::PkgConfig::Negotiate> Using PkgConfig plugin: PkgConfig::CommandLine
"/home/gene/perl5/perlbrew/perls/perl-5.40.0/bin/perl" -MAlien::Build::MM=cmd -e download
Alien::Build::Plugin::PkgConfig::Negotiate> Using PkgConfig plugin: PkgConfig::CommandLine
Alien::Build::Plugin::Core::Download> decoding html
Alien::Build::Plugin::Core::Download> candidate *https://www.music.mcgill.ca/~gary/rtmidi/release/rtmidi-6.0.0.tar.gz
Alien::Build::Plugin::Core::Download> setting version based on archive to 6.0.0
Alien::Build::Plugin::Core::Download> downloaded rtmidi-6.0.0.tar.gz
"/home/gene/perl5/perlbrew/perls/perl-5.40.0/bin/perl" -MAlien::Build::MM=cmd -e build
Alien::Build::Plugin::PkgConfig::Negotiate> Using PkgConfig plugin: PkgConfig::CommandLine
patching file rtmidi_c.cpp
patching file rtmidi_c.h
Alien::Build::CommandSequence> + ./configure --prefix=/home/gene/perl5/perlbrew/perls/perl-5.40.0/lib/site_perl/5.40.0/x86_64-linux/auto/share/dist/Alien-RtMidi --with-pic --enable-static
configure: loading site script /tmp/7q4LQNu_nW/config.site
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a race-free mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking that version numbers are coherent... checking whether to enable maintainer-specific portions of Makefiles... no
checking whether make supports nested variables... (cached) yes
checking whether make supports the include directive... yes (GNU style)
checking for g++... g++
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C++... yes
checking whether g++ accepts -g... yes
checking for g++ option to enable C++11 features... none needed
checking dependency style of g++... gcc3
checking whether g++ supports C++11 features with -std=c++11... yes
checking whether the compiler supports GNU C++... (cached) yes
checking whether g++ -std=c++11 accepts -g... (cached) yes
checking for g++ -std=c++11 option to enable C++11 features... (cached) none needed
checking dependency style of g++ -std=c++11... (cached) gcc3
checking for gcc... gcc
checking whether the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking for ar... ar
checking the archiver (ar) interface... ar
checking for ar... /usr/bin/ar
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for file... file
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for mt... mt
checking if mt is a manifest tool... no
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking how to run the C++ preprocessor... g++ -std=c++11 -E
checking for ld used by g++ -std=c++11... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ -std=c++11 linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for g++ -std=c++11 option to produce PIC... -fPIC -DPIC
checking if g++ -std=c++11 PIC flag -fPIC -DPIC works... yes
checking if g++ -std=c++11 static flag -static works... yes
checking if g++ -std=c++11 supports -c -o file.o... yes
checking if g++ -std=c++11 supports -c -o file.o... (cached) yes
checking whether the g++ -std=c++11 linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for egrep... (cached) /usr/bin/grep -E
checking for semaphore.h... yes
checking for sem_init in -lpthread... yes
checking whether to compile debug version... no
checking for doxygen... doxygen
checking for jack_client_open in -ljack... no
checking for jack_port_rename in -ljack... no
checking for snd_seq_open in -lasound... no
checking for MIDI API... none
configure: error: No known system type found for MIDI support!
external command failed at /home/gene/perl5/perlbrew/perls/perl-5.40.0/lib/site_perl/5.40.0/Alien/Build/CommandSequence.pm line 88.
make: *** [Makefile:1026: _alien/mm/build] Error 2
FAIL
! Installing Alien::RtMidi failed. See /home/gene/.cpanm/work/1737742163.400357/build.log for details. Retry with --force to force install it.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment