LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-15-2018, 06:07 PM   #1
road hazard
Member
 
Registered: Nov 2015
Posts: 241

Rep: Reputation: Disabled
Question Any zap2xml experts in the audience?


Been using Linux Mint on my media/Plex server for a while and am just now getting around to setting up Emby and with my HDHomeRun. When I was using this same hardware in Windows, I found a great guide that walked me through using zap2xml to go out and grab TV listings, feed it into an epg.xml file and Emby would grab it and provide TV guide data.

Since switching to Linux, I haven't been able to find a guide that works. When I launch the zap2xml Pearl file, I get this error:

Can't locate JSON.pm in @INC (you may need to install the JSON module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.26.1 /usr/local/share/perl/5.26.1 /usr/lib/x86_64-linux-gnu/perl5/5.26 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.26 /usr/share/perl/5.26 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at zap2xml.pl line 40. See homepage for tips on installing missing modules (example: "perl -MCPAN -e shell")

Sounds simple enough, right? Seeing as how I'm a Linux newbie, I can't quite make heads or tails of the error. I went into CPAN and tried installing the JSON.pm file and I think I inched things forward a bit and started getting some sort of "missing CX? CS?" module error!?!?

So in a bit of frustration, I installed Wine and am using the Windows executable to populate the .XML file and it's working perfectly with Emby on Mint! However, if it's a simple fix, I'd like to stick with using some native Linux stuff and fix the error I see when running that Pearl file.

Any suggestions?
 
Old 08-15-2018, 06:48 PM   #2
scasey
LQ Veteran
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: CentOS 7.9.2009
Posts: 5,727

Rep: Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211
Keep installing missing perlmods from CPAN.
 
Old 08-15-2018, 08:37 PM   #3
road hazard
Member
 
Registered: Nov 2015
Posts: 241

Original Poster
Rep: Reputation: Disabled
EDIT: On second thought, maybe never mind. I don't want to keep polluting my system with CPAN stuff. I think I'll just stick to using wine and calling the Windows EXE to update my EPG on a daily basis. Thanks for trying though!

Quote:
Originally Posted by scasey View Post
Keep installing missing perlmods from CPAN.
Unfortunately, that didn't work to well; stumped:

Code:
roadhazard@mint19test:~/Downloads$ sudo cpan
[sudo] password for roadhazard: 
Loading internal null logger. Install Log::Log4perl for logging messages
Terminal does not support AddHistory.

cpan shell -- CPAN exploration and modules installation (v2.18)
Enter 'h' for help.

cpan[1]> install XS.pm
Reading '/home/roadhazard/.cpan/Metadata'
  Database was roadhazardrated on Wed, 15 Aug 2018 16:41:02 GMT
Running install for module 'XS'
Checksum for /home/roadhazard/.cpan/sources/authors/id/C/CH/CHM/PDL-2.019.tar.gz ok
Scanning cache /home/roadhazard/.cpan/build for sizes
............................................................................DONE
'YAML' not installed, will not store persistent state
---- Unsatisfied dependencies detected during ----
----           CHM/PDL-2.019.tar.gz           ----
    Devel::CheckLib [build_requires]
Running install for module 'Devel::CheckLib'
Checksum for /home/roadhazard/.cpan/sources/authors/id/M/MA/MATTN/Devel-CheckLib-1.13.tar.gz ok
Configuring M/MA/MATTN/Devel-CheckLib-1.13.tar.gz with Makefile.PL
Checking if your kit is complete...
Looks good
roadhazardrating a Unix-style Makefile
Writing Makefile for Devel::CheckLib
Writing MYMETA.yml and MYMETA.json
  MATTN/Devel-CheckLib-1.13.tar.gz
  /usr/bin/perl Makefile.PL INSTALLDIRS=site -- OK
Running make for M/MA/MATTN/Devel-CheckLib-1.13.tar.gz
cp lib/Devel/CheckLib.pm blib/lib/Devel/CheckLib.pm
cp bin/use-devel-checklib blib/script/use-devel-checklib
"/usr/bin/perl" -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/use-devel-checklib
Manifying 1 pod document
Manifying 1 pod document
  MATTN/Devel-CheckLib-1.13.tar.gz
  /usr/bin/make -- OK
Running make test
PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00-load.t ................... ok   
t/analyze-binary.t ............ 1/? 
#   Failed test 'analyze_binary ok'
#   at t/analyze-binary.t line 46.
#          got: 'Can't link/include C library 'headerfile.h', 'bazbam', aborting.
# '
#     expected: ''
# 	STDOUT: 
# 	STDERR: 

#   Failed test 'analyze_binary wrong'
#   at t/analyze-binary.t line 52.
#                   'Can't link/include C library 'headerfile.h', 'bazbam', aborting.
# '
#     doesn't match '(?^i:wrong analysis)'
# 	STDOUT: 
# 	STDERR: 
# Looks like you failed 2 tests of 2.
t/analyze-binary.t ............ Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/2 subtests 
t/bad-single-word-compiler.t .. Name "Config::STORE" used only once: possible typo at t/bad-single-word-compiler.t line 18.
t/bad-single-word-compiler.t .. ok   
t/cmdline-LIBS-INC.t .......... 1/3 
#   Failed test 'linked OK: LIBS=-lm'
#   at t/cmdline-LIBS-INC.t line 51.
# 	STDOUT: 
# 	STDERR: Can't link/include C library 'm', aborting.
# 

