Skip Menu |

This queue is for tickets about the ExtUtils-CppGuess CPAN distribution.

Report information
The Basics
Id: 116067
Status: resolved
Priority: 0/
Queue: ExtUtils-CppGuess

People
Owner: Nobody in particular
Requestors: lenox.joseph [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: CppGuess fails tests due to compilation failure (obscure GCC bug)
Date: Mon, 11 Jul 2016 23:45:21 -0500
To: bug-ExtUtils-CppGuess [...] rt.cpan.org
From: Joseph Lenox <lenox.joseph [...] gmail.com>
On Debian and Ubuntu, the order for the libraries is apparently incorrect for the compiler that ships with the system. As a workaround we set export LDLOADLIBS=-lstdc++. I don't have the logs anymore, but attempting to build Slic3r ( http://github.com/alexrj/slic3r) on a fresh Debian or Ubuntu install w/o the workaround will show the behavior. https://travis-ci.org/alexrj/Slic3r/jobs/134324464 --Joseph Lenox
This ought to now work. I see you've just started doing a force-install of EU::CppG in your Travis etc setup - could you try with latest CppG and let me know if it doesn't work? Please use a GitHub issue if so: https://github.com/tsee/extutils-cppguess/issues - closing this as GH is easier.
By the way: I just did: git clone git@github.com:slic3r/Slic3r.git cd Slic3r sudo apt-get install libboost-all-dev BOOST_INCLUDEPATH=/usr/include BOOST_LIBRARYPATH=/usr/lib perl Build.PL with latest EUCppG installed, and it all worked fine. The latest CppG also sets for both EUMM and MB the CC variable, so you wouldn't need to set CC as an env var anymore. If you want a PR to update these things, let me know.