octave-pfstools supplies binaries that compiled for octave 6.2, but 6.4 is shipped with jammy

Asked by redingo

octave-pfstools supplies binaries that compiled for octave 6.2, but 6.4 is shipped with jammy

the package is not usable

octave gives the following error:
pfsread
error: API version api-v55 found in .oct file function 'pfsread'
       does not match the running Octave (API version api-v56)
       this can lead to incorrect results or other failures
       you can fix this problem by recompiling this .oct file

The source files are not included, so I can't recompile the oct file.

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu pfstools Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Manfred Hampl (m-hampl) said :
#1

I suggest that you create a bug report. Target for the bug probably has to be psftools, but adding a task for octave could also be a reasonable idea.

Revision history for this message
Manfred Hampl (m-hampl) said :
#2

"The source files are not included, so I can't recompile the oct file."

That is not true.
see https://launchpad.net/ubuntu/+source/pfstools/2.2.0-2

Revision history for this message
redingo (redingo) said :
#3

I found the source on sourceforge. but couldn't compile them using mkoctfiles command from octave. Could be my bad...

I'll check if I can compile the pfstools package linking to the newer octave...

However, until now the octave-pfstools package was working out of the box after installing with apt.

Thanks!

Am 28. März 2022 20:01:20 MESZ schrieb Manfred Hampl <email address hidden>:
>Your question #701104 on pfstools in Ubuntu changed:
>https://answers.launchpad.net/ubuntu/+source/pfstools/+question/701104
>
>Manfred Hampl proposed the following answer:
>"The source files are not included, so I can't recompile the oct file."
>
>That is not true.
>see https://launchpad.net/ubuntu/+source/pfstools/2.2.0-2
>
>--
>If this answers your question, please go to the following page to let us
>know that it is solved:
>https://answers.launchpad.net/ubuntu/+source/pfstools/+question/701104/+confirm?answer_id=1
>
>If you still need help, you can reply to this email or go to the
>following page to enter your feedback:
>https://answers.launchpad.net/ubuntu/+source/pfstools/+question/701104
>
>You received this question notification because you asked the question.

Revision history for this message
Manfred Hampl (m-hampl) said :
#4

I suggest that you try compiling locally with the Ubuntu-provided tools.

Activate the source repositories for apt (deb-src in /etc/apt/sources.list)
and run the commands
mkdir ~/src
cd ~/src
sudo apt update
sudo apt install build-essential
sudo apt build-dep psftools
apt source --compile psftools

Can you help with this problem?

Provide an answer of your own, or ask redingo for more information if necessary.

To post a message you must log in.