#   Failed test 'linked OK: LIBS=-lm, LIBS=-lbazbam, LIBS=-LDevel-Assert-testlib-L3UhfMnM'
#   at t/cmdline-LIBS-INC.t line 67.
# 	STDOUT: 
# 	STDERR: Can't link/include C library 'm', 'bazbam', aborting.
# 
# Looks like you failed 2 tests of 3.
t/cmdline-LIBS-INC.t .......... Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/3 subtests 
t/custom-function.t ........... 1/5 
#   Failed test 'failed to build: wrong result'
#   at t/custom-function.t line 75.
# 
#         incpath => 't/inc',
#         libpath => 'Devel-Assert-testlib-J9b00GWg',
#         lib => 'bazbam',
#         header => 'headerfile.h',
#         # libversion returns wrong result
#         function => 'foo();if(libversion() < 5) return 0; else return 1;'
#     
# Can't link/include C library 'headerfile.h', 'bazbam', aborting.
# 
# 	STDOUT: 
# 	STDERR: 

#   Failed test 'function exists'
#   at t/custom-function.t line 84.
#          got: 'Can't link/include C library 'headerfile.h', 'bazbam', aborting.
# '
#     expected: ''
# 	STDOUT: 
# 	STDERR: 

#   Failed test 'function exists and other function returns right value'
#   at t/custom-function.t line 84.
#          got: 'Can't link/include C library 'headerfile.h', 'bazbam', aborting.
# '
#     expected: ''
# 	STDOUT: 
# 	STDERR: 

#   Failed test 'function returns right value'
#   at t/custom-function.t line 84.
#          got: 'Can't link/include C library 'headerfile.h', 'bazbam', aborting.
# '
#     expected: ''
# 	STDOUT: 
# 	STDERR: 
# Looks like you failed 4 tests of 5.
t/custom-function.t ........... Dubious, test returned 4 (wstat 1024, 0x400)
Failed 4/5 subtests 
t/dash-l-libs.t ............... 1/1 
#   Failed test 'LIBS => '-lm -lbazbam -LDevel-Assert-testlib-3HYFnGwK''
#   at t/dash-l-libs.t line 45.
#          got: 'Can't link/include C library 'm', 'bazbam', aborting.
# '
#     expected: ''
# 	STDOUT: 
# 	STDERR: 
# Looks like you failed 1 test of 1.
t/dash-l-libs.t ............... Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/1 subtests 
t/exit_with_message.t ......... ok   
t/flags.t ..................... 1/? 
#   Failed test 'ccflags ok'
#   at t/flags.t line 44.
#          got: 'Can't link/include C library 'headerfile.h', 'bazbam', aborting.
# '
#     expected: ''
# 	STDOUT: 
# 	STDERR: 

#   Failed test 'ccflags wrong'
#   at t/flags.t line 49.
#                   'Can't link/include C library 'headerfile.h', 'bazbam', aborting.
# '
#     doesn't match '(?^i:wrong)'
# 	STDOUT: 
# 	STDERR: 
# Looks like you failed 2 tests of 2.
t/flags.t ..................... Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/2 subtests 
t/found.t ..................... 1/8 
#   Failed test 'lib => 'm''
#   at t/found.t line 53.
#          got: 'Can't link/include C library 'm', aborting.
# '
#     expected: ''
# 	STDOUT: 
# 	STDERR: 

#   Failed test '... and check_lib is true'
#   at t/found.t line 54.

#   Failed test 'lib => 'c''
#   at t/found.t line 53.
#          got: 'Can't link/include C library 'c', aborting.
# '
#     expected: ''
# 	STDOUT: 
# 	STDERR: 

#   Failed test '... and check_lib is true'
#   at t/found.t line 54.

#   Failed test 'lib => ['m', 'c']'
#   at t/found.t line 53.
#          got: 'Can't link/include C library 'm', 'c', aborting.
# '
#     expected: ''
# 	STDOUT: 
# 	STDERR: 

#   Failed test '... and check_lib is true'
#   at t/found.t line 54.

#   Failed test 'lib => 'bazbam', libpath => 'Devel-Assert-testlib-r1_4gR0b''
#   at t/found.t line 53.
#          got: 'Can't link/include C library 'bazbam', aborting.
# '
#     expected: ''
# 	STDOUT: 
# 	STDERR: 

#   Failed test '... and check_lib is true'
#   at t/found.t line 54.
# Looks like you failed 8 tests of 8.
t/found.t ..................... Dubious, test returned 8 (wstat 2048, 0x800)
Failed 8/8 subtests 
t/headers.t ................... 1/5 
#   Failed test 'incpath => '.',         header => 't/inc/headerfile.h''
#   at t/headers.t line 47.
#          got: 'Can't link/include C library 't/inc/headerfile.h', aborting.
# '
#     expected: ''
# 	STDOUT: 
# 	STDERR: 

