Zip-o-mat / Slic3r

Slic3r with integrated electronics and Nonplanar slicer (see branches)
GNU Affero General Public License v3.0
602 stars 100 forks source link

Openplanar Slic3r fails to install #30

Closed T1Il closed 4 years ago

T1Il commented 4 years ago

I am using Ubuntu WSL and am trying to install the nonplanar Slic3r.

When I am trying to build Build.PL with perl, the installation for Time::HiRes fails, because the tests fail of rounding errors.

perl Build.PL

till@DESKTOP-T1Il:~/Slic3r$ perl Build.PL
App::cpanminus is up to date. (1.7044)
Class::XSAccessor is up to date. (1.19)
Devel::CheckLib is up to date. (1.14)
Encode is up to date. (3.07)
Encode::Locale is up to date. (1.05)
ExtUtils::CppGuess is up to date. (0.21)
ExtUtils::MakeMaker is up to date. (7.46)
ExtUtils::ParseXS is up to date. (3.35)
ExtUtils::Typemap::Basic is up to date. (1.05)
File::Basename is up to date. (2.85)
File::Spec is up to date. (3.78)
Getopt::Long is up to date. (2.52)
IO::Scalar is up to date. (2.113)
Module::Build::WithXSpp is up to date. (0.14)
Moo is up to date. (2.004000)
skipping X/XS/XSAWYERX/perl-5.32.0.tar.gz
Scalar::Util is up to date. (1.55)
Test::Harness is up to date. (3.42)
Test::More is up to date. (1.302181)
Thread::Queue is up to date. (3.13)
Thread::Semaphore is up to date. (2.13)
--> Working on Time::HiRes
Fetching http://www.cpan.org/authors/id/A/AT/ATOOMIC/Time-HiRes-1.9764.tar.gz ... OK
Configuring Time-HiRes-1.9764 ... OK
Building and testing Time-HiRes-1.9764 ... FAIL
! Installing Time::HiRes failed. See /home/till/.cpanm/work/1601734879.22800/build.log for details. Retry with --force to force install it.
Unicode::Normalize is up to date. (1.26)
threads is up to date. (2.21)
threads::shared is up to date. (1.60)
The following prerequisites failed to install: Time::HiRes

If I try to build Build.PL with perl and the --gui operator it also some modules fail to install.


App::cpanminus is up to date. (1.7044)
Class::Accessor is up to date. (0.51)
Growl::GNTP is up to date. (0.21)
LWP::UserAgent is up to date. (6.49)
Net::Bonjour is up to date. (0.96)
--> Working on OpenGL
Fetching http://www.cpan.org/authors/id/C/CH/CHM/OpenGL-0.70.tar.gz ... OK
Configuring OpenGL-0.70 ... N/A
! Configure failed for OpenGL-0.70. See /home/till/.cpanm/work/1601735141.23100/build.log for details.
Don't worry, this module is optional.
Socket is up to date. (2.030)
--> Working on Wx
Fetching http://www.cpan.org/authors/id/M/MD/MDOOTSON/Wx-0.9932.tar.gz ... OK
Configuring Wx-0.9932 ... OK
Building and testing Wx-0.9932 ... FAIL
! Installing Wx failed. See /home/till/.cpanm/work/1601735144.23124/build.log for details. Retry with --force to force install it.
--> Working on Wx::GLCanvas
Fetching http://www.cpan.org/authors/id/M/MB/MBARBON/Wx-GLCanvas-0.09.tar.gz ... OK
==> Found dependencies: Wx::build::MakeMaker
--> Working on Wx::build::MakeMaker
Fetching http://www.cpan.org/authors/id/M/MD/MDOOTSON/Wx-0.9932.tar.gz ... OK
Configuring Wx-0.9932 ... OK
Building and testing Wx-0.9932 ... FAIL
! Installing Wx::build::MakeMaker failed. See /home/till/.cpanm/work/1601735237.23720/build.log for details. Retry with --force to force install it.
! Installing the dependencies failed: Module 'Wx::build::MakeMaker' is not installed
! Bailing out the installation for Wx-GLCanvas-0.09.
Don't worry, this module is optional.
The following prerequisites failed to install: Wx

CMAKE Error:

