/home/bill/OOPM builds/Octave build.txt ************************************* 27Jul2017 10:01 Octave install Can't find Octave in synaptic!! 27Jul2017 12:53 web-search "Octave" https://www.gnu.org/software/octave/ Build instructions /home/bill/OPM/Octave/[INSTALL, INSTALL.OCTAVE] - the latter is most thorough 27Jul2017 15:48 1.1.1 Obtaining the Dependencies Automatically $ sudo apt-get >"/home/bill/OOPM builds/Octave dependencies 17Jul2017 16:00.txt" build-dep octave >> OK huge number of programs 88.2 kbytes 1.1.2 Build Tools ----------------- The following tools are required: C++, C, and Fortran compilers The Octave sources are primarily written in C++, but some portions are also written in C and Fortran. The Octave sources are intended to be portable. Recent versions of the GNU compiler collection (GCC) should work (). If you use GCC, you should avoid mixing versions. For example, be sure that you are not using the obsolete 'g77' Fortran compiler with modern versions of 'gcc' and 'g++'. >> I have these GNU Make Tool for building software (). Octave's build system requires GNU Make. Other versions of Make will not work. Fortunately, GNU Make is highly portable and easy to install. >> got it AWK, sed, and other Unix utilities Basic Unix system utilities are required for building Octave. All will be available with any modern Unix system and also on Windows with either Cygwin or MinGW and MSYS. >> have awk, sed etc +---+ Additionally, the following tools may be needed: Bison Parser generator (). You will need Bison if you modify the 'oct-parse.yy' source file or if you delete the files that are generated from it. >> Synaptic installed with dev files Flex Lexer analyzer (). You will need Flex if you modify the 'lex.ll' source file or if you delete the files that are generated from it. >> flex already installed, I Synaptic-installed docs for it Autoconf Package for software configuration (). Autoconf is required if you modify Octave's 'configure.ac' file or other files that it requires. >> autoconf already installed, I Synaptic-installed docs Automake Package for Makefile generation (). Automake is required if you modify Octave's 'Makefile.am' files or other files that they depend on. >> Automake was already installed Libtool Package for building software libraries (). Libtool is required by Automake. >> libtool was already installed. I did NOT install [libtool-bin,libtool-doc] gperf Perfect hash function generator (). You will need gperf if you modify the 'octave.gperf' file or if you delete the file that is generated from it. >> gperf was already installed Texinfo Package for generating online and print documentation (). You will need Texinfo to build Octave's documentation or if you modify the documentation source files or the docstring of any Octave function. >> texinfo was already installed. I did NOT installed texinfo-doc-nonfree 27Jul2017 16:13 1.1.3 External Packages ----------------------- The following external packages are required: BLAS Basic Linear Algebra Subroutine library. Accelerated BLAS libraries such as OpenBLAS () or ATLAS () are recommended for best performance. The reference implementation () is slow, unmaintained, and suffers from certain bugs in corner case inputs. >> I Synaptic-installed [libblas-test,libopenblas-base,libopenblas-dev] LAPACK Linear Algebra Package (). >> Already installed [liblapack-dev,liblapack3]. >> I Synaptic-installed liblapack-[doc,doc-man,pic,test] and lapacke[,-dev] PCRE The Perl Compatible Regular Expression library (). >> libpcre[16-3,3,3-dbg,3-dev,32-3,cpp0v5] were already installed, not libpcre3-dbg >> I did NOT install New Perl Compatible Regular Expression library (version 10.21-1) +-----+ The following external package is optional but strongly recommended: GNU Readline Command-line editing library (). If you wish to build Octave without GNU readline installed, you must use the '--disable-readline' option when running the configure script. >> 64-bit version would affect [ubuntu-desktop,x11-session-utils,xorg] - no way I'm doing this!! >> I'll have to try to remember this problem... +-----+ The following external software packages are optional but recommended: ARPACK Library for the solution of large-scale eigenvalue problems (). ARPACK is required to provide the functions 'eigs' and 'svds'. >> libarpack[2,2-dev] were already installed, I did NOT install libarpack2-dbg cURL Library for transferring data with URL syntax (). cURL is required to provide the 'urlread' and 'urlwrite' functions and the 'ftp' class. >> I Synaptic-installed curl[,ftpfs] FFTW3 Library for computing discrete Fourier transforms (). FFTW3 is used to provide better performance for functions that compute discrete Fourier transforms ('fft', 'ifft', 'fft2', etc.) >> libfftw3-[bin,dev,double3,long3,quad3,single3] were already installed >> libfftw3-[doc,mpi[-dev,3] I Synaptic-installed >> libfftw3-dbg I did NOT install FLTK Portable GUI toolkit (). FLTK is currently used to provide windows for Octave's OpenGL-based graphics functions. >> libfltk[-cairo,-forms,-gl,-images,,-dev]1.3 were already installed, I made no additions fontconfig Library for configuring and customizing font access (). Fontconfig is used to manage fonts for Octave's OpenGL-based graphics functions. >> fontconfig[,-config] and libfontconfig[1,1-dbg,1-dev] were already installed >> I made no changes to installed libs FreeType Portable font engine (). FreeType is used to perform font rendering for Octave's OpenGL-based graphics functions. >> libfreetype6[,-dev] were already installed, no changes GLPK GNU Linear Programming Kit (). GPLK is required for the function 'glpk'. >> libglpk[-dev,36] were already installed >> I did NOT install libglpk36-dbg or glpk-[doc,utils] gl2ps OpenGL to PostScript printing library (). gl2ps is required for printing when using OpenGL-based graphics toolkits (currently either FLTK or Qt). >> libgl2ps[-dev,0] were already installed >> I did NOT install libgl2ps-dev gnuplot Interactive graphics program (). gnuplot is currently the default graphics renderer for Octave. >> version 4.6.6-3 (not 5!) of gnuplot-[data,nox,tex] were already installed >> I Synaptic-installed gnuplot5[,-[data,doc,qt]] >> marking gnuplot5-x11 raised an error flag, so I left it out >> OOPS : WARNING - You are about to install software that can't be authenticated! >> Drop it - just install gnuplot >> See if Octave can work with parts of gnuplot?? (I doubt it...) ?????????????? GraphicsMagick++ Image processing library (). GraphicsMagick++ is used to provide the 'imread' and 'imwrite' functions. >> libgraphicsmagick[++-q16-12,++1-dev,-q16-3,1-dev] were already installed >> I didn't install grphicsmagick itself etc HDF5 Library for manipulating portable data files (). HDF5 is required for Octave's 'load' and 'save' commands to read and write HDF data files. >> Already installed : hdf5-helpers, libhdf5-[10,-dbg,-cpp-11,-dev] >> I did NOT install a PILE of related [libraries, programs] !! Java Development Kit Java programming language compiler and libraries. The OpenJDK free software implementation is recommended (), although other JDK implementations may work. Java is required to be able to call Java functions from within Octave. >> openjdk-8-[many packages!] some present, some not >> I didn't do anything LLVM Compiler framework, (). LLVM is required for Octave's experimental just-in-time (JIT) compilation for speeding up the interpreter. >> libllvm3.8 already installed - I didn't add other related packages OpenGL API for portable 2-D and 3-D graphics (). An OpenGL implementation is required to provide Octave's OpenGL-based graphics functions. Octave's OpenGL-based graphics functions usually outperform the gnuplot-based graphics functions because plot data can be rendered directly instead of sending data and commands to gnuplot for interpretation and rendering. >> libqt4-opengl[,-dev] were already installed >> I did NOT update to version5, or add other packages Qhull Computational geometry library (). Qhull is required to provide the functions 'convhull', 'convhulln', 'delaunay', 'delaunayn', 'voronoi', and 'voronoin'. >> libqhull[-dev,7] were already installed >> I did NOT add libqhull[-doc,-bin] QRUPDATE QR factorization updating library (). QRUPDATE is used to provide improved performance for the functions 'qrdelete', 'qrinsert', 'qrshift', and 'qrupdate'. >> libqrupdate[-dev,1] were already installed >> no other listings, changes QScintilla Source code highlighter and manipulator; a Qt port of Scintilla (). QScintilla is used for syntax highlighting and code completion in the GUI. >> libqscintilla2-[12v5,dev,l10n] were already installed >> I did not add libqscintilla2-[perl,12v5-dbg,designer[,dbg],doc] >> I did not update to version 5 Qt GUI and utility libraries (). Qt is required for building the GUI. It is a large framework, but the only components required are the GUI, core, and network modules. >> I already Synaptic-installed this !! SuiteSparse Sparse matrix factorization library (). SuiteSparse is required to provide sparse matrix factorizations and solution of linear equations for sparse systems. >> libsuitesparse[-dev,config4.4.6] were already installed >> I Synaptic-installed libsuitesparse-doc - NO Iit crashed (maybea virus as couldn't be authenticated!) zlib Data compression library (). The zlib library is required for Octave's 'load' and 'save' commands to handle compressed data, including MATLAB v5 MAT files. >> zlib1g[,-dev] were already installed >> I didn't install zlib1g-dbg 1.2 Running Configure and Make ============================== * Run the shell script 'configure'. This will determine the features your system has (or doesn't have) and create a file named 'Makefile' from each of the files named 'Makefile.in'. $ cd "/home/bill/OPM/Octave/" $ bash >"/home/bill/OOPM builds/Octave configure 170727 17h37m.txt" 2>&1 configure +-----+ configure: WARNING: I didn't find rsvg-convert, but it's only a problem if you need to reconstruct octave-logo-*.png, which is the case if you're building from VCS sources. configure: WARNING: JAVA_HOME environment variable not initialized. Auto-detection will proceed but is unreliable. 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. +-----+ >> Only warning concerning me : "JAVA_HOME environment variable not initialized" But let's wait & see... * Run make. $ cd "/home/bill/OPM/Octave/" $ make >"/home/bill/OOPM builds/Octave make 170727 17h53m.txt" 2>&1 CFLAGS=-O CXXFLAGS=-O LDFLAGS= +-----+ Octave successfully built. Now choose from the following: ??? when was this output ??? +-----+ HG ID for this build is "1327ea4f5a93" make[2]: Leaving directory '/home/bill/OPM/Octave' make[1]: Leaving directory '/home/bill/OPM/Octave' +-----+ to run in place to test before installing : $ cd "/home/bill/OPM/Octave/" $ ./run-octave >> OK, it starts up - I didn't try to create graphics to run the tests : $ cd "/home/bill/OPM/Octave/" $ make >"/home/bill/OOPM builds/Octave make check 170727 19h45m.txt" 2>&1 CFLAGS=-O CXXFLAGS=-O LDFLAGS= check >> Results (only problems are noted - almost everything passed!) : +---+ libinterp/corefcn/conv2.cc-tst .............................. PASS 48/51 XFAIL 3 libinterp/corefcn/max.cc-tst ................................ PASS 110/114 XFAIL 4 libinterp/dldfcn/audiodevinfo.cc-tst ........................ALSA lib confmisc.c:1286:(snd_func_refer) Unable to find definition 'cards.HDA-Intel.pcm.rear.0:CARD=0' ALSA lib conf.c:4292:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory ALSA lib conf.c:4771:(snd_config_expand) Evaluate error: No such file or directory ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM rear ALSA lib confmisc.c:1286:(snd_func_refer) Unable to find definition 'cards.HDA-Intel.pcm.center_lfe.0:CARD=0' ALSA lib conf.c:4292:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory ALSA lib conf.c:4771:(snd_config_expand) Evaluate error: No such file or directory ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM center_lfe ALSA lib confmisc.c:1286:(snd_func_refer) Unable to find definition 'cards.HDA-Intel.pcm.side.0:CARD=0' ALSA lib conf.c:4292:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory ALSA lib conf.c:4771:(snd_config_expand) Evaluate error: No such file or directory ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM side ALSA lib pcm_route.c:867:(find_matching_chmap) Found no matching channel map ALSA lib pcm_route.c:867:(find_matching_chmap) Found no matching channel map ALSA lib pcm_route.c:867:(find_matching_chmap) Found no matching channel map ALSA lib pcm_route.c:867:(find_matching_chmap) Found no matching channel map PASS 4/4 libinterp/dldfcn/gzip.cc-tst ................................ PASS 5/7 XFAIL 2 scripts/general/inputParser.m ............................... PASS 21/24 XFAIL 3 scripts/general/num2str.m ................................... PASS 39/40 XFAIL 1 scripts/plot/draw/isosurface.m .............................. PASS 29/30 XFAIL 1 scripts/plot/util/__opengl_info__.m ......................... PASS 0/1 XFAIL 1 scripts/polynomial/residue.m ................................ PASS 4/5 XFAIL 1 scripts/testfun/test.m ...................................... PASS 57/58 SKIP 1 XFAIL 1 . Fixed test scripts: bug-38236.tst ............................................... PASS 0/1 XFAIL 1 classdef.tst ................................................ PASS 21/23 XFAIL 2 classes.tst ................................................. PASS 141/152 XFAIL 11 jit.tst ..................................................... PASS 0/2 SKIP 42 XFAIL 2 . Summary: PASS 14868 FAIL 0 XFAIL 33 SKIPPED 43 See the file /home/bill/OPM/Octave/test/fntests.log for additional details. Items listed as XFAIL above are known bugs. Bug report numbers for them may be found in the log file: /home/bill/OPM/Octave/test/fntests.log Please help improve Octave by contributing fixes for them. Tests are most often skipped because the features they require have been disabled. Features are most often disabled because they require dependencies that were not present when Octave was built. The configure script should have printed a summary at the end of its run indicating which dependencies were not found. 190 (of 892) .m files have no tests. Please help improve Octave by contributing tests for these files (see the list in the file /home/bill/OPM/Octave/test/fntests.log). make[3]: Leaving directory '/home/bill/OPM/Octave' make[2]: Leaving directory '/home/bill/OPM/Octave' make[1]: Leaving directory '/home/bill/OPM/Octave' +---+ >> Looks GREAT! (remember : "Items listed as XFAIL above are known bugs.") to install (PREFIX=/usr/local) : $ cd "/home/bill/OPM/Octave/" $ sudo make >"/home/bill/OOPM builds/Octave make install 170727 20h00m.txt" 2>&1 CFLAGS=-O CXXFLAGS=-O LDFLAGS= install >> Results : 117.2 kbytes >> Seems to have worked libraries are in : /usr/local/lib/octave/4.2.1/