#   Failed test 'incpath => [qw(t/inc)], header => 'headerfile.h''
#   at t/headers.t line 47.
#          got: 'Can't link/include C library 'headerfile.h', aborting.
# '
#     expected: ''
# 	STDOUT: 
# 	STDERR: 

#   Failed test 'INC => '-I. -It/inc',   header => 'headerfile.h''
#   at t/headers.t line 47.
#          got: 'Can't link/include C library 'headerfile.h', aborting.
# '
#     expected: ''
# 	STDOUT: 
# 	STDERR: 
# Looks like you failed 3 tests of 5.
t/headers.t ................... Dubious, test returned 3 (wstat 768, 0x300)
Failed 3/5 subtests 
t/multi-word-compiler.t ....... Name "Config::STORE" used only once: possible typo at t/multi-word-compiler.t line 18.
t/multi-word-compiler.t ....... ok   
t/not_found.t ................. 1/12 
#   Failed test 'missing 'foo' detected'
#   at t/not_found.t line 39.
#                   'Can't link/include C library 'm', 'foo', aborting.
# '
#     doesn't match '/^Can't link/include C library 'foo'/ms'
# Looks like you failed 1 test of 12.
t/not_found.t ................. Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/12 subtests 

Test Summary Report
-------------------
t/analyze-binary.t          (Wstat: 512 Tests: 2 Failed: 2)
  Failed tests:  1-2
  Non-zero exit status: 2
t/cmdline-LIBS-INC.t        (Wstat: 512 Tests: 3 Failed: 2)
  Failed tests:  1-2
  Non-zero exit status: 2
t/custom-function.t         (Wstat: 1024 Tests: 5 Failed: 4)
  Failed tests:  2-5
  Non-zero exit status: 4
t/dash-l-libs.t             (Wstat: 256 Tests: 1 Failed: 1)
  Failed test:  1
  Non-zero exit status: 1
t/flags.t                   (Wstat: 512 Tests: 2 Failed: 2)
  Failed tests:  1-2
  Non-zero exit status: 2
t/found.t                   (Wstat: 2048 Tests: 8 Failed: 8)
  Failed tests:  1-8
  Non-zero exit status: 8
t/headers.t                 (Wstat: 768 Tests: 5 Failed: 3)
  Failed tests:  3-5
  Non-zero exit status: 3
t/not_found.t               (Wstat: 256 Tests: 12 Failed: 1)
  Failed test:  5
  Non-zero exit status: 1
Files=12, Tests=42,  2 wallclock secs ( 0.05 usr  0.00 sys +  1.82 cusr  0.48 csys =  2.35 CPU)
Result: FAIL
Failed 8/12 test programs. 23/42 subtests failed.
Makefile:868: recipe for target 'test_dynamic' failed
make: *** [test_dynamic] Error 1
  MATTN/Devel-CheckLib-1.13.tar.gz
  /usr/bin/make test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
  reports MATTN/Devel-CheckLib-1.13.tar.gz
  CHM/PDL-2.019.tar.gz
  Has already been unwrapped into directory /home/roadhazard/.cpan/build/PDL-2.019-2
Warning: Prerequisite 'Devel::CheckLib => 1.01' for 'CHM/PDL-2.019.tar.gz' failed when processing 'MATTN/Devel-CheckLib-1.13.tar.gz' with 'make_test => NO'. Continuing, but chances to succeed are limited.
Configuring C/CH/CHM/PDL-2.019.tar.gz with Makefile.PL
Makefile.PL: OpenGL-0.6702 not found, setting $PDL::Config{USE_POGL} => 0
Types.pm.PL: using typedef long PDL_Indx
Extracting Types.pm
making PDL_B...
making PDL_S...
making PDL_US...
making PDL_L...
making PDL_IND...
making PDL_LL...
making PDL_F...
making PDL_D...
Checking if your kit is complete...
Looks good
Warning: prerequisite Devel::CheckLib 1.01 not found.
Warning: prerequisite File::Map 0.57 not found.
Warning: prerequisite Module::Compile 0.23 not found.
Writing MYMETA.yml and MYMETA.json
Writing MYMETA.yml and MYMETA.json
Trying to figure out POSIX threads support ...
	Saw pthread.h. Fine.
	Fine, your perl was linked against pthread library.
	==> Will build PDL with POSIX thread support. Gifts to TJL :-)
Trying to figure out endian-ness of machine... It is little endian
Congratulations - building PDL with bad value support (WITH_BADVAL=1)
	+ using -FLT_MAX/-DBL_MAX for floating-point bad values
Source of functions
System:      
Distribution: acosh asinh atanh erf erfc erfi infinity j0 j1 jn nan ndtri polyroots rint y0 y1 yn
   WITH_3D:  USE_POGL => 0, setting WITH_3D => 0.  Will not build TriD graphics.
   Not building PDL::IO::Browser. Turn on WITH_IO_BROWSER if this is incorrect.
