Neil Hopcroft

A digital misfit

Open Source

Fixing of-ltfat

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 […]

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, […]

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 […]