#------------------------------------------------------------------------------ # Copyright (c) 2005-2018 The Eisfair Team, team(at)eisfair(dot)org # # Creation: 25.02.2018 jed # Last Update: $Id: $ # # !!! this is not a script but an step-by-step howto !!! #------------------------------------------------------------------------------ exit 1 # - list of binaries: # # - needs the following library packages to be build: # # - needs the following packages to be build: # perl 2.8.0 1. Download source archive wget.sh https://cpan.metacpan.org/authors/id/A/AG/AGRUNDMA/Audio-Scan-0.93.tar.gz 2. Extract archive tar xvzf Audio-Scan-0.93.tar.gz 3. Change to directory cd Audio-Scan-0.93 4. Build module by execution the helper script perl Makefile.PL Warning: prerequisite Test::Warn 0 not found. Generating a Unix-style Makefile Writing Makefile for Audio::Scan Writing MYMETA.yml and MYMETA.json make DESTDIR=/data/public/perl/Audio-Scan-0.93 install Skip blib/lib/Audio/Scan.pm (unchanged) Running Mkbootstrap for Audio::Scan () chmod 644 "Scan.bs" cc -c -I. -I.. -Isrc -Iinclude -D_REENTRANT -D_GNU_SOURCE -DPERL_USE_SAFE_PUTENV -fwrapv -fno-strict-aliasing -pipe \ -fstack-protector-strong -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -O2 -g -march=i486 -Wall \ -pipe -DVERSION=\"0.93\" -DXS_VERSION=\"0.93\" -fPIC "-I/usr/lib/perl5/5.24.1/i586-linux-thread-multi/CORE" -O2 \ -Wall -Wno-unused-value -Wno-format-security Scan.c In file included from Scan.xs:26:0: src/asf.c: In function ‘_parse_file_properties’: src/asf.c:372:12: warning: variable ‘file_size’ set but not used [-Wunused-but-set-variable] uint64_t file_size; ^ In file included from Scan.xs:29:0: Isrc/mp4.c: In function ‘_mp4_parse_stsd’: Isrc/mp4.c:1210:12: warning: variable ‘entry_count’ set but not used [-Wunused-but-set-variable] uint32_t entry_count; ^ In file included from Scan.xs:32:0: src/wav.c: In function ‘get_wav_metadata’: src/wav.c:25:12: warning: variable ‘chunk_size’ set but not used [-Wunused-but-set-variable] uint32_t chunk_size; ^ In file included from Scan.xs:33:0: src/flac.c: In function ‘_flac_parse’: src/flac.c:32:7: warning: variable ‘err’ set but not used [-Wunused-but-set-variable] int err = 0; ^ In file included from Scan.xs:34:0: src/wavpack.c: In function ‘_wavpack_parse’: src/wavpack.c:32:7: warning: variable ‘err’ set but not used [-Wunused-but-set-variable] int err = 0; ^ In file included from Scan.xs:37:0: src/jenkins_hash.c: In function ‘hashlittle’: src/jenkins_hash.c:195:21: warning: unused variable ‘k8’ [-Wunused-variable] const uint8_t *k8; ^ rm -f blib/arch/auto/Audio/Scan/Scan.so LD_RUN_PATH="/usr/lib" cc -shared -O2 -g -march=i486 -Wall -pipe -fstack-protector-strong Scan.o -o blib/arch/auto/Audio/Scan/Scan.so \ -lz \ chmod 755 blib/arch/auto/Audio/Scan/Scan.so "/usr/bin/perl5.24.1" -MExtUtils::Command::MM -e 'cp_nonempty' -- Scan.bs blib/arch/auto/Audio/Scan/Scan.bs 644 Manifying 1 pod document Files found in blib/arch: installing files in blib/lib into architecture dependent library tree Installing /data/public/perl/Audio-Scan-0.93/usr/lib/perl5/site_perl/5.24.1/i586-linux-thread-multi/auto/Audio/Scan/Scan.so Installing /data/public/perl/Audio-Scan-0.93/usr/lib/perl5/site_perl/5.24.1/i586-linux-thread-multi/Audio/Scan.pm Installing /data/public/perl/Audio-Scan-0.93/usr/share/man/man3/Audio::Scan.3pm Appending installation info to /data/public/perl/Audio-Scan-0.93/usr/lib/perl5/5.24.1/i586-linux-thread-multi/perllocal.pod 6. Go to the target directory and copy the required files to the LMS directory structure. cd /data/public/perl/Audio-Scan-0.93 cd usr/lib/perl5/site_perl/5.24.1 cp -r i586-linux-thread-multi /usr/share/squeezeboxserver/CPAN/arch/ The resulting directory structure should look like this: /usr/share/squeezeboxserver/CPAN/arch/i586-linux-thread-multi/Audio /usr/share/squeezeboxserver/CPAN/arch/i586-linux-thread-multi/Audio/Scan.pm /usr/share/squeezeboxserver/CPAN/arch/i586-linux-thread-multi/auto/Audio/Scan/.packlist /usr/share/squeezeboxserver/CPAN/arch/i586-linux-thread-multi/auto/Audio/Scan/Scan.so