New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Installing Slic3r on Raspberry Pi (raspbian) Fails #2402
Comments
I was using this as a reference, but is outdated: |
When I tail the output, to see what it does: NT -D_GNU_SOURCE -DDEBIAN -fstack-protector -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -o src/libslic3r/Point.o src/libslic3r/Point.cpp And when I look at the build.log file: |
Follow this http://manual.slic3r.org/getting-slic3r/getting-slic3r#building-from-source |
That command is where the build fails at. I am following that guide specifically making sure I meet the dependencies AND invoking perl as root. The direct link to the guide is: I have heard that installing VX cannot be done via SSH shell, so I am attempting to build it as a logged in user at the terminal itself.. I should know shortly, but I doubt it. Are there any known gotyas with attempting to build Slic3r on Raspbian for Raspberry Pi? Failing that, is there just a simple, trusted place to get the BINARIES from for Raspbian (different architecture than 86)? |
You should follow the Linux guide, not the Windows one. Anyway, you could try with:
and if that fails, you can paste the full output here. |
App::cpanminus is up to date. (1.7019) |
I accidently linked to the Windows guide, but I was actually using the Linux guide.. namely.. using perl to run the Build.PL file. I've attempted to run the Build.PL script inside a SSH session, directly from terminal, as root, and as running as a normal user... no luck. It errors out with FAIL at the end. I think it has a bad build dependency but it's not giving me very useful compilation errors. |
Hi, I had the same problem that XS.c could not be compiled. At my rasbpi system was due to too less memory - i saw it during the build process (using the "top" command) that even the swap space was fully used. For me it helped to increase the swap space from 100 MB to 500 MB through editing the file /etc/dphys-swapfile and altering the line CONF_SWAPSIZE=100 to CONF_SWAPSIZE=500 after this remount the swap with sudo /etc/init.d/dphys-swapfile stop and rerun the build process. Good luck - and let me know if you succeeded! - If yes we should post this possible solution on the site http://entropyprojects.blogspot.co.at/2012/08/slic3r-on-raspberry-pi.html |
This looks likes it's resolved, closing. Please reopen if it isn't. |
This topic is old, but I have not found any other Slic3r release for the Raspberry Pi. |
I'm attempting to follow the steps necessary to build Slic3r on a Raspberry Pi (using raspbian).
Invoking 'perl Build.PL' results in a long compilation, followed by a fatal error:
Can't locate Slic3r/XS.pm in @inc (@inc contains: /home/pi/slicertest/Slic3r/lib /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at /home/pi/slicertest/Slic3r/lib/Slic3r.pm line 38.
BEGIN failed--compilation aborted at /home/pi/slicertest/Slic3r/lib/Slic3r.pm line 38.
Compilation failed in require at ./slic3r.pl line 15.
BEGIN failed--compilation aborted at ./slic3r.pl line 15.
All attempts at searching for this type of issue on Google seem to show other people's attempts.. but that was in 2012.
The text was updated successfully, but these errors were encountered: