Welcome! Log In Create A New Profile

Advanced

Runnin Slic3r with perl 5.18

Posted by fma 
fma
Runnin Slic3r with perl 5.18
September 16, 2013 09:54AM
Hi!

I can't run anymore Slic3r on my debian sid, as 5.18 is now the current version of perl. It seems that some warnings in previous versions are now fatal in this version...

Is there something (simple) I can do, as a non perl developper, to get it work?

If not, any idea when a release compatible with perl 5.18 will be available?

Thanks,


Frédéric
fma
Re: Runnin Slic3r with perl 5.18
October 04, 2013 09:02AM
No idea?


Frédéric
Re: Runnin Slic3r with perl 5.18
November 11, 2013 02:39PM
I posted the same issue here but even afer buming and being bumped there was no answer. So it seems that the devs don't know or doesn't care.
Re: Runnin Slic3r with perl 5.18
November 13, 2013 04:08AM
If you want answers, please post the errors.

I had a problem with Test::Harness not installing, the installation log suggested to use --force to install it. So I did:

>cpan
>force install Test::Harness
when finished, ctrl^c to get out of cpan
>perl Build.PL

Success.
fma
Re: Runnin Slic3r with perl 5.18
November 13, 2013 07:55AM
Don't remember the errors, but there is a message (or maybe it is in the sources), saying that Slic3r should be run with Perl < 5.16... So, this is a known problem...


Frédéric
Re: Runnin Slic3r with perl 5.18
November 14, 2013 01:54PM
Correct. There are no errors. Other than the message,

"Running Slic3r under Perl >= 5.16 is not supported nor recommended"

I've seen situations where models get sliced off or above/below the platform with perl 5.18.

It would be a nice thing to know why 5.18 was deemed not supported so maybe it can be fixed.
fma
Re: Runnin Slic3r with perl 5.18
November 14, 2013 06:16PM
I'm unable to start Slic3r at all...

00:12:35.358 :  Perl API version v5.14.0 of Boost::Geometry::Utils does not match v5.18.0 at /usr/share/perl/5.18/XSLoader.pm line 92.
00:12:35.358 :  Compilation failed in require at /opt/RepetierHost-0.90d/Slic3r/lib/Slic3r.pm line 32.
00:12:35.358 :  BEGIN failed--compilation aborted at /opt/RepetierHost-0.90d/Slic3r/lib/Slic3r.pm line 32.
00:12:35.358 :  Compilation failed in require at /opt/RepetierHost-0.90d/Slic3r/slic3r.pl line 13.
00:12:35.358 :  BEGIN failed--compilation aborted at /opt/RepetierHost-0.90d/Slic3r/slic3r.pl line 13.

In fact, I can't even install perl deps anymore:

Can't locate Version/Requirements.pm in @INC (you may need to install the Version::Requirements module) (@INC contains: CODE(0x214d418) /home/fma/perl5/lib/perl5/i486-linux-gnu-thread-multi-64int /home/fma/perl5/lib/perl5/x86_64-linux-gnu-thread-multi /home/fma/perl5/lib/perl5 /etc/perl /usr/local/lib/perl/5.18.1 /usr/local/share/perl/5.18.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.18 /usr/share/perl/5.18 /usr/local/lib/site_perl .) at /home/fma/perl5/lib/perl5/CPAN/Meta/Prereqs.pm line 10.

If I try to install Version::Requirements:

$ cpanm Version::Requirements
--> Working on Version::Requirements
Fetching [www.cpan.org] ... OK
Can't locate Version/Requirements.pm in @INC (you may need to install the Version::Requirements module) (@INC contains: CODE(0x12f08a0) /home/fma/perl5/lib/perl5/i486-linux-gnu-thread-multi-64int /home/fma/perl5/lib/perl5/x86_64-linux-gnu-thread-multi /home/fma/perl5/lib/perl5 /etc/perl /usr/local/lib/perl/5.18.1 /usr/local/share/perl/5.18.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.18 /usr/share/perl/5.18 /usr/local/lib/site_perl .) at /home/fma/perl5/lib/perl5/CPAN/Meta/Prereqs.pm line 10.

WTF???!!!????


Frédéric
Re: Runnin Slic3r with perl 5.18
February 03, 2014 05:35PM
Quote
fma
I'm unable to start Slic3r at all...