Warning: Did not find libsz, necessary for HDF >= 4.2r0
Final $hdf_defs flags: '-DSWAP -DNDEBUG -DHDF -DBIG_LONGS -DIA64 -D_BSD_SOURCE -DLINUX -DGCC32'


Cannot find hdf library, libdf.a.

Please add the correct library path to Makefile.PL or install HDF

Cannot find hdf header file, hdf.h.

Please add the correct library path to Makefile.PL or install HDF

Skipping build of PDL::IO::HDF.

Cannot find GD library, (libgd.so libgd.a libgd.dll.a bgd.dll).

Please add the correct library path to Makefile.PL or install GD

.Cannot find GD header files, (gd.h).

Please add the correct library path to Makefile.PL or install GD.

Skipping build of PDL::IO::GD.

ExtUtils::F77 module not found. Ought not build PDL::Slatec
	no GSL link info (libgsl probably not available)
	no GSL include info (libgsl probably not available)

	no GSL version info found (gsl-config not installed?)


Not building GSL modules: GSL version UNKNOWN VERSION found, but need at least 1.3

Will skip build of PDL::GIS::Proj on this system

Will skip build of PDL::Transform::Proj4 on this system

ExtUtils::F77 module not found. Ought not build PDL::Minuit
roadhazardrating a Unix-style Makefile
Writing Makefile for PDL
Writing MYMETA.yml and MYMETA.json
Writing Basic/Core/Config.pm
  CHM/PDL-2.019.tar.gz
  /usr/bin/perl Makefile.PL INSTALLDIRS=site -- OK
Running make for C/CH/CHM/PDL-2.019.tar.gz
---- Unsatisfied dependencies detected during ----
----           CHM/PDL-2.019.tar.gz           ----
    File::Map [requires]
    Module::Compile [requires]
Running install for module 'File::Map'
Checksum for /home/roadhazard/.cpan/sources/authors/id/L/LE/LEONT/File-Map-0.65.tar.gz ok
Configuring L/LE/LEONT/File-Map-0.65.tar.gz with Build.PL
/usr/bin/x86_64-linux-gnu-ld: cannot find crti.o: No such file or directory
collect2: error: ld returned 1 exit status
Warning: ExtUtils::CBuilder not installed or no compiler detected
Proceeding with configuration, but compilation may fail during Build

Checking prerequisites...
  requires:
    !  PerlIO::Layers is not installed

ERRORS/WARNINGS FOUND IN PREREQUISITES.  You may wish to install the versions
of the modules indicated above before proceeding with this installation

Created MYMETA.yml and MYMETA.json
Creating new 'Build' script for 'File-Map' version '0.65'
  LEONT/File-Map-0.65.tar.gz
  /usr/bin/perl Build.PL --installdirs site -- OK
Running Build for L/LE/LEONT/File-Map-0.65.tar.gz
---- Unsatisfied dependencies detected during ----
----        LEONT/File-Map-0.65.tar.gz        ----
    PerlIO::Layers [requires]
Running install for module 'PerlIO::Layers'
Checksum for /home/roadhazard/.cpan/sources/authors/id/L/LE/LEONT/PerlIO-Layers-0.011.tar.gz ok
Configuring L/LE/LEONT/PerlIO-Layers-0.011.tar.gz with Build.PL
/usr/bin/x86_64-linux-gnu-ld: cannot find crti.o: No such file or directory
collect2: error: ld returned 1 exit status
Warning: ExtUtils::CBuilder not installed or no compiler detected
Proceeding with configuration, but compilation may fail during Build

Created MYMETA.yml and MYMETA.json
Creating new 'Build' script for 'PerlIO-Layers' version '0.011'
  LEONT/PerlIO-Layers-0.011.tar.gz
  /usr/bin/perl Build.PL --installdirs site -- OK
Running Build for L/LE/LEONT/PerlIO-Layers-0.011.tar.gz
Building PerlIO-Layers
Error: no compiler detected to compile 'lib/PerlIO/Layers.c'.  Aborting
  LEONT/PerlIO-Layers-0.011.tar.gz
  ./Build -- NOT OK
  LEONT/File-Map-0.65.tar.gz
  Has already been unwrapped into directory /home/roadhazard/.cpan/build/File-Map-0.65-1
  LEONT/File-Map-0.65.tar.gz
  Has already been prepared
Running Build for L/LE/LEONT/File-Map-0.65.tar.gz
Warning: Prerequisite 'PerlIO::Layers => 0' for 'LEONT/File-Map-0.65.tar.gz' failed when processing 'LEONT/PerlIO-Layers-0.011.tar.gz' with 'make => NO'. Continuing, but chances to succeed are limited.
Building File-Map
Error: no compiler detected to compile 'lib/File/Map.c'.  Aborting
  LEONT/File-Map-0.65.tar.gz
  ./Build -- NOT OK
