Welcome! Log In Create A New Profile

Advanced

[FIXED] [Linux][Slic3r]Host configureFirst.sh /XS compile failed

Posted by jpabraham 
[FIXED] [Linux][Slic3r]Host configureFirst.sh /XS compile failed
May 14, 2014 06:26AM
Hi !

I'm running our favourite host on the 14.04 LTS last ubuntu distro. I'm encountering some trouble here :
! Failed to download [www.cpan.org]
! Failed to fetch distribution ExtUtils-ParseXS-3.18_04
--> Working on ./xs
Configuring /home/jpabraham/RepetierHost/Slic3r/xs ... OK
Building and testing Slic3r-XS-0.01 ... FAIL
! Installing ./xs failed. See /home/jpabraham/.cpanm/work/1400058539.5627/build.log for details. Retry with --force to force install it.
The XS/C++ code failed to compile, aborting
App::cpanminus is up to date. (1.7004)
OpenGL is up to date. (0.6703)
Wx is up to date. (0.9923)
Wx::GLCanvas is up to date. (0.09)


I controled here : [www.cpan.org] and XS v3.18 seems to be out dated.

I openned the configureFirst.sh script, but the XS installation is in somewhere else... I think in "installDependenciesDebian"
I openned the "installDependenciesDebian. To locate wich line fail, I'm searching wich last line seems to work... ... ah ! "sudo perl Build.PL"
Go into /Slic3r
open Build.PL
ctrl+f : 3.18 to local the outdated download link

line 127

replace
system $cpanm, 'SMUELLER/ExtUtils-ParseXS-3.18_04.tar.gz';

by
system $cpanm, 'SMUELLER/ExtUtils-ParseXS-3.24.tar.gz';

Save the PERL script

re execute sh configFirst.sh

Tadaaa ! Working like a charm. smiling smiley My repetier is now fonctionnal grinning smiley
Re: [FIXED] [Linux][Slic3r]Host configureFirst.sh /XS compile failed
June 23, 2014 06:55AM
Hello, Thanks for the fix. I'm running Ubuntu 14.04 . I have changed then I can correctly Install XS, however I have a Problem when I try to Slice (V. 1.2.0-dev) and the Perl 5, version 18, subversion 1 (v5.18.1) return:

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

I attach some screenshots. have any idea ?

Edited 2 time(s). Last edit at 06/23/2014 06:58AM by orboe_juggler.
Attachments:
open | download - Screenshot from 2014-06-23 12:20:21.png (162.1 KB)
open | download - Screenshot from 2014-06-23 12:20:21.png (162.1 KB)
open | download - Screenshot from 2014-06-23 12:16:28.png (167.3 KB)
Sorry, only registered users may post in this forum.

Click here to login