locale bug

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

locale bug

Michele Denber
Having (finally) built openscad 2015.03-2 in 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




_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
tp3
Reply | Threaded
Open this post in threaded view
|

Re: locale bug

tp3
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.

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
-- Torsten
Reply | Threaded
Open this post in threaded view
|

Re: locale bug

Michele Denber
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
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
Reply | Threaded
Open this post in threaded view
|

Re: locale bug

Joseph Lenox
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 <[hidden email]> 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
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org



_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
Reply | Threaded
Open this post in threaded view
|

Re: locale bug

Michele Denber
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


_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org