Running install for module 'Module::Compile'
Checksum for /home/roadhazard/.cpan/sources/authors/id/I/IN/INGY/Module-Compile-0.37.tar.gz ok
Configuring I/IN/INGY/Module-Compile-0.37.tar.gz with Makefile.PL
Checking if your kit is complete...
Looks good
Warning: prerequisite Digest::SHA1 2.13 not found.
roadhazardrating a Unix-style Makefile
Writing Makefile for Module::Compile
Writing MYMETA.yml and MYMETA.json
  INGY/Module-Compile-0.37.tar.gz
  /usr/bin/perl Makefile.PL INSTALLDIRS=site -- OK
Running make for I/IN/INGY/Module-Compile-0.37.tar.gz
---- Unsatisfied dependencies detected during ----
----      INGY/Module-Compile-0.37.tar.gz     ----
    Digest::SHA1 [requires]
Running install for module 'Digest::SHA1'
Checksum for /home/roadhazard/.cpan/sources/authors/id/G/GA/GAAS/Digest-SHA1-2.13.tar.gz ok
Configuring G/GA/GAAS/Digest-SHA1-2.13.tar.gz with Makefile.PL
Checking if your kit is complete...
Looks good
roadhazardrating a Unix-style Makefile
Writing Makefile for Digest::SHA1
Writing MYMETA.yml and MYMETA.json
  GAAS/Digest-SHA1-2.13.tar.gz
  /usr/bin/perl Makefile.PL INSTALLDIRS=site -- OK
Running make for G/GA/GAAS/Digest-SHA1-2.13.tar.gz
cp SHA1.pm blib/lib/Digest/SHA1.pm
Running Mkbootstrap for SHA1 ()
chmod 644 "SHA1.bs"
"/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- SHA1.bs blib/arch/auto/Digest/SHA1/SHA1.bs 644
"/usr/bin/perl" "/usr/share/perl/5.26/ExtUtils/xsubpp"  -typemap '/usr/share/perl/5.26/ExtUtils/typemap' -typemap '/home/roadhazard/.cpan/build/Digest-SHA1-2.13-1/typemap'  SHA1.xs > SHA1.xsc
mv SHA1.xsc SHA1.c
x86_64-linux-gnu-gcc -c   -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g   -DVERSION=\"2.13\" -DXS_VERSION=\"2.13\" -fPIC "-I/usr/lib/x86_64-linux-gnu/perl/5.26/CORE"   SHA1.c
In file included from SHA1.xs:6:0:
/usr/lib/x86_64-linux-gnu/perl/5.26/CORE/perl.h:694:10: fatal error: sys/types.h: No such file or directory
 #include <sys/types.h>
          ^~~~~~~~~~~~~
compilation terminated.
Makefile:334: recipe for target 'SHA1.o' failed
make: *** [SHA1.o] Error 1
  GAAS/Digest-SHA1-2.13.tar.gz
  /usr/bin/make -- NOT OK
  INGY/Module-Compile-0.37.tar.gz
  Has already been unwrapped into directory /home/roadhazard/.cpan/build/Module-Compile-0.37-1
  INGY/Module-Compile-0.37.tar.gz
  Has already been prepared
Running make for I/IN/INGY/Module-Compile-0.37.tar.gz
Warning: Prerequisite 'Digest::SHA1 => 2.13' for 'INGY/Module-Compile-0.37.tar.gz' failed when processing 'GAAS/Digest-SHA1-2.13.tar.gz' with 'make => NO'. Continuing, but chances to succeed are limited.
cp lib/Module/Optimize.pod blib/lib/Module/Optimize.pod
cp lib/Module/Compile/Opt.pod blib/lib/Module/Compile/Opt.pod
cp lib/Module/Optimize.pm blib/lib/Module/Optimize.pm
cp lib/Module/Compile/Opt.pm blib/lib/Module/Compile/Opt.pm
cp lib/Module/Compile.pod blib/lib/Module/Compile.pod
cp lib/Module/Compile.pm blib/lib/Module/Compile.pm
Manifying 3 pod documents
  INGY/Module-Compile-0.37.tar.gz
  /usr/bin/make -- OK
