help-octave
[Top][All Lists]
Advanced

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

Re: Installing general package in OSX 10.9.5 (Mavericks)


From: Alexander Hansen
Subject: Re: Installing general package in OSX 10.9.5 (Mavericks)
Date: Fri, 31 Oct 2014 15:13:05 -0700

On Oct 30, 2014, at 6:26 AM, aea1029 <address@hidden> wrote:

> Hello. I am trying to install image package in my recently installed GNU
> Octave (v. 3.8.1). However it said that I need to install its dependencies
> which I did:
> 
> 
> octave:1> pkg install -forge image
> error: the following dependencies were unsatisfied:
>   image needs signal >= 1.2.0
> image needs general >= 1.3.0
> octave:1> pkg install -forge general
> In file included from SHA1.cc:19:
> In file included from
> /usr/local/Cellar/octave/3.8.1/include/octave-3.8.1/octave/../octave/oct.h:33:
> In file included from
> /usr/local/Cellar/octave/3.8.1/include/octave-3.8.1/octave/Matrix.h:30:
> In file included from
> /usr/local/Cellar/octave/3.8.1/include/octave-3.8.1/octave/mx-base.h:65:
> In file included from
> /usr/local/Cellar/octave/3.8.1/include/octave-3.8.1/octave/boolSparse.h:29:
> In file included from
> /usr/local/Cellar/octave/3.8.1/include/octave-3.8.1/octave/Sparse-op-defs.h:31:
> /usr/local/Cellar/octave/3.8.1/include/octave-3.8.1/octave/mx-inlines.cc:311:10:
> fatal error: 
>      'libcxx-fix.h' file not found
> #include "libcxx-fix.h"
>         ^
> 1 error generated.
> clang: error: no such file or directory: 'SHA1.o'
> In file included from mark_for_deletion.cc:16:
> In file included from
> /usr/local/Cellar/octave/3.8.1/include/octave-3.8.1/octave/../octave/oct.h:33:
> In file included from
> /usr/local/Cellar/octave/3.8.1/include/octave-3.8.1/octave/Matrix.h:30:
> In file included from
> /usr/local/Cellar/octave/3.8.1/include/octave-3.8.1/octave/mx-base.h:65:
> In file included from
> /usr/local/Cellar/octave/3.8.1/include/octave-3.8.1/octave/boolSparse.h:29:
> In file included from
> /usr/local/Cellar/octave/3.8.1/include/octave-3.8.1/octave/Sparse-op-defs.h:31:
> /usr/local/Cellar/octave/3.8.1/include/octave-3.8.1/octave/mx-inlines.cc:311:10:
> fatal error: 
>      'libcxx-fix.h' file not found
> #include "libcxx-fix.h"
>         ^
> 1 error generated.
> clang: error: no such file or directory: 'mark_for_deletion.o'
> In file included from packfields.cc:16:
> In file included from
> /usr/local/Cellar/octave/3.8.1/include/octave-3.8.1/octave/../octave/oct.h:33:
> In file included from
> /usr/local/Cellar/octave/3.8.1/include/octave-3.8.1/octave/Matrix.h:30:
> In file included from
> /usr/local/Cellar/octave/3.8.1/include/octave-3.8.1/octave/mx-base.h:65:
> In file included from
> /usr/local/Cellar/octave/3.8.1/include/octave-3.8.1/octave/boolSparse.h:29:
> In file included from
> /usr/local/Cellar/octave/3.8.1/include/octave-3.8.1/octave/Sparse-op-defs.h:31:
> /usr/local/Cellar/octave/3.8.1/include/octave-3.8.1/octave/mx-inlines.cc:311:10:
> fatal error: 
>      'libcxx-fix.h' file not found
> #include "libcxx-fix.h"
>         ^
> 1 error generated.
> clang: error: no such file or directory: 'packfields.o'
> In file included from unpackfields.cc:16:
> In file included from
> /usr/local/Cellar/octave/3.8.1/include/octave-3.8.1/octave/../octave/oct.h:33:
> In file included from
> /usr/local/Cellar/octave/3.8.1/include/octave-3.8.1/octave/Matrix.h:30:
> In file included from
> /usr/local/Cellar/octave/3.8.1/include/octave-3.8.1/octave/mx-base.h:65:
> In file included from
> /usr/local/Cellar/octave/3.8.1/include/octave-3.8.1/octave/boolSparse.h:29:
> In file included from
> /usr/local/Cellar/octave/3.8.1/include/octave-3.8.1/octave/Sparse-op-defs.h:31:
> /usr/local/Cellar/octave/3.8.1/include/octave-3.8.1/octave/mx-inlines.cc:311:10:
> fatal error: 
>      'libcxx-fix.h' file not found
> #include "libcxx-fix.h"
>         ^
> 1 error generated.
> clang: error: no such file or directory: 'unpackfields.o'
> unable to open
> /usr/local/Cellar/octave/3.8.1/share/octave/3.8.1/etc/macros.texi for
> reading
> error: called from '__makeinfo__' in file
> /usr/local/Cellar/octave/3.8.1/share/octave/3.8.1/m/help/__makeinfo__.m near
> line 103, column 5
> error: called from:
> error:  
> /usr/local/Cellar/octave/3.8.1/share/octave/3.8.1/m/pkg/private/install.m at
> line 241, column 5
> error:   /usr/local/Cellar/octave/3.8.1/share/octave/3.8.1/m/pkg/pkg.m at
> line 394, column 9 
> 
> I actually tried other packages and it gave me the same file that was not
> found. Answers are very much appreciated. Thank you very much!
> 
> 
> 

I assume you’re using Homebrew?  It’s always good to report what build system 
you’re using when you’re posting on a package’s help forum.

I borrowed their approach, which creates libcxx-fix.h, for Fink’s Octave-3.6.4 
and Octave-3.8.2 packages because of build problems using the newest Apple 
build tools (thanks for that :-\ ), and discovered that my build scripts had to 
copy the generated libcxx-fix.h over from the build directory manually.  If 
Homebrew has an option to let you keep your build directory around, you could 
try redoing the build using that option, and then copy libcxx-fix.h into 
/usr/local/Cellar/octave/3.8.1/include/octave-3.8.1/octave/ , or generate it 
manually from their build recipe yourself.

And if, indeed, you are using Homebrew, then you should report this problem to 
_their_ help forum, because it’s not something the Octave developers have done, 
and, as you discovered, it breaks building any Octave Forge package that uses 
compiled oct or mex files.

-- 
Alexander Hansen, Ph.D.
Fink User Liaison




reply via email to

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