apjanke / octave-tablicious

Table (relational, tabular data) implementation for GNU Octave
https://apjanke.github.io/octave-tablicious/
GNU General Public License v3.0
28 stars 11 forks source link

xubuntu wants liboctave-dev #101

Closed AndreiCherniaev closed 6 months ago

AndreiCherniaev commented 1 year ago

I want to install pack using instruction "Quick start".

But I got error: _error: pkg: please install the Debian package "liboctave-dev" to get the mkoctfile command error: called from gripe_missing_component at line 60 column 3 configuremake at line 50 column 7 install at line 198 column 7 pkg at line 568 column 9

https://github.com/apjanke/octave-tablicious/blob/47c74fefe2157942230c03bb6d990dc702b227ac/dev-tools/install-octave-4.2-ubuntu.sh#L11

apjanke commented 1 year ago

Looks like you're running in to an issue with how Octave is packaged in the Debian Linux distro and its derivatives like Ubuntu. You need the Octave development tools package in order to install Octave packages that require compiling native extensions like octfiles, and Tablicious is one of those. GNU Octave itself doesn't really make that distinction, but it looks like Debian is splitting it out in to a separate package.

This is done with the apt command at the OS level (in a shell) and not from Octave itself. Please try running this command in a shell:

apt install liboctave-dev

You may need to prefix it with sudo, like this:

sudo apt install liboctave-dev

If that fixes this problem for you, please let me know here, and I'll add this step to that "Quick start" README section and try to fix up our install-octave-*-ubuntu.sh files.

apjanke commented 1 year ago

Oh, actually: did you run that install-octave-4.2-ubuntu.sh script? That is a shell script that will try to take care of this problem for you. You need to run it yourself from a shell (and not Octave); it's not something that is called automatically by Octave or its pkg command.

apjanke commented 6 months ago

Closing bc no response, and I can't repdroduce myself.