octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Languages files for the gui


From: meequz .
Subject: Re: Languages files for the gui
Date: Sun, 21 Jul 2013 12:56:04 +0300

Hello

I have updated a belarusian translation (be_BY), but I need to test it before send. So I try to build the Octave a lot of times during last days, but it fails all the time.

What I do:

$ hg clone http://www.octave.org/hg/octave
$ cd octave/
$ sudo apt-get install \
g++ \
gfortran \
libpcre3-dev \
libblas-dev \
liblapack-dev \
libreadline-dev \
libqt4-dev \
libfreetype6-dev \
texlive-generic-recommended \
flex \
gperf
$ ./bootstrap
$ ./configure
$ make

Result of configure:

Octave is now configured for i686-pc-linux-gnu

  Source directory:            .
  Installation prefix:         /usr/local
  C compiler:                  gcc  -mieee-fp  -Wall -W -Wshadow -Wformat -Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes -Wwrite-strings -Wcast-align -Wcast-qual -g -O2 -pthread
  C++ compiler:                g++  -mieee-fp  -I/usr/include/freetype2    -Wall -W -Wshadow -Wold-style-cast -Wformat -Wpointer-arith -Wwrite-strings -Wcast-align -Wcast-qual -g -O2 -pthread
  Fortran compiler:            gfortran -O -mieee-fp
  Fortran libraries:            -L/usr/lib/gcc/i686-linux-gnu/4.7 -L/usr/lib/gcc/i686-linux-gnu/4.7/../../../i386-linux-gnu -L/usr/lib/gcc/i686-linux-gnu/4.7/../../../../lib -L/lib/i386-linux-gnu -L/lib/../lib -L/usr/lib/i386-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/i686-linux-gnu/4.7/../../.. -lgfortran -lm -lquadmath
  Lex libraries:              
  LIBS:                        -lutil -lm 

  AMD CPPFLAGS:               
  AMD LDFLAGS:                
  AMD libraries:              
  ARPACK CPPFLAGS:            
  ARPACK LDFLAGS:             
  ARPACK libraries:           
  BLAS libraries:              -lblas
  CAMD CPPFLAGS:              
  CAMD LDFLAGS:               
  CAMD libraries:             
  CARBON libraries:           
  CCOLAMD CPPFLAGS:           
  CCOLAMD LDFLAGS:            
  CCOLAMD libraries:          
  CHOLMOD CPPFLAGS:           
  CHOLMOD LDFLAGS:            
  CHOLMOD libraries:          
  COLAMD CPPFLAGS:            
  COLAMD LDFLAGS:             
  COLAMD libraries:           
  CURL CPPFLAGS:              
  CURL LDFLAGS:               
  CURL libraries:             
  CXSPARSE CPPFLAGS:          
  CXSPARSE LDFLAGS:           
  CXSPARSE libraries:         
  DL libraries:                -ldl
  FFTW3 CPPFLAGS:             
  FFTW3 LDFLAGS:              
  FFTW3 libraries:            
  FFTW3F CPPFLAGS:            
  FFTW3F LDFLAGS:             
  FFTW3F libraries:           
  fontconfig CFLAGS:          
  fontconfig libraries:       
  FreeType2 CFLAGS:            -I/usr/include/freetype2 
  FreeType2 libraries:         -lfreetype 
  GLPK CPPFLAGS:              
  GLPK LDFLAGS:               
  GLPK libraries:             
  graphics CFLAGS:            
  graphics libraries:         
  HDF5 CPPFLAGS:              
  HDF5 LDFLAGS:               
  HDF5 libraries:             
  Java home:                   /usr/lib/jvm/java-7-openjdk-i386
  Java JVM path:              
  Java CPPFLAGS:              
  Java libraries:             
  LAPACK libraries:            -llapack
  LLVM CPPFLAGS:              
  LLVM LDFLAGS:               
  LLVM libraries:             
  Magick++ CPPFLAGS:          
  Magick++ LDFLAGS:           
  Magick++ libraries:         
  OPENGL libraries:            -lGL -lGLU
  PTHREAD flags:               -pthread
  PTHREAD libraries:          
  QHULL CPPFLAGS:             
  QHULL LDFLAGS:              
  QHULL libraries:            
  QRUPDATE CPPFLAGS:          
  QRUPDATE LDFLAGS:           
  QRUPDATE libraries:         
  Qt CPPFLAGS:                 -I/usr/include/qt4 -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtNetwork 
  Qt LDFLAGS:                  
  Qt libraries:                -lQtGui -lQtNetwork -lQtCore 
  READLINE libraries:          -lreadline
  REGEX libraries:             -lpcre
  TERM libraries:              -ltermcap
  UMFPACK CPPFLAGS:           
  UMFPACK LDFLAGS:            
  UMFPACK libraries:          
  X11 include flags:          
  X11 libraries:               -lX11
  Z CPPFLAGS:                 
  Z LDFLAGS:                  
  Z libraries:                 -lz

  Default pager:               less
  gnuplot:                    

  Build Octave GUI:                   yes
  JIT compiler for loops:             no
  Build Java interface:               no
  Do internal array bounds checking:  no
  Use octave_allocator:               no
  Build static libraries:             no
  Build shared libraries:             yes
  Dynamic Linking:                    yes (dlopen)
  Include support for GNU readline:   yes
  64-bit array dims and indexing:     no

