Page MenuHomeSolus

Octave, Package installation failing
Closed, WontfixPublic


While trying to install a package in(on?) Octave, I am getting this error

warning: called from
    install at line 30 column 5
    pkg at line 394 column 9 fatal error: octave/oct.h: No such file or directory
 #include <octave/oct.h>
compilation terminated.

Is this a Distro problem or is an Octave issue?

Event Timeline

selfus created this task.Mar 30 2018, 9:53 PM
selfus updated the task description. (Show Details)Mar 30 2018, 9:53 PM

Can you try sudo eopkg it octave-devel and then install the package again?

@xulongwu4 It worked, thanks.

octave-devel should be a requirement of the octave, because installing packages within octave is a must for most users.

JoshStrobl edited projects, added Software; removed Lacks Project.Jul 20 2018, 12:08 PM
K4rlos added a subscriber: K4rlos.Aug 7 2018, 11:10 PM
K4rlos added a comment.Aug 8 2018, 3:12 PM

I agree with @selfus

I think there's no reason to divide octave -- octave and octave-devel should be merged.

DataDrake closed this task as Wontfix.Aug 8 2018, 5:47 PM
DataDrake claimed this task.
DataDrake added a subscriber: DataDrake.

It is our standard procedure to split development headers out of the base package. We are not going to change that for Octave. Even if we didn't split Octave, you would still need to install compilation tools. By the same logic, we would also be expected to install the necessary compilers and libraries in order for packages to be installed form the Forge. While some users may need Forge packages, I'm not about to force you to have build tools or headers installed by default.

Perhaps a volunteer could submit a push request with instructions for installing Octave packages to have them published on the Help Center.

It's a good way to contribute to Solus and to help other users. ?

K4rlos added a comment.Aug 8 2018, 7:19 PM

I didn't want to sound demanding, sorry for that, just wanted to push this task somewhere.

@kyrios123 Right, I will do that.

Why would we need documentation for Octave? It's two packages.

Sorry, I guess I misunderstood... When I read the message from DataDrake, I thought that in addition to the two Octave packages, some others compilation tools would be required to build & install Octave packages and thus some instructions could be helpful.

@kyrios123 If there are greater demands beyond the system.devel component and octave-devel package being needed, I can see the need for documentation. If those are really the only two things needed, I don't think so. We have documentation on installing "base development tools" on the Help Center, so that'd cover that basis, and installation of -devel packages for compiling is standard, thus not needed.