Zip-o-mat / Slic3r

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

[91%] Generating typemap failed #3

Closed sebafudi closed 5 years ago

sebafudi commented 5 years ago

Operating system type + version

Ubuntu 18.04 LTS Clean installation set up specifically for this build.

Behavior

make comand at [91%] Generating typemap

Can't locate ExtUtils/Typemaps/Basic.pm in @INC (you may need to install the ExtUtils::Typemaps::Basic module) (@INC contains: ../local-lib/lib/perl5 /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).
BEGIN failed--compilation aborted.
xs/CMakeFiles/XS.dir/build.make:107: recipe for target 'xs/typemap' failed
make[2]: *** [xs/typemap] Error 2
CMakeFiles/Makefile2:150: recipe for target 'xs/CMakeFiles/XS.dir/all' failed
make[1]: *** [xs/CMakeFiles/XS.dir/all] Error 2
Makefile:140: recipe for target 'all' failed
make: *** [all] Error 2
platsch commented 5 years ago

Can't reproduce, but it looks like ExtUtils::Typemaps::Basic module is missing. Did you:

sebafudi commented 5 years ago

I've used relative path to perl libraries. like this export PERL5LIB=../local-lib/lib/perl5 It built successfully when I've used absolute path like this export PERL5LIB=/home/<USERNAME>/Slic3r/local-lib/lib/perl5

Thanks!