bugGNU Octave - Bugs: bug #40422, build and cli-version ofoctave not...

 
 

bug #40422: build and cli-version ofoctave not working with LC_NUMERIC=de_DE.UTF-8

Submitted by:  Torsten Lilge <ttl>
Submitted on:  Tue 29 Oct 2013 09:11:47 PM UTC  
 
Category:  Configuration and Build System Severity:  5 - Blocker
Priority:  5 - Normal Item Group:  Incorrect Result
Status:  Fixed Assigned to:  None
Originator Name:  Open/Closed:  Closed
Release:  dev Operating System:  GNU/Linux

Add a New Comment (Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Thu 31 Oct 2013 06:18:01 AM UTC, comment #2: 

Yes, building the docs and using the cli-version is possible now, thanks.

With "run-octave --no-gui" the prompt still indicates
"octave-gui:1>". Is this intended?

Torsten Lilge <ttl>
Project Member
Wed 30 Oct 2013 11:23:43 PM UTC, comment #1: 

I checked in the following changeset:

  http://hg.savannah.gnu.org/hgweb/octave/rev/ef4fc092c86b

Does it fix the problem for you?

John W. Eaton <jwe>
Project Administrator
Tue 29 Oct 2013 09:11:47 PM UTC, original submission:  

Building octave (fresh clone, hg id 0a8c35ae5ce1 tip @) with LC_NUMERIC=de_DE.UTF-8 leads to the following result:

Octave successfully built.  Now choose from the following:

   ./run-octave    - to run in place to test before installing
   make check      - to run the tests
   make install    - to install (PREFIX=/usr/local)

Making all in doc
Making all in doxyhtml
Making all in icons
making octave.desktop from ../../../doc/icons/octave.desktop.in
Making all in interpreter
Updating ../../../doc/interpreter/version.texi
warning: division by zero
warning: division by zero
warning: division by zero
warning: division by zero
warning: division by zero
warning: division by zero
warning: division by zero
warning: division by zero
warning: division by zero
warning: division by zero

multiplot> set grid linewidth 0,500000, linewidth 0,500000;
                                      ^
           line 0: ';' expected

run-octave --no-gui:

octave-gui:1> 0.3
ans = 0
octave-gui:2> 0:0.1:10
ans = [](1x0)

run-octave with the gui works as expected:

>> 0.3
ans =  0.30000
>> 0:0.1:0.4
ans =

    0.00000    0.10000    0.20000    0.30000    0.40000

Setting LC_NUMERIC=en_US.UTF-8 solves the problem.

Torsten Lilge <ttl>
Project Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by jwe (Posted a comment)
  • -email is unavailable- added by rik5 (Updated the item)
  • -email is unavailable- added by ttl (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

     

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2013-10-31 rik5 StatusReady For Test => Fixed
        Open/ClosedOpen => Closed
    2013-10-30 jwe StatusNone => Ready For Test
    2013-10-29 rik5 Severity3 - Normal => 5 - Blocker

    Back to the top


    Powered by Savane 3.5