00:12:35.358 :  Perl API version v5.14.0 of Boost::Geometry::Utils does not match v5.18.0 at /usr/share/perl/5.18/XSLoader.pm line 92.
00:12:35.358 :  Compilation failed in require at /opt/RepetierHost-0.90d/Slic3r/lib/Slic3r.pm line 32.
00:12:35.358 :  BEGIN failed--compilation aborted at /opt/RepetierHost-0.90d/Slic3r/lib/Slic3r.pm line 32.
00:12:35.358 :  Compilation failed in require at /opt/RepetierHost-0.90d/Slic3r/slic3r.pl line 13.
00:12:35.358 :  BEGIN failed--compilation aborted at /opt/RepetierHost-0.90d/Slic3r/slic3r.pl line 13.

In fact, I can't even install perl deps anymore:

Can't locate Version/Requirements.pm in @INC (you may need to install the Version::Requirements module) (@INC contains: CODE(0x214d418) /home/fma/perl5/lib/perl5/i486-linux-gnu-thread-multi-64int /home/fma/perl5/lib/perl5/x86_64-linux-gnu-thread-multi /home/fma/perl5/lib/perl5 /etc/perl /usr/local/lib/perl/5.18.1 /usr/local/share/perl/5.18.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.18 /usr/share/perl/5.18 /usr/local/lib/site_perl .) at /home/fma/perl5/lib/perl5/CPAN/Meta/Prereqs.pm line 10.

If I try to install Version::Requirements:

$ cpanm Version::Requirements
--> Working on Version::Requirements
Fetching [www.cpan.org] ... OK
Can't locate Version/Requirements.pm in @INC (you may need to install the Version::Requirements module) (@INC contains: CODE(0x12f08a0) /home/fma/perl5/lib/perl5/i486-linux-gnu-thread-multi-64int /home/fma/perl5/lib/perl5/x86_64-linux-gnu-thread-multi /home/fma/perl5/lib/perl5 /etc/perl /usr/local/lib/perl/5.18.1 /usr/local/share/perl/5.18.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.18 /usr/share/perl/5.18 /usr/local/lib/site_perl .) at /home/fma/perl5/lib/perl5/CPAN/Meta/Prereqs.pm line 10.

WTF???!!!????

I know this is a bit of an older post, but i too am having some issues on my Debian Jessie box.

I was able to compile slic3r and it opened, but it did give me quite a bit of trouble. I started with this [github.com], which got me to a point where i was able to get the Build.PL --gui to actually compile.

from here ive been basically just reading the build logs and installing manually whatever fails. Slic3r opens for me, but it crashed on the first run with this error
Running Slic3r under Perl >= 5.16 is not supported nor recommended
Not a HASH reference at /home/jc61990/Slic3r/lib/Slic3r/GUI/SimpleTab.pm line 74.

so i edited my ~/.Slic3r/slic3r.ini file and changed mode from "simple" to "expert" this allowed me to keep slic3r open, but say if i were to make a change in any text box field, if i erased what was in the box making it blank, the program would crash and give me an error
Argument "" isn't numeric in subroutine entry at /home/jc61990/Slic3r/lib/Slic3r/GUI/OptionsGroup.pm line 387.

my way around this has been to type what i want the setting to be in front of the current setting, then just backspace the rest.

now that i was able to setup slic3r the way i like, i tried to slice a file. it seemed to slice okay until i opened it up in pronterface...

it was no good at all, the entire file was all infill, even in places there should be no infill was infill, from the very bottom to the very top, and even the full width of the piece.

Looks like perl 5.18 just wont work with slic3r all the time. I dont know of a way to downgrade perl < 5.16 in jessie so my complete work around for now will be a win7 VM just for slicing.

I also saw something on thingiverse for remote slicing which i may look into. ([www.thingiverse.com])
Re: Runnin Slic3r with perl 5.18
August 27, 2014 12:35PM
Running Debian Jessie myself.
Best solution I've had is to compile perl5.14.4 from source and then edit the Build.pl script to point at the new binary.

The change to Build.PL is to replace the top line (the #! line) with the path to where you installed your self-compiled Perl (usually /usr/local/bin/perl5.14.4). I think you also need to install cpanminus directly as well.
Sorry, only registered users may post in this forum.

Click here to login