The build of this project fails to find mkoctfile, in the src/Makefile there is a comment “# assumptions to make if not using ./configure script” after which it defines MKOCTFILE to $(HOME)/usr/bin/mkoctfile Setting MKOCTFILE on the make command line can fix this, but only with make invoked directly – the octave pkg function calls make […]
Neil Hopcroft
A digital misfit
Octave
Fixing of-fl-core build
The fl-core package is giving this error: fl_compose.cc: In function ‘int get_available_cpus()’: fl_compose.cc:757:19: error: ‘_SC_NPROCESSORS_ONLN’ was not declared in this scope return sysconf( _SC_NPROCESSORS_ONLN); ^ fl_compose.cc:757:39: error: ‘sysconf’ was not declared in this scope return sysconf( _SC_NPROCESSORS_ONLN); ^ make: *** [fl_compose.oct] Error 1 A quick search of the octave source code shows a potential alternative, […]
Fixing of-ngspice
The of-ngspice project fails with /usr/bin/ld: cannot find -lngspice collect2: error: ld returned 1 exit status A search for libngspice fails to turn anything up – so perhaps we’re not building the library? Checking the ngspice project output there is no mention of a library there. However, there is a ‘–with-ngshared’ option to configure, which […]
Fixing of-fem-fenics build
The first failure in the restructured octave forge packages is fem-fenics, with: uBLAS_factory.cc: In member function ‘virtual octave_value uBLAS_factory::matrix(const dolfin::Matrix&) const’: uBLAS_factory.cc:36:12: error: ‘const class dolfin::Matrix’ has no member named ‘data’ aa = A.data (); ^ make: *** [uBLAS_factory.o] Error 1 There is some discussion about this error, and some of the issues around it, […]
The clarity of a well ordered mind^wbuild – octave forge project restructuring progress
Following on from some of my previous planning, I have now created a bunch of new of-* packages. Where the name of package is taken from the git or mercurial repository name, using the of-* naming convention I have set up a page in Jenkins to show only the octave forge packages making it easier […]
Restructuring the CI build for Octave Forge packages
Following a discussion on the maintainers mailing list about some recent problems with sourceforge, the Octave Forge packages are moving away from the sourceforge version control system. I have, for a while, been thinking about restructuring my octave-packages project. The current structure has two layers, one for the svn code from sourceforge, then a second […]
Build break in dolfin – build 202
This break started with CMake Error at CMakeLists.txt:889 (message): Generation of form files failed: sh: ffc: command not found …in build 202, but then a change was made to update the dependencies, requiring ffc version 1.7.0. However the ffc version on the master branch is still 1.6.0, a little searching around shows that the ‘next’ […]
Round up after build break fixes
Phew, that was a lot of build breaks – that is what happens when you stop paying attention and let the code rot set in. They’re all fixed now except obd android (recent change missing some files) and qhull (cannot reach git server). Still, I’m back on top of things now. During these fixes I […]
Build break in octave – build 307
Following some recent changes to the Octave build process to eliminate recursive use of make my CI build has started failing with this error: CXX libgui/src/libgui_src_libgui_src_la-moc-dialog.lo libgui/src/moc-dialog.cc:12:24: fatal error: src/dialog.h: No such file or directory #include “src/dialog.h” ^ compilation terminated. make[2]: *** [libgui/src/libgui_src_libgui_src_la-moc-dialog.lo] Error 1 Which appears to be a problem with directories during qt […]
Build break in freeglut – build 7
There was a build break in the freeglut build: [ 38%] Built target freeglut Linking C executable bin/CallbackMaker lib/libglut.so.3.10.0: undefined reference to `sball_initialized’ collect2: error: ld returned 1 exit status make[2]: *** [bin/CallbackMaker] Error 1 make[1]: *** [CMakeFiles/CallbackMaker.dir/all] Error 2 There were a significant number of changes included in build 7 as it was originally […]