`PATH: /home/till/Slic3r/local-lib/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/mnt/c/Program Files/WindowsApps/CanonicalGroupLimited.UbuntuonWindows_2004.2020.812.0_x64__79rhkp1fndgsc:/mnt/c/Program Files/Oculus/Support/oculus-runtime:/mnt/c/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v10.2/bin:/mnt/c/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v10.2/libnvvp:/mnt/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/intel64/compiler:/mnt/c/Program Files (x86)/Common Files/Oracle/Java/javapath:/mnt/c/Windows/system32:/mnt/c/Windows:/mnt/c/Windows/System32/Wbem:/mnt/c/Windows/System32/WindowsPowerShell/v1.0/:/mnt/c/Windows/System32/OpenSSH/:/mnt/c/Program Files/Java/jdk-13.0.1/bin:/mnt/c/Program Files/dotnet/:/mnt/c/Program Files/NVIDIA Corporation/NVIDIA NvDLISR:/mnt/c/Program Files/CMake/bin:/mnt/c/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.24.28314/bin/Hostx64/x64:/mnt/c/Program Files (x86)/NVIDIA Corporation/PhysX/Common:/mnt/c/Program Files/Git/cmd:/mnt/c/Program Files/Git/mingw64/bin:/mnt/c/Program Files/Git/usr/bin:/mnt/c/Program Files/NVIDIA Corporation/Nsight Compute 2019.5.0/:/mnt/c/Program Files/nodejs/:/mnt/c/Program Files/Microsoft VS Code/bin:/mnt/c/Program Files/PuTTY/:/mnt/c/ffmpeg/bin:/mnt/c/Users/tills/AppData/Local/Prog:/mnt/c/ant/bin:/mnt/c/Users/tills/AppData/Local/Programs/Python/Python38/Scripts/:/mnt/c/Users/tills/AppData/Local/Programs/Python/Python38/:/mnt/c/Users/tills/AppData/Local/Programs/Python/Python38-32/Scripts/:/mnt/c/Users/tills/AppData/Local/Programs/Python/Python38-32/:/mnt/c/Users/tills/AppData/Local/Microsoft/WindowsApps:/mnt/c/Users/tills/AppData/Local/GitHubDesktop/bin:/mnt/c/Users/tills/AppData/Roaming/npm:/mnt/c/Program Files (x86)/FAHClient:/snap/bin
PERL5LIB: /home/till/Slic3r/local-lib/lib/perl:/home/till/Slic3r/build/local-lib/lib/perl5
Slic3r will be built with GUI support
Can't locate ExtUtils/CppGuess.pm in @INC (you may need to install the ExtUtils::CppGuess module) (@INC contains: /home/till/Slic3r/local-lib/lib/perl /home/till/Slic3r/build/local-lib/lib/perl5 /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.30.0 /usr/local/share/perl/5.30.0 /usr/lib/x86_64-linux-gnu/perl5/5.30 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.30 /usr/share/perl/5.30 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at -e line 7.
BEGIN failed--compilation aborted at -e line 7.
CMake Error at cmake/modules/FindPerlEmbed.cmake:59 (include):
  include could not find load file:

    /home/till/Slic3r/build/xs/PerlEmbed_TEMP_INCLUDE.txt
Call Stack (most recent call first):
  xs/CMakeLists.txt:368 (find_package)

--  PERL_INCLUDE_PATH      = /usr/lib/x86_64-linux-gnu/perl/5.30/CORE
--  PERL_LIBRARY           = /usr/lib/x86_64-linux-gnu/libperl.so.5.30
--  PERL_EXECUTABLE        = /usr/bin/perl
--  PERL_SITESEARCH        = UNKNOWN
--  PERL_SITELIB           = /usr/local/share/perl/5.30.0
--  PERL_VENDORARCH        = /usr/lib/x86_64-linux-gnu/perl5/5.30
--  PERL_VENDORLIB         = /usr/share/perl5
--  PERL_ARCHLIB           = /usr/lib/x86_64-linux-gnu/perl/5.30
--  PERL_PRIVLIB           = /usr/share/perl/5.30
--  PERL_EXTRA_C_FLAGS     = -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv -fno-strict-aliasing -pipe -I/usr/local/include
--  PerlEmbed_ARCHNAME     =
--  PerlEmbed_CCFLAGS      =
--  PerlEmbed_CCCDLFLAGS   =
--  LD                     =
--  PerlEmbed_LDFLAGS      =
--  PerlEmbed_LDDLFLAGS    =
CMake Error at /usr/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:146 (message):
  Could NOT find PerlEmbed (missing: PerlEmbed_CCFLAGS PerlEmbed_LDFLAGS)
  (found version "5.30.0")
Call Stack (most recent call first):
  /usr/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:393 (_FPHSA_FAILURE_MESSAGE)
  cmake/modules/FindPerlEmbed.cmake:86 (find_package_handle_standard_args)
  xs/CMakeLists.txt:368 (find_package)

-- Configuring incomplete, errors occurred!
See also "/home/till/Slic3r/build/CMakeFiles/CMakeOutput.log".
See also "/home/till/Slic3r/build/CMakeFiles/CMakeError.log".`