Running make test
PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/author-pod-syntax.t .. skipped: these tests are for testing by the author
t/compile.t ............ Can't locate Digest/SHA1.pm in @INC (you may need to install the Digest::SHA1 module) (@INC contains: t/lib t inc /home/roadhazard/.cpan/build/Module-Compile-0.37-1/blib/lib /home/roadhazard/.cpan/build/Module-Compile-0.37-1/blib/arch /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.26.1 /usr/local/share/perl/5.26.1 /usr/lib/x86_64-linux-gnu/perl5/5.26 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.26 /usr/share/perl/5.26 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base .) at /home/roadhazard/.cpan/build/Module-Compile-0.37-1/blib/lib/Module/Compile.pm line 10.
BEGIN failed--compilation aborted at /home/roadhazard/.cpan/build/Module-Compile-0.37-1/blib/lib/Module/Compile.pm line 10.
Compilation failed in require at t/TestModuleCompile.pm line 6.
BEGIN failed--compilation aborted at t/TestModuleCompile.pm line 6.
Compilation failed in require at t/compile.t line 2.
BEGIN failed--compilation aborted at t/compile.t line 2.
t/compile.t ............ Dubious, test returned 2 (wstat 512, 0x200)
No subtests run 
t/data1.t .............. Can't locate Digest/SHA1.pm in @INC (you may need to install the Digest::SHA1 module) (@INC contains: t/lib t inc /home/roadhazard/.cpan/build/Module-Compile-0.37-1/blib/lib /home/roadhazard/.cpan/build/Module-Compile-0.37-1/blib/arch /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.26.1 /usr/local/share/perl/5.26.1 /usr/lib/x86_64-linux-gnu/perl5/5.26 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.26 /usr/share/perl/5.26 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base .) at /home/roadhazard/.cpan/build/Module-Compile-0.37-1/blib/lib/Module/Compile.pm line 10.
BEGIN failed--compilation aborted at /home/roadhazard/.cpan/build/Module-Compile-0.37-1/blib/lib/Module/Compile.pm line 10.
Compilation failed in require at t/TestModuleCompile.pm line 6.
BEGIN failed--compilation aborted at t/TestModuleCompile.pm line 6.
Compilation failed in require at t/data1.t line 2.
BEGIN failed--compilation aborted at t/data1.t line 2.
t/data1.t .............. Dubious, test returned 2 (wstat 512, 0x200)
No subtests run 
t/fold_blocks.t ........ Can't locate Digest/SHA1.pm in @INC (you may need to install the Digest::SHA1 module) (@INC contains: t/lib t inc /home/roadhazard/.cpan/build/Module-Compile-0.37-1/blib/lib /home/roadhazard/.cpan/build/Module-Compile-0.37-1/blib/arch /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.26.1 /usr/local/share/perl/5.26.1 /usr/lib/x86_64-linux-gnu/perl5/5.26 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.26 /usr/share/perl/5.26 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base .) at /home/roadhazard/.cpan/build/Module-Compile-0.37-1/blib/lib/Module/Compile.pm line 10.
BEGIN failed--compilation aborted at /home/roadhazard/.cpan/build/Module-Compile-0.37-1/blib/lib/Module/Compile.pm line 10.
Compilation failed in require at t/TestModuleCompile.pm line 6.
BEGIN failed--compilation aborted at t/TestModuleCompile.pm line 6.
Compilation failed in require at t/fold_blocks.t line 2.
BEGIN failed--compilation aborted at t/fold_blocks.t line 2.
t/fold_blocks.t ........ Dubious, test returned 2 (wstat 512, 0x200)
No subtests run 
t/lexical.t ............ Can't locate Digest/SHA1.pm in @INC (you may need to install the Digest::SHA1 module) (@INC contains: t/lib t inc /home/roadhazard/.cpan/build/Module-Compile-0.37-1/blib/lib /home/roadhazard/.cpan/build/Module-Compile-0.37-1/blib/arch /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.26.1 /usr/local/share/perl/5.26.1 /usr/lib/x86_64-linux-gnu/perl5/5.26 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.26 /usr/share/perl/5.26 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base .) at /home/roadhazard/.cpan/build/Module-Compile-0.37-1/blib/lib/Module/Compile.pm line 10.
BEGIN failed--compilation aborted at /home/roadhazard/.cpan/build/Module-Compile-0.37-1/blib/lib/Module/Compile.pm line 10.
Compilation failed in require at t/TestModuleCompile.pm line 6.
BEGIN failed--compilation aborted at t/TestModuleCompile.pm line 6.
Compilation failed in require at t/lexical.t line 2.
BEGIN failed--compilation aborted at t/lexical.t line 2.
t/lexical.t ............ Dubious, test returned 2 (wstat 512, 0x200)
No subtests run 
t/orz.t ................ Can't locate Digest/SHA1.pm in @INC (you may need to install the Digest::SHA1 module) (@INC contains: t inc /home/roadhazard/.cpan/build/Module-Compile-0.37-1/blib/lib /home/roadhazard/.cpan/build/Module-Compile-0.37-1/blib/arch /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.26.1 /usr/local/share/perl/5.26.1 /usr/lib/x86_64-linux-gnu/perl5/5.26 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.26 /usr/share/perl/5.26 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base .) at /home/roadhazard/.cpan/build/Module-Compile-0.37-1/blib/lib/Module/Compile.pm line 10.
BEGIN failed--compilation aborted at /home/roadhazard/.cpan/build/Module-Compile-0.37-1/blib/lib/Module/Compile.pm line 10.
Compilation failed in require at t/orz.t line 5.
BEGIN failed--compilation aborted at t/orz.t line 5.
t/orz.t ................ Dubious, test returned 2 (wstat 512, 0x200)
No subtests run 
t/parse.t .............. Can't locate Digest/SHA1.pm in @INC (you may need to install the Digest::SHA1 module) (@INC contains: t/lib t inc /home/roadhazard/.cpan/build/Module-Compile-0.37-1/blib/lib /home/roadhazard/.cpan/build/Module-Compile-0.37-1/blib/arch /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.26.1 /usr/local/share/perl/5.26.1 /usr/lib/x86_64-linux-gnu/perl5/5.26 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.26 /usr/share/perl/5.26 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base .) at /home/roadhazard/.cpan/build/Module-Compile-0.37-1/blib/lib/Module/Compile.pm line 10.
BEGIN failed--compilation aborted at /home/roadhazard/.cpan/build/Module-Compile-0.37-1/blib/lib/Module/Compile.pm line 10.
Compilation failed in require at t/TestModuleCompile.pm line 6.
BEGIN failed--compilation aborted at t/TestModuleCompile.pm line 6.
Compilation failed in require at t/parse.t line 2.
BEGIN failed--compilation aborted at t/parse.t line 2.
t/parse.t .............. Dubious, test returned 2 (wstat 512, 0x200)
No subtests run 
t/pm.t ................. Can't locate Digest/SHA1.pm in @INC (you may need to install the Digest::SHA1 module) (@INC contains: t/lib t inc /home/roadhazard/.cpan/build/Module-Compile-0.37-1/blib/lib /home/roadhazard/.cpan/build/Module-Compile-0.37-1/blib/arch /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.26.1 /usr/local/share/perl/5.26.1 /usr/lib/x86_64-linux-gnu/perl5/5.26 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.26 /usr/share/perl/5.26 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base .) at /home/roadhazard/.cpan/build/Module-Compile-0.37-1/blib/lib/Module/Compile.pm line 10.
BEGIN failed--compilation aborted at /home/roadhazard/.cpan/build/Module-Compile-0.37-1/blib/lib/Module/Compile.pm line 10.
Compilation failed in require at t/TestModuleCompile.pm line 6.
BEGIN failed--compilation aborted at t/TestModuleCompile.pm line 6.
Compilation failed in require at t/pm.t line 2.
BEGIN failed--compilation aborted at t/pm.t line 2.
t/pm.t ................. Dubious, test returned 2 (wstat 512, 0x200)
No subtests run 
t/pmc.t ................ Can't locate Digest/SHA1.pm in @INC (you may need to install the Digest::SHA1 module) (@INC contains: t/lib t inc /home/roadhazard/.cpan/build/Module-Compile-0.37-1/blib/lib /home/roadhazard/.cpan/build/Module-Compile-0.37-1/blib/arch /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.26.1 /usr/local/share/perl/5.26.1 /usr/lib/x86_64-linux-gnu/perl5/5.26 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.26 /usr/share/perl/5.26 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base .) at /home/roadhazard/.cpan/build/Module-Compile-0.37-1/blib/lib/Module/Compile.pm line 10.
BEGIN failed--compilation aborted at /home/roadhazard/.cpan/build/Module-Compile-0.37-1/blib/lib/Module/Compile.pm line 10.
Compilation failed in require at t/TestModuleCompile.pm line 6.
BEGIN failed--compilation aborted at t/TestModuleCompile.pm line 6.
Compilation failed in require at t/pmc.t line 2.
BEGIN failed--compilation aborted at t/pmc.t line 2.
t/pmc.t ................ Dubious, test returned 2 (wstat 512, 0x200)
No subtests run 

snip
There's more to the error but I exceeded the word count for posting. I'll try and attach a txt file.
Attached Files
File Type: txt zap2xml error.txt (35.6 KB, 11 views)

Last edited by road hazard; 08-15-2018 at 08:43 PM.
 
Old 08-16-2018, 01:15 PM   #4
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,980

Rep: Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624
Way to many errors. Looks more like nothing is installed over installed. Wonder what has failed? How did you install perl?

How do you like Emby on Linux? Or are you using it behind the scenes and running Plex for live and recorded?
 
Old 08-16-2018, 01:47 PM   #5
road hazard
Member
 
Registered: Nov 2015
Posts: 241

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by jefro View Post
Way to many errors. Looks more like nothing is installed over installed. Wonder what has failed? How did you install perl?

How do you like Emby on Linux? Or are you using it behind the scenes and running Plex for live and recorded?
I'm using a fresh install of Linux Mint 19. I -BELIEVE- Mint comes with Perl pre-installed?!

For me, Emby on Linux kinda sucks. I thought about adding my Movies/TV shows to it and ditching Plex but the main reason I didn't was because of some weird memory leak. After I add my media to Emby, every time I open a web browser and go into the Emby console and click on 'Movies', memory usage of the Emby app jumps by 20-50 megs. If I go into a configuration page and click on my 'Movies' library again, Emby consumes another 50 or so megs of RAM. I can keep doing this and memory usage just keeps climbing. Or, if I add my huge library and let Emby sit overnight, by the morning, Emby is consuming about 90-95% of my 16 gigs of RAM, despite no active streams. I've been on their forum to complain about this and Luke looked into it but they can't reproduce it and I just kept being told to keep trying new server builds. After a year or so, I've given up hope that they'll ever be able to fix it. Another problem, Emby doesn't do as good as job of transcoding movies shot on my 1080i video camera as Plex does. Maybe their ffmpeg settings don't like my 25Mbps bitrate videos?!

