A quick look at the INSTALL-Octave file included in the ltfat package gives some instructions for compiling and installing the package on Octave. I have added the steps described to the of-ltfat project build script. However, it seems these steps are only for adding the current checkout to the current octave instance, not for creating […]
Neil Hopcroft
A digital misfit
build break
Fixing of-optim
The of-optim package fails with: invalid doc file format make: *** [../doc/optim.texi] Error 25 This looks like an error extracting documentation from the code files. There is a bootstrap script in the src/ directory. But this bootstrap just does the same ‘make doc’, leading to the same error. Looking further inside, it seems the problem […]
Fixing of-odepkg
This error /bin/sh: -O2: command not found make: *** [cash/mebdfdae.o] Error 127 looks like a configuration error, checking the package src directory there is an autogen.sh script. Running ./autogen.sh, ./configure and make resolves this problem. Fixed in build 20
Fixing of-galois
The installation of the of-galois package appears to work without error, but the “pkg(‘describe’,’galois’)” fails, a brief check shows that the package installs with the name of ‘galois field’. Fixed in build 37.
Fixing of-multi-precision
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 […]
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, […]
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 […]