Re: yosemite octave 3.8.2

Jack Howarth <[email protected]>
Newsgroups gmane.os.apple.fink.devel
Message-ID <CAP5Ds0DfqsMjC-MKUbKOAdfgDVYAeCzbQRXxuZY_5uPYichtFA@mail.gmail.com>
Alexander,
     I find that using the change....

-- java-oct.info.orig 2014-10-23 14:52:30.000000000 -0400

+++ java-oct.info 2014-10-23 15:02:08.000000000 -0400

@@ -40,6 +40,8 @@

 CompileScript: <<

 #!/bin/sh -ev



+export JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Home

+

 pkgsrc=%type_raw[forge]



 pushd src

@@ -51,7 +53,11 @@

 ./octave-forge-compile.sh

 <<



-InstallScript: ./octave-forge-install.sh

+InstallScript: <<

+#!/bin/sh -ev

+export JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Home

+./octave-forge-install.sh

+<<

 PostInstScript:
%p/share/octave/%type_raw[oct]/%type_raw[forge]/octave-forge-postinst.sh

 PreRmScript:
%p/share/octave/%type_raw[oct]/%type_raw[forge]/octave-forge-prerm.sh



fixes the problem.
          Jack

On Thu, Oct 23, 2014 at 2:32 PM, Jack Howarth <[email protected]>
wrote:

> Alexander,
>      Building specfun-oct364-1.1.0-6 exposed one last thinko in the
> octave-3.6.4 and octave-3.8.2 packaging on 10.0.
>
> In file included from ellipj.cc:40:
>
> In file included from /sw/include/octave-3.6.4/octave/oct.h:33:
>
> In file included from /sw/include/octave-3.6.4/octave/Matrix.h:30:
>
> In file included from /sw/include/octave-3.6.4/octave/mx-base.h:65:
>
> In file included from /sw/include/octave-3.6.4/octave/boolSparse.h:29:
>
> In file included from /sw/include/octave-3.6.4/octave/Sparse-op-defs.h:31:
>
> */sw/include/octave-3.6.4/octave/mx-inlines.cc:311:10: **fatal error: **'libcxx-fix.h'
> file not found*
>
> #include "libcxx-fix.h"
>
> *         ^*
>
> 1 error generated.
>
> Those packages need to be revised to manually install the libcxx-fix.h
> header for the associated octave-*-dev split-off.
>          Jack
> FYI, Even Homebrew forgot to install this header.
>
> On Thu, Oct 23, 2014 at 1:10 PM, Alexander Hansen <
> [email protected]> wrote:
>
>> That’s what was _supposed to happen_, but I missed pushing my changes to
>> github before tagging the release so nobody else got them.
>>
>> version 0.3.2.1 actually does the right thing.  Sorry about that.
>>
>> On Oct 23, 2014, at 9:56 AM, Jack Howarth <[email protected]>
>> wrote:
>>
>> Alexander,
>>     Of course, the installed /sw/bin/oct-cxx also needs to be changed
>> from
>>
>> case $osversion in
>>         13)
>>                 COMPILER=/sw/var/lib/fink/path-prefix-libcxx/c++ ;;
>>
>> to
>>
>> case $osversion in
>>         13|14)
>>                 COMPILER=/sw/var/lib/fink/path-prefix-libcxx/c++ ;;
>>
>>    Jack
>>
>>
>> On Thu, Oct 23, 2014 at 12:53 PM, Jack Howarth <[email protected]
>> > wrote:
>>
>>> Alexander,
>>>      This problem is due to the /sw/bin/oct-cc installed by the current fink-octave-scripts
>>> package having...
>>>
>>> case $osversion in
>>>         1[123])
>>>                 COMPILER=/sw/var/lib/fink/path-prefix-clang/cc ;;
>>>
>>> instead of
>>>
>>> case $osversion in
>>>         1[1234])
>>>                 COMPILER=/sw/var/lib/fink/path-prefix-clang/cc ;;
>>>
>>>    Jack
>>>
>>>
>>
>>
>> ------------------------------------------------------------------------------
>>
>> _______________________________________________
>> Fink-devel mailing list
>> [email protected]
>> List archive:
>> http://news.gmane.org/gmane.os.apple.fink.devel
>> Subscription management:
>> https://lists.sourceforge.net/lists/listinfo/fink-devel
>>
>>
>

------------------------------------------------------------------------------

_______________________________________________
Fink-devel mailing list
[email protected]
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.