discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

locale bug

MD
Michele Denber
Mon, Jul 30, 2018 9:09 PM

Having (finally) built openscad 2015.03-2in Solaris 10 Sparc, I got the
following:

./openscad

terminate called after throwing an instance of 'std::runtime_error'
what():  locale::facet::_S_create_c_locale name not valid
Abort - core dumped

Here: https://github.com/openscad/openscad/blob/master/doc/testing.txt
I find:

  1. Locale errors

"terminate called after throwing an instance of 'std::runtime_error'

what(): locale::facet::_S_create_c_locale name not valid"

Is a boost/libstdc++ bug. Fix like so before running:

$ export LC_MESSAGES=

So I did

echo $LC_MESSAGES

en_US.UTF-8

LC_MESSAGES=

export LC_MESSAGES

and tried again but got the same error.  Any ideas?

         - Michele
Having (finally) built openscad 2015.03-2in Solaris 10 Sparc, I got the following: # ./openscad terminate called after throwing an instance of 'std::runtime_error' what(): locale::facet::_S_create_c_locale name not valid Abort - core dumped Here: https://github.com/openscad/openscad/blob/master/doc/testing.txt I find: 5. Locale errors "terminate called after throwing an instance of 'std::runtime_error' what(): locale::facet::_S_create_c_locale name not valid" Is a boost/libstdc++ bug. Fix like so before running: $ export LC_MESSAGES= So I did # echo $LC_MESSAGES en_US.UTF-8 # LC_MESSAGES= # export LC_MESSAGES # and tried again but got the same error. Any ideas? - Michele
TP
Torsten Paul
Tue, Jul 31, 2018 12:37 AM

On 07/30/2018 11:09 PM, Michele Denber wrote:

  what():  locale::facet::_S_create_c_locale name not valid

One of the boost tickets (https://svn.boost.org/trac10/ticket/5928)
mentions that setting LC_ALL might help

export LC_ALL=C

ciao,
Torsten.

On 07/30/2018 11:09 PM, Michele Denber wrote: >   what():  locale::facet::_S_create_c_locale name not valid > One of the boost tickets (https://svn.boost.org/trac10/ticket/5928) mentions that setting LC_ALL might help export LC_ALL=C ciao, Torsten.
MD
Michele Denber
Wed, Aug 1, 2018 12:29 AM

On 07-30-2018 8:37 PM, Torsten Paul wrote:

On 07/30/2018 11:09 PM, Michele Denber wrote:

One of the boost tickets (https://svn.boost.org/trac10/ticket/5928)
mentions that setting LC_ALL might help

export LC_ALL=C

Ah ha!  Thank you so much Torsten!  That was it.  After patching up a
subsequent crash due to a wrong opengl library, it worked!

So we now finally have Openscad, with GUI, running on Solaris 10 SPARC.

         - Michele
On 07-30-2018 8:37 PM, Torsten Paul wrote: > On 07/30/2018 11:09 PM, Michele Denber wrote: > > One of the boost tickets (https://svn.boost.org/trac10/ticket/5928) > mentions that setting LC_ALL might help > > export LC_ALL=C Ah ha! Thank you *so much* Torsten! That was it. After patching up a subsequent crash due to a wrong opengl library, it worked! So we now finally have Openscad, with GUI, running on Solaris 10 SPARC. - Michele
JL
Joseph Lenox
Wed, Aug 1, 2018 2:47 PM

You have my condolences for needing to have SW on Solaris 10 Sparc.

-- a former Solaris 10 admin

--Joseph Lenox

On Tue, Jul 31, 2018 at 7:29 PM, Michele Denber mdenber@gmx.com wrote:

On 07-30-2018 8:37 PM, Torsten Paul wrote:

On 07/30/2018 11:09 PM, Michele Denber wrote:

One of the boost tickets (https://svn.boost.org/trac10/ticket/5928)
mentions that setting LC_ALL might help

export LC_ALL=C

Ah ha!  Thank you so much Torsten!  That was it.  After patching up a
subsequent crash due to a wrong opengl library, it worked!

So we now finally have Openscad, with GUI, running on Solaris 10 SPARC.

         - Michele

OpenSCAD mailing list
Discuss@lists.openscad.org
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org

You have my condolences for needing to have SW on Solaris 10 Sparc. -- a former Solaris 10 admin --Joseph Lenox On Tue, Jul 31, 2018 at 7:29 PM, Michele Denber <mdenber@gmx.com> wrote: > On 07-30-2018 8:37 PM, Torsten Paul wrote: > > On 07/30/2018 11:09 PM, Michele Denber wrote: > > One of the boost tickets (https://svn.boost.org/trac10/ticket/5928) > mentions that setting LC_ALL might help > > export LC_ALL=C > > Ah ha! Thank you *so much* Torsten! That was it. After patching up a > subsequent crash due to a wrong opengl library, it worked! > > > > So we now finally have Openscad, with GUI, running on Solaris 10 SPARC. > > - Michele > > > _______________________________________________ > OpenSCAD mailing list > Discuss@lists.openscad.org > http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org > >
MD
Michele Denber
Thu, Aug 2, 2018 12:18 AM

On 08-01-2018 10:47 AM, Joseph Lenox wrote:

You have my condolences for needing to have SW on Solaris 10 Sparc.

It's worse than that.  I don't need to do it, I want to do it. Also
three years ago, some people doubted it could be done.  I can now claim
to have the only working copy of OpenSCAD in the world running on
Solaris 10 Sparc. [1]  All I did was build on the progress you made.
You showed the non-gui version could be built. Thanks again for all your
help.

[1] Actually, I don't really believe that but I've found that the best
way to find out if someone else has x is to claim you've got the only x
in the world.  If you just ask "Does anyone else have x?" you'll hear
nothing.  But if you say you're the only one with it, everyone else with
one will quickly let you know just to prove you wrong.

         - Michele
On 08-01-2018 10:47 AM, Joseph Lenox wrote: > You have my condolences for needing to have SW on Solaris 10 Sparc. It's worse than that. I don't need to do it, I *want* to do it. Also three years ago, some people doubted it could be done. I can now claim to have the only working copy of OpenSCAD in the world running on Solaris 10 Sparc. [1] All I did was build on the progress you made. You showed the non-gui version could be built. Thanks again for all your help. [1] Actually, I don't really believe that but I've found that the best way to find out if someone else has x is to claim you've got the only x in the world. If you just ask "Does anyone else have x?" you'll hear nothing. But if you say you're the only one with it, everyone else with one will quickly let you know just to prove you wrong. - Michele