The only thing I use Emby for is so my brother can stream live TV from me. Emby talks to my HDHR and he streams my local stations to his house on the other side of the state. Plex allows streaming TV from the HDHR (HDHomeRun) but only for "in network" connections. If Plex would ever allow remote TV streaming, I'd ditch Emby completely.

I checked on things today and Wine went out and ran the zap2xml.exe file and it updated the TV data for Emby perfectly fine. I really think I'll just stick with using Wine.
 
Old 08-16-2018, 02:36 PM   #6
scasey
LQ Veteran
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: CentOS 7.9.2009
Posts: 5,727

Rep: Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211
Quote:
Originally Posted by road hazard View Post
EDIT: On second thought, maybe never mind. I don't want to keep polluting my system with CPAN stuff. I think I'll just stick to using wine and calling the Windows EXE to update my EPG on a daily basis. Thanks for trying though!
Not arguing with your decision to use wine, but wanted to object to your use of the word "polluting"

If one wants to run a perl applicaion that requires several perl modules, installing those perlmods is simply a requirement of the application. Sure, they might consume some disk space, but I'd hardly call that "polluting [a] system."

It would be interesting to know if configuring your system to be able to run zap2xml actually works to your purpose, but it's (obviously) your call.
 
Old 08-16-2018, 06:07 PM   #7
road hazard
Member
 
Registered: Nov 2015
Posts: 241

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by scasey View Post
Not arguing with your decision to use wine, but wanted to object to your use of the word "polluting"

If one wants to run a perl applicaion that requires several perl modules, installing those perlmods is simply a requirement of the application. Sure, they might consume some disk space, but I'd hardly call that "polluting [a] system."

It would be interesting to know if configuring your system to be able to run zap2xml actually works to your purpose, but it's (obviously) your call.
First, some backstory.

I've used Windows for decades. I'm very comfortable with it and if I install 20 programs and they all suck, I know exactly where to go to delete every. last. trace. of them. I've only been using Linux for a couple years and I still consider myself a newbie with it. After trying every distro under the sun, I settled on Antergos for my main PC and Mint for my Plex/media server. It's been an adventure though! I forced myself to try pure Arch and got it installed and a DE loaded and man did that suck! WAYYYYYYYYYYYYYYYYYYYYY to complicated, to a Windows user. IMHO, pure Arch is unnecessarily complicated to install. I know, I know... Arch is what you make of it and teaches you some basics about Linux. Well, that it did. I learned a LOT when it came to getting Arch up and running. I learned that I hated it. I'd much rather have a GUI for the install. In this day and age, I don't have time to hand build an Arch install starting from the command line. To a seasoned Linux guru, I'm sure it's a walk in the park but for me, no thanks. But I love the idea of a rolling distro so I can have the newest packages. I do some lite gaming on my Antergos PC so keeping everything up to date, to me, seems like a good idea.

Now for my media server, I wanted a rock solid distro that had a great set of training wheels. From reading around, this led me to the Debian world. I tried plain Debian and had some minor issues. Then I looked at Ubuntu and at the time, their Unity interface drove me straight into the arms of Mint Cinnamon where I've been ever since. I love the stability Mint gives me (I know, it's based on Ubuntu which is based on Debian) but it stinks that packages start to stagnate after time. Guess that's the price for stability?

My media server has a boot SSD drive and MDADM arrays (that are backed up nightly) that hold precious home movies, tens of thousands digital pictures and movies/TV shows. 100% up-time is critical. If I screwed around too much with it, I'm terrified that I would bring it down or corrupt something. I'm confident that if I putz it up, I could fully recover in a few hours but I don't want to risk installing all sorts of modules and extra stuff that if things don't work out, will be left on my drive and might break some application later down the road. This is why I think of all these CPAN modules as 'polluting' the ecosystem. I have the base Mint OS on there, Plex, Emby, Sonarr, Radarr and MKVToolNix. That's it! If I don't HAVE to install anything else to get these programs running, I don't want to.

With Zap2XML, if something easier comes along, I'll simply use apt to remove Wine and be done with it. If I install all these Perl/CPAN modules and something better comes along, I have no idea how to go back and remove all traces of CPAN modules on a Linux box (due to a lack of knowledge) or all the extra Perl modules I might have needed to get Zap2XML working.

I hope that makes sense and you can understand where I'm coming from. I'll mark this as solved as Wine is doing what I need it to do perfectly. (It still floors me that I can run Windows EXE's under Linux..... I've known about Wine for YEARS but it still brings a smile to my face having that compatibility.)
 
  


Reply

Tags
linux mint



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
an audience for proprietary software ? NeoLux Linux - General 32 01-10-2017 02:09 PM
Comparing the Security Practices of Experts and Non-Experts metaschima Linux - Security 7 08-14-2015 05:49 PM
LXer: What Is Ubuntu's Target Audience? LXer Syndicated Linux News 0 08-01-2012 09:20 PM
LXer: Laptop With a Mission Widens Its Audience LXer Syndicated Linux News 0 10-04-2007 08:10 AM
LXer: Free software audience is shrinking. LXer Syndicated Linux News 1 12-15-2006 06:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:34 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration