Just did a fresh Ubuntu 14.04 install only to discover that Slic3r will not

Just did a fresh Ubuntu 14.04 install only to discover that Slic3r will not run or compile [tried both methods]. Does anyone have it working under 14.04 ? If so, how ?

I think it just worked for me. I’ll try when I get home. I haven’t visited my Ubuntu partition for printing in a while

I had it running on Ubu 14.04 but now I’m using Mint Mate 17 and it’s still running.

Please describe your efforts to “run” Slic3r. We can talk about compiling it if all else fails. I have no problem using the official compiled binary.

BTW:
What video card are using?
Are you running OpenSource or proprietary drivers?
Are you using Slic3r as part of another program or stand-alone?

@Woody_Williams Found some help on another forum … seems some libraries need updating.
"replace
system $cpanm, ‘SMUELLER/ExtUtils-ParseXS-3.18_04.tar.gz’;

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

I am not a programmer so I just follow directions very carefully. Side by side though the latest precompiled Slic3r works on 12.04 but not 14.04

@William_Frick Where did you locate that information?

It was in a RepRap forum from 2 months ago … here is the post:

I’m running our favourite host on the 14.04 LTS last ubuntu distro. I’m encountering some trouble here :
! Failed to download [http://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 : [http://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

I am not a programmer so it is Greek to me ! Still can’t get the precompiled to run either though …

Hmm. @Benjamin_Malaspina is running into the same situation. I guess I’ll have to hunt for that other thread to read. You never answered my other questions, though, about your system.

I’m running on nVidia hardware, Ben’s on AMD. What are you using? Are you running proprietary drivers or open source?

The fact that you mention installDependenciesDebian and you’re having CPAN issues tells me something:

  1. You’re trying to use the Slic3r included with Repetier-Host instead of downloading it seperately (at least as far as your reply states);
  2. CPAN stands for Comprehensive Perl Archive Network and on the Slic3r download page there’s a Known Issue regarding CPAN & Ubu http://slic3r.org/download

Have you tried the fixes/suggestions offered directly from the Slic3r Project? Have you dealt with the dependencies listed here first? Especially cpanminus & libwxgtk-media2.8-dev? https://github.com/alexrj/Slic3r/wiki/Running-Slic3r-from-git-on-GNU-Linux

Have you looked inside your /home/jpabraham/.cpanm/work/1400058539.5627/build.log to see what exactly about XS & CPAN is failing?

[NOTE: Since you’ve already run installDependenciesDebian you probably have MOST of the dependancies covered, but it never hurts to check]

Not tryin to be difficult, I just need to know what you have and havn’t done (espcially since you’re “not a programmer so it is Greek” to you).

Honestly I don’t know why I’m jumping to the rescue of Slic3r. Though I primarily use it, the improvements to Cura make it worth checking out too (and the currently unstable Repetier-Hostv1 beta understands Cura).

Sorry about that … Running open source drivers on both the AMD Desktop [A10] and HP laptop [A6]. Did absolutely everything on the slic3r page before looking elsewhere. The post I quoted was from someone on the RepRap forum using Repetier host but I’m using it standalone right from Slic3r.org. No need to jump though… I still have an old desktop running 12.04 to fall back on until I solve this. Been away for a month and not printing, so I’m not worried. Thanks for your help and interest !

@Woody_Williams Found the post again and hope this clarifies things a bit.
http://forums.reprap.org/read.php?267,354971,354971#msg-354971

Also saw a mention of a Debian 3D Printing group that is working on packaging Slic3r for Debian so there is hope !

@William_Frick I’m researching this with Ben. It seems even in a VM environment compiling Slic3r 1.2 (even from Git) fails with an OpenGL issue for him – not for me.

While we’re looking into this, please tell me what video card/sub-system you’re running. I’m starting to suspect that fglrx (the proprietary AMD driver) has become a serious pain.

FYI: The Git version uses the correct ExtUtils-ParseXS-3.24.tar.gz download. The author updated his Git awhile ago.

@Woody_Williams I’ll get back to you on the video. All worked well in 12.04, it was just when I went to 14.04 that my grief began :frowning: The linked post was exactly my result from trying to compile, but even the precompiled doesn’t appear to run …

I downloaded the tar.gz for both 1.1.7 and 1.2.0 last night. Once extracted, both Slic3r executable files in /bin launch without problem on my Ubuntu 14.04 LTS 64-Bit system. I have not tried to slice anything though.

The Ubuntu 14.10 repository contains the 1.1.7 package but of course it won’t install on Ubuntu 14.04 because it depends on a newer version of Perl.

I tried to build a debian package of 1.2.0 from the Debian RC-buggy package using debuild and pbuilder. There was a series of tests at the end of compiling which ended in failure and prevented the package from building. I used pbuilder (it creates a clean chroot environment to build the binary packages) because I didn’t want to install the crapload of dependencies needed on my system. Man I think FreeCAD has less dependencies and that’s saying something!

I simply do not know enough about package building and compiling to troubleshoot this so I’ll continue to use the pre-compiled version.

Just wanted to add that the number of dependencies I was mentioning was specifically for the debian package, not for regular compiling from source. I’m pretty sure the list of build-deps could be reduced. For example one of the build-deps is libboost-all-dev, I can’t believe all libboost development packages are needed - FreeCAD sure doesn’t need them all. I might have been slightly exaggerating when I wrote it required more dependencies than FreeCAD. :stuck_out_tongue:

@Woody_Williams Sorry for the delay getting back to you on video / system. Struggling to find the info but so far I can tell you it is an AMD A8 with 16 Gb and system info yielded: Gallium 0.4 on NVE7. It is a Nvidia based graphics card EVGA Geforce GTX 600. I’ll keep digging to find which drivers are used. It is using X.org open source ‘Nouveaux display driver’

Thanks. There’s a program/function called Additional Drivers. You can find out which you’re using and change between drivers there.

Was just there and tried the 2 proprietary Nvidia options there but it still wont run the precompiled Slic3r … I may have to revert to 12.04 to make this work !

it seems you might, but there’s nothing wrong with that :wink:

Since 12.04.5 isn’t scheduled for end-of-life until April 2017, you’ve got three more good years for anything >12.04 to figure this out :stuck_out_tongue: