bugGNU Octave - Bugs: bug #48426, Nan package fails to install in...

 
 

bug #48426: Nan package fails to install in dev octave

Submitted by:  John Donoghue <lostbard>
Submitted on:  Wed 06 Jul 2016 08:39:54 PM UTC  
 
Category:  Octave Forge Package Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Build Failure
Status:  Fixed Assigned to:  None
Originator Name:  JohnD Open/Closed:  Closed
Release:  4.2.0 Operating System:  Any

Add a New Comment (Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

( Jump to the original submission)

Wed 19 Jul 2017 04:03:37 PM UTC, comment #6: 

closing as fixed for nan 3.1.1

John Donoghue <lostbard>
Project Member
Wed 18 Jan 2017 06:09:26 PM UTC, comment #5: 

nan 3.1.1 works ok for Windows / Octave 4.2.0

John Donoghue <lostbard>
Project Member
Thu 24 Nov 2016 02:54:49 PM UTC, comment #4: 

Still an issue with official 4.2.0 release, using nan-3.0.3

For windows, running octave cmd:

setenv('CPPFLAGS', '-std=c++11')

Before pkg install allows it to install ok.

John Donoghue <lostbard>
Project Member
Sun 02 Oct 2016 03:54:58 PM UTC, comment #3: 

Adding package maintainer to CC

Carnë Draug <carandraug>
Project Member
Sun 02 Oct 2016 02:09:23 PM UTC, comment #2: 

I got the same error (Octave 4.2.0-rc2, gcc 5.3.0), and was able to get it to install only with

export CPPFLAGS=-std=c++11

Nir Krakauer <nir_krakauer>
Wed 06 Jul 2016 08:42:08 PM UTC, comment #1: 

Same error seen when trying to compile Nan natively from -forge package in mxe-octave.

John Donoghue <lostbard>
Project Member
Wed 06 Jul 2016 08:39:54 PM UTC, original submission:  

Attempting to compile in Linux:

env CC=g++ mkoctfile --mex -lgomp -lblas train.c tron.o linear.o linear_model_matlab.c
In file included from /usr/include/c++/5.3.1/cstdint:35:0,
                 from /usr/local/include/octave-4.1.0+/octave/octave-config.h:64,
                 from /usr/local/include/octave-4.1.0+/octave/mex.h:51,
                 from train.c:34:
/usr/include/c++/5.3.1/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support is currently experimental, and must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
 #error This file requires compiler and library support for the \
  ^
Makefile:111: recipe for target 'train.mex' failed
make: *** [train.mex] Error 1

John Donoghue <lostbard>
Project Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by carandraug (Alois Schloegl - maintainer of NaN package)
  • -email is unavailable- added by nir_krakauer (Posted a comment)
  • -email is unavailable- added by lostbard (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

     

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2017-07-19 lostbard StatusNone => Fixed
        Open/ClosedOpen => Closed
    2016-11-24 lostbard Releasedev => 4.2.0
    2016-10-02 carandraug Carbon-Copy- => Added -email is unavailable-

    Back to the top


    Powered by Savane 3.7