bugGNU Octave - Bugs: bug #47559, pkg install of nan package on...


bug #47559: pkg install of nan package on octave for windows

Submitter:  Tatsuro MATSUOKA <tmacchant>
Submitted:  Tue 29 Mar 2016 02:48:09 AM UTC
Category:  Octave Package Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Build Failure
Status:  Duplicate Assigned to:  None
Originator Name:  Tatsuro MATSUOKA Open/Closed:  * Closed
Release:  * 4.0.1 Operating System:  * Microsoft Windows
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup

Wed 03 Aug 2016 09:41:30 AM UTC, comment #3: 

This bug is fixed in the latest release v3.0.2 of the octave-nan package.

Alois Schlögl <schloegl>
Tue 29 Mar 2016 06:19:23 AM UTC, comment #2: 

Sorry for a duplicated post again.
Please close this post.

>> setenv CC gcc

is better workaround.

Tatsuro MATSUOKA <tmacchant>
Tue 29 Mar 2016 05:43:55 AM UTC, comment #1: 

Thanks for the report, but this has already been reported to the package maintainer, see bug #47355.

Another workaround is to "setenv CC gcc" in Octave before installing the package.

Mike Miller <mtmiller>
Group Member
Tue 29 Mar 2016 02:48:09 AM UTC, original submission:  

pkg install of nan package on octave for windows.

From the below install command

>> pkg install -verbose nan-3.0.1.tar.gz

I got an error message:

cc -fopenmp -Wall -Wextra -Wconversion -O2  -fopenmp  -c svm.cpp
make: cc: Command not found
make: *** [svm.o] Error 127
make: Leaving directory `/tmp/oct-lMjN0h/NaN/src'

This is of course, cc.exe does not exist in bin directory of octave for windows. Workaround is to copy gcc.exe to cc.exe.

However, other places g++ command is found. Then I wonder why cc is used instead of gcc.

Tatsuro MATSUOKA <tmacchant>


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

Attach Files:

No files currently attached


   bug dependencies.

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by schloegl (Posted a comment)
  • -email is unavailable- added by mtmiller (Posted a comment)
  • -email is unavailable- added by tmacchant (Submitted the item)

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.


    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-03-29 mtmiller StatusNone Duplicate
        Open/ClosedOpen Closed
        Dependencies- Depends on bugs #47355

    Back to the top

    Powered by Savane 3.13-58d6.
    Corresponding source code