configure: WARNING:

I wasn't able to find a suitable style for declaring a push-pull
parser in a bison input file so I'm disabling bison.

configure: WARNING:

I didn't find bison, but it's only a problem if you need to
reconstruct parse.cc, which is the case if you're building from VCS
sources.

configure: WARNING:

I didn't find makeinfo, which is required for reading documentation.
You may install a copy later for Octave to use.

configure: WARNING:

I didn't find texi2dvi, but it's only a problem if you need to
reconstruct the DVI version of the manual

configure: WARNING:

gnuplot not found.  It isn't necessary to have gnuplot installed, but
without native graphics or gnuplot you won't be able to use any of
Octave's plotting commands.

configure: WARNING: Qhull library not found -- this will result in loss of functionality of some geometry functions.
configure: WARNING: HDF5 library not found.  Octave will not be able to save or load HDF5 data files.
configure: WARNING: FFTW3 library not found.  The slower FFTPACK library will be used instead.
configure: WARNING: FFTW3F library not found.  The slower FFTPACK library will be used instead.
configure: WARNING: GLPK library not found.  The glpk function for solving linear programs will be disabled.
configure: WARNING: cURL library not found.  The ftp objects, urlread and urlwrite functions will be disabled.
configure: WARNING: Fontconfig library not found.  Native graphics will be disabled.
configure: WARNING: FLTK config script not found.  Native graphics will be disabled.
configure: WARNING: qrupdate not found.  The QR & Cholesky updating functions will be slow.
configure: WARNING: AMD library not found.  This will result in some lack of functionality for sparse matrices.
configure: WARNING: CAMD library not found.  This will result in some lack of functionality for sparse matrices.
configure: WARNING: COLAMD library not found.  This will result in some lack of functionality for sparse matrices.
configure: WARNING: CCOLAMD library not found.  This will result in some lack of functionality for sparse matrices.
configure: WARNING: CHOLMOD library not found.  This will result in some lack of functionality for sparse matrices.
configure: WARNING: CXSparse library not found.  This will result in some lack of functionality for sparse matrices.
configure: WARNING: UMFPACK not found.  This will result in some lack of functionality for sparse matrices.
configure: WARNING: ARPACK not found.  The eigs function will be disabled.
configure: WARNING: building documentation disabled because gnuplot was not found; make dist will fail
configure: WARNING: building documentation disabled because makeinfo was not found; make dist will fail
configure: WARNING:
configure: WARNING: I didn't find the necessary libraries to compile native
configure: WARNING: graphics.  It isn't necessary to have native graphics,
configure: WARNING: but you will need to have gnuplot installed or you won't
configure: WARNING: be able to use any of Octave's plotting commands
configure: WARNING:
configure: WARNING: I didn't find gnuplot.  It isn't necessary to have gnuplot
configure: WARNING: installed, but you won't be able to use any of Octave's
configure: WARNING: plotting commands without it.
configure: WARNING:
configure: WARNING: If gnuplot is installed, but isn't in your path, you can
configure: WARNING: tell Octave where to find it by using the gnuplot_binary
configure: WARNING: function.  For example,
configure: WARNING:
configure: WARNING: gnuplot_binary ("/full/path/and/name/of/gnuplot/binary")
configure: WARNING:
configure: WARNING: at the Octave prompt.
configure: WARNING:
configure: WARNING: Setting default value to
configure: WARNING:
configure:
configure: NOTE: Libraries or auxiliary programs may be skipped if they are
configure: NOTE: not found OR if they are missing required features on your
configure: NOTE: system.


Make error:

libtool: link: ranlib parse-tree/.libs/libparse-tree.a
libtool: link: ( cd "parse-tree/.libs" && rm -f "libparse-tree.la" && ln -s "../libparse-tree.la" "libparse-tree.la" )
/bin/bash ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I..  -I../liboctave/cruft/misc -I../liboctave/array -I../liboctave/numeric -I../liboctave/numeric -I../liboctave/operators -I../liboctave/operators -I../liboctave/system -I../liboctave/util -I./octave-value -I./operators -Iparse-tree -I./parse-tree -Icorefcn -I./corefcn -I../libgnu -I../libgnu  -mieee-fp -I/usr/include/freetype2 -Wall -W -Wshadow -Wformat -Wpointer-arith -Wwrite-strings -Wcast-align -Wcast-qual -g -O2 -pthread -MT parse-tree/parse_tree_libparser_la-lex.lo -MD -MP -MF parse-tree/.deps/parse_tree_libparser_la-lex.Tpo -c -o parse-tree/parse_tree_libparser_la-lex.lo `test -f 'parse-tree/lex.cc' || echo './'`parse-tree/lex.cc
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -I../liboctave/cruft/misc -I../liboctave/array -I../liboctave/numeric -I../liboctave/numeric -I../liboctave/operators -I../liboctave/operators -I../liboctave/system -I../liboctave/util -I./octave-value -I./operators -Iparse-tree -I./parse-tree -Icorefcn -I./corefcn -I../libgnu -I../libgnu -mieee-fp -I/usr/include/freetype2 -Wall -W -Wshadow -Wformat -Wpointer-arith -Wwrite-strings -Wcast-align -Wcast-qual -g -O2 -pthread -MT parse-tree/parse_tree_libparser_la-lex.lo -MD -MP -MF parse-tree/.deps/parse_tree_libparser_la-lex.Tpo -c parse-tree/lex.cc  -fPIC -DPIC -o parse-tree/.libs/parse_tree_libparser_la-lex.o
In file included from lex.ll:97:0:
parse-tree/octave.gperf:83:12: error: 'DO' was not declared in this scope
In file included from lex.ll:97:0:
parse-tree/octave.gperf:86:13: error: 'END' was not declared in this scope
In file included from lex.ll:97:0:
parse-tree/octave.gperf:84:14: error: 'ELSE' was not declared in this scope
In file included from lex.ll:97:0:
parse-tree/octave.gperf:78:15: error: 'BREAK' was not declared in this scope
In file included from lex.ll:97:0:
parse-tree/octave.gperf:112:16: error: 'FUNC_RET' was not declared in this scope
In file included from lex.ll:97:0:
parse-tree/octave.gperf:104:13: error: 'GET' was not declared in this scope
In file included from lex.ll:97:0:
parse-tree/octave.gperf:79:14: error: 'CASE' was not declared in this scope
In file included from lex.ll:97:0:
parse-tree/octave.gperf:95:20: error: 'END' was not declared in this scope
In file included from lex.ll:97:0:
parse-tree/octave.gperf:100:21: error: 'ENUMERATION' was not declared in this scope
In file included from lex.ll:97:0:
parse-tree/octave.gperf:106:12: error: 'IF' was not declared in this scope
In file included from lex.ll:97:0:
parse-tree/octave.gperf:97:23: error: 'END' was not declared in this scope
In file included from lex.ll:97:0:
parse-tree/octave.gperf:90:24: error: 'END' was not declared in this scope
In file included from lex.ll:97:0:
parse-tree/octave.gperf:111:20: error: 'PROPERTIES' was not declared in this scope
In file included from lex.ll:97:0:
parse-tree/octave.gperf:85:16: error: 'ELSEIF' was not declared in this scope
In file included from lex.ll:97:0:
parse-tree/octave.gperf:113:13: error: 'SET' was not declared in this scope
In file included from lex.ll:97:0:
parse-tree/octave.gperf:91:19: error: 'END' was not declared in this scope
In file included from lex.ll:97:0:
parse-tree/octave.gperf:120:15: error: 'WHILE' was not declared in this scope
In file included from lex.ll:97:0:
parse-tree/octave.gperf:89:21: error: 'END' was not declared in this scope
In file included from lex.ll:97:0:
parse-tree/octave.gperf:82:18: error: 'CONTINUE' was not declared in this scope
In file included from lex.ll:97:0:
parse-tree/octave.gperf:98:19: error: 'END' was not declared in this scope
In file included from lex.ll:97:0:
parse-tree/octave.gperf:110:20: error: 'PERSISTENT' was not declared in this scope
In file included from lex.ll:97:0:
parse-tree/octave.gperf:115:16: error: 'SWITCH' was not declared in this scope
In file included from lex.ll:97:0:
parse-tree/octave.gperf:81:18: error: 'CLASSDEF' was not declared in this scope
In file included from lex.ll:97:0:
parse-tree/octave.gperf:114:16: error: 'PERSISTENT' was not declared in this scope
In file included from lex.ll:97:0:
parse-tree/octave.gperf:116:13: error: 'TRY' was not declared in this scope
In file included from lex.ll:97:0:
parse-tree/octave.gperf:101:16: error: 'EVENTS' was not declared in this scope
In file included from lex.ll:97:0:
parse-tree/octave.gperf:102:13: error: 'FOR' was not declared in this scope
In file included from lex.ll:97:0:
parse-tree/octave.gperf:94:15: error: 'END' was not declared in this scope
In file included from lex.ll:97:0:
parse-tree/octave.gperf:92:16: error: 'END' was not declared in this scope
In file included from lex.ll:97:0:
parse-tree/octave.gperf:107:17: error: 'METHODS' was not declared in this scope
In file included from lex.ll:97:0:
parse-tree/octave.gperf:87:23: error: 'END' was not declared in this scope
In file included from lex.ll:97:0:
parse-tree/octave.gperf:108:19: error: 'OTHERWISE' was not declared in this scope
In file included from lex.ll:97:0:
parse-tree/octave.gperf:109:16: error: 'PARFOR' was not declared in this scope
In file included from lex.ll:97:0:
parse-tree/octave.gperf:99:18: error: 'END' was not declared in this scope
In file included from lex.ll:97:0:
parse-tree/octave.gperf:80:15: error: 'CATCH' was not declared in this scope
In file included from lex.ll:97:0:
parse-tree/octave.gperf:93:21: error: 'END' was not declared in this scope
In file included from lex.ll:97:0:
parse-tree/octave.gperf:122:18: error: 'NUM' was not declared in this scope
In file included from lex.ll:97:0:
parse-tree/octave.gperf:118:24: error: 'UNWIND' was not declared in this scope
In file included from lex.ll:97:0:
parse-tree/octave.gperf:117:15: error: 'UNTIL' was not declared in this scope
In file included from lex.ll:97:0:
parse-tree/octave.gperf:88:28: error: 'END' was not declared in this scope
In file included from lex.ll:97:0:
parse-tree/octave.gperf:96:19: error: 'END' was not declared in this scope
In file included from lex.ll:97:0:
parse-tree/octave.gperf:105:16: error: 'GLOBAL' was not declared in this scope
In file included from lex.ll:97:0:
parse-tree/octave.gperf:119:32: error: 'CLEANUP' was not declared in this scope
In file included from lex.ll:97:0:
parse-tree/octave.gperf:121:18: error: 'DQ_STRING' was not declared in this scope
In file included from lex.ll:97:0:
parse-tree/octave.gperf:103:18: error: 'FCN' was not declared in this scope
parse-tree/lex.cc:1130:5: error: 'YYSTYPE' does not name a type
parse-tree/lex.cc:1173:1: error: 'YYSTYPE' does not name a type
parse-tree/lex.cc:1175:23: error: variable or field 'octave_set_lval' declared void
parse-tree/lex.cc:1175:23: error: 'YYSTYPE' was not declared in this scope
parse-tree/lex.cc:1175:33: error: 'yylval_param' was not declared in this scope
parse-tree/lex.cc:1175:56: error: expected primary-_expression_ before 'yyscanner'
parse-tree/lex.cc:1290:17: warning: 'octave_lex' initialized and declared 'extern' [enabled by default]
parse-tree/lex.cc:1290:17: error: 'YYSTYPE' was not declared in this scope
parse-tree/lex.cc:1290:27: error: 'yylval_param' was not declared in this scope
parse-tree/lex.cc:1290:50: error: expected primary-_expression_ before 'yyscanner'
parse-tree/lex.cc:1290:59: error: _expression_ list treated as compound _expression_ in initializer [-fpermissive]
parse-tree/lex.cc:1316:1: error: redefinition of 'int octave_lex'
parse-tree/lex.cc:1289:12: error: 'int octave_lex' previously defined here
parse-tree/lex.cc:1316:1: error: 'YYSTYPE' was not declared in this scope
parse-tree/lex.cc:1316:1: error: 'yylval_param' was not declared in this scope
parse-tree/lex.cc:1316:1: error: expected primary-_expression_ before 'yyscanner'
parse-tree/lex.cc:303:13: warning: 'void octave_ensure_buffer_stack(yyscan_t)' declared 'static' but never defined [-Wunused-function]
parse-tree/lex.cc:304:13: warning: 'void octave__load_buffer_state(yyscan_t)' declared 'static' but never defined [-Wunused-function]
parse-tree/lex.cc:305:13: warning: 'void octave__init_buffer(YY_BUFFER_STATE, FILE*, yyscan_t)' declared 'static' but never defined [-Wunused-function]
parse-tree/lex.cc:352:22: warning: 'yy_state_type yy_get_previous_state(yyscan_t)' declared 'static' but never defined [-Wunused-function]
parse-tree/lex.cc:353:22: warning: 'yy_state_type yy_try_NUL_trans(yy_state_type, yyscan_t)' declared 'static' but never defined [-Wunused-function]
parse-tree/lex.cc:354:12: warning: 'int yy_get_next_buffer(yyscan_t)' declared 'static' but never defined [-Wunused-function]
parse-tree/lex.cc:355:13: warning: 'void yy_fatal_error(const char*, yyscan_t)' declared 'static' but never defined [-Wunused-function]
lex.ll:236:13: warning: 'Vdisplay_tokens' defined but not used [-Wunused-variable]
lex.ll:238:21: warning: 'Vtoken_count' defined but not used [-Wunused-variable]
lex.ll:241:13: warning: 'lexer_debug_flag' defined but not used [-Wunused-variable]
lex.ll:246:20: warning: 'std::string strip_trailing_whitespace(char*)' declared 'static' but never defined [-Wunused-function]
parse-tree/lex.cc:1134:12: warning: 'int yy_init_globals(yyscan_t)' declared 'static' but never defined [-Wunused-function]
parse-tree/lex.cc:1189:17: warning: 'void yyunput(int, char*, yyscan_t)' declared 'static' but never defined [-Wunused-function]
parse-tree/lex.cc:1202:12: warning: 'int yyinput(yyscan_t)' declared 'static' but never defined [-Wunused-function]
make[3]: *** [parse-tree/parse_tree_libparser_la-lex.lo] Error 1
make[3]: Leaving directory `/home/nihto/octave/libinterp'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/nihto/octave/libinterp'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/nihto/octave'
make: *** [all] Error 2

My system is Linux Mint 15 x86 MATE.



2013/6/23 Torsten <address@hidden>
Dear Translators,

the gui has considerably improved in the recent months and with these
changes the used strings have changed, too. With changeset
http://hg.savannah.gnu.org/hgweb/octave/rev/a12c14aea413
I have pushed the language files (*.ts) updated to the new text strings.
We would really appreciate if you could update the translations. Please
note that the *.tm files are no longer tracked by hg but are generated
during the build process.

So far, there are translations for the following languages:

be_BY.ts
de_DE.ts
es_ES.ts
nl_NL.ts
pt_BR.ts
ru_RU.ts
uk_UA.ts

Is anyone interested in adding another language?

Best regards,
Torsten





--
з павагай
міхаіл варанцоў

reply via email to

[Prev in Thread] Current Thread [Next in Thread]