help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Trouble installing package:


From: Olaf Till
Subject: Re: Trouble installing package:
Date: Mon, 17 Oct 2016 09:44:54 +0200
User-agent: Mutt/1.5.23 (2014-03-12)

On Sun, Oct 16, 2016 at 10:46:22AM -0700, Octave Dummy wrote:
> Trying to install parrale. It say install struct first;  Why trouble with
> struct?  ubuntu 16.04
> ...
> >> pkg install -forge struct
> In file included from error-helpers.cc:20:0:
> /opt/octave-4.0.0/include/octave-4.0.3/octave/../octave/oct.h:31:20: fatal
> error: config.h: No such file or directory
> compilation terminated.
> make: *** [error-helpers.o] Error 1
> make: Entering directory '/tmp/oct-ZKbflC/struct-1.0.14/src'
> CXXFLAGS="-g -O2 -Wno-deprecated-declarations"
> /opt/octave-4.0.0/bin/mkoctfile-4.0.3 -c error-helpers.cc
> Makefile:40: recipe for target 'error-helpers.o' failed
> make: Leaving directory '/tmp/oct-ZKbflC/struct-1.0.14/src'

Normally mkoctfile sets the necessary -I flags to avoid this error
(both -I.../octave-<version> and -I.../octave-<version>/octave). Looks
like an issue with your Octave installation. You could call

'/path/to/the/right/mkoctfile -v -c dummy-file-name.cc'

to see the -I flags of its compilation command, maybe this helps to
figure out what is amiss.

Olaf

-- 
public key id EAFE0591, e.g. on x-hkp://pool.sks-keyservers.net

Attachment: signature.asc
Description: Digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]