bugGNU Octave - Bugs: bug #45363, Can't install NaN package

 
 

bug #45363: Can't install NaN package

Submitter:  None
Submitted:  Sat 20 Jun 2015 08:27:03 AM UTC
   
 
Category:  Octave Package Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Installation Failure
Status:  Duplicate Assigned to:  None
Originator Name:  Mathias Magdowski Originator Email:  -email is unavailable-
Open/Closed:  * Closed Release:  * 4.0.0
Operating System:  * Microsoft Windows Fixed Release:  None
Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 24 Jun 2015 01:38:23 AM UTC, comment #4: 

Running the tpkg tests on the installed package says 31 PASS, 0 FAIL, 65 of 81 .m files have no tests.

John Donoghue <lostbard>
Group Member
Wed 24 Jun 2015 01:35:06 AM UTC, comment #3: 

I had to patch the makefile as attached and it worked.

At the end of the install I then get:

warning: function C:\Octave\Octave-4.0.0\share\octave\packages\nan-2.7.6\center.m shadows a core library function
warning: function C:\Octave\Octave-4.0.0\share\octave\packages\nan-2.7.6\cov.m shadows a core library function
warning: function C:\Octave\Octave-4.0.0\share\octave\packages\nan-2.7.6\detrend.m shadows a core library function
warning: function C:\Octave\Octave-4.0.0\share\octave\packages\nan-2.7.6\iqr.m shadows a core library function
warning: function C:\Octave\Octave-4.0.0\share\octave\packages\nan-2.7.6\kurtosis.m shadows a core library function
warning: function C:\Octave\Octave-4.0.0\share\octave\packages\nan-2.7.6\mean.m shadows a core library function
warning: function C:\Octave\Octave-4.0.0\share\octave\packages\nan-2.7.6\meansq.m shadows a core library function
warning: function C:\Octave\Octave-4.0.0\share\octave\packages\nan-2.7.6\median.m shadows a core library function
warning: function C:\Octave\Octave-4.0.0\share\octave\packages\nan-2.7.6\moment.m shadows a core library function
warning: function C:\Octave\Octave-4.0.0\share\octave\packages\nan-2.7.6\normcdf.m shadows a core library function
warning: function C:\Octave\Octave-4.0.0\share\octave\packages\nan-2.7.6\norminv.m shadows a core library function
warning: function C:\Octave\Octave-4.0.0\share\octave\packages\nan-2.7.6\normpdf.m shadows a core library function
warning: function C:\Octave\Octave-4.0.0\share\octave\packages\nan-2.7.6\prctile.m shadows a core library function
warning: function C:\Octave\Octave-4.0.0\share\octave\packages\nan-2.7.6\quantile.m shadows a core library function
warning: function C:\Octave\Octave-4.0.0\share\octave\packages\nan-2.7.6\range.m shadows a core library function
warning: function C:\Octave\Octave-4.0.0\share\octave\packages\nan-2.7.6\ranks.m shadows a core library function
warning: function C:\Octave\Octave-4.0.0\share\octave\packages\nan-2.7.6\skewness.m shadows a core library function
warning: function C:\Octave\Octave-4.0.0\share\octave\packages\nan-2.7.6\spearman.m shadows a core library function
warning: function C:\Octave\Octave-4.0.0\share\octave\packages\nan-2.7.6\std.m shadows a core library function
warning: function C:\Octave\Octave-4.0.0\share\octave\packages\nan-2.7.6\sumsq.m shadows a built-in function
warning: function C:\Octave\Octave-4.0.0\share\octave\packages\nan-2.7.6\tcdf.m shadows a core library function
warning: function C:\Octave\Octave-4.0.0\share\octave\packages\nan-2.7.6\tinv.m shadows a core library function
warning: function C:\Octave\Octave-4.0.0\share\octave\packages\nan-2.7.6\tpdf.m shadows a core library function
warning: function C:\Octave\Octave-4.0.0\share\octave\packages\nan-2.7.6\var.m shadows a core library function
warning: function C:\Octave\Octave-4.0.0\share\octave\packages\nan-2.7.6\zscore.m shadows a core library function


(file #34303)

John Donoghue <lostbard>
Group Member
Wed 24 Jun 2015 12:41:54 AM UTC, comment #2: 

This is also a duplicate of https://savannah.gnu.org/bugs/?44859

The 2.7.6 tar.gz from the link in comment #1 has the same error for me  as the original post when using the release 4.0.0 windows install.

John Donoghue <lostbard>
Group Member
Sun 21 Jun 2015 12:41:42 PM UTC, comment #1: 

Can you confirm if this is fixed in the upcoming release of the NaN package?

https://sourceforge.net/p/octave/package-releases/160/

I am waiting on the NaN package maintainer to create the html documentation before I release it.

Also, adding the maintainer to the CC list of this bug.

Carnë Draug <carandraug>
Group Member
Sat 20 Jun 2015 08:27:03 AM UTC, original submission:  

When trying to install the nan package from the forge sources in Octave 4.0.0 under Windows XP, the following error occurs:

>> pkg install nan-2.7.4.tar.gz

ls: /usr/local/: No such file or directory
tron.cpp:1:0: warning: -fPIC ignored for target (all code is position independent)
 /*
 ^
linear.cpp:1:0: warning: -fPIC ignored for target (all code is position independent)
 /*
 ^
svm.cpp:1:0: warning: -fPIC ignored for target (all code is position independent)
 /*
 ^
svm_model_matlab.c:1:0: warning: -fPIC ignored for target (all code is position independent)
 /*
 ^
svm_model_matlab.c:64:17: fatal error: mex.h: No such file or directory
 #include "mex.h"
                 ^
compilation terminated.
make: * [svm_model_octave.o] Error 1
make: Entering directory `/tmp/oct-KmoYxr/NaN/src'
mkoctfile --mex "histo_mex.cpp"
mkoctfile --mex "covm_mex.cpp"
mkoctfile --mex "kth_element.cpp"
mkoctfile --mex "sumskipnan_mex.cpp"
mkoctfile --mex "str2array.cpp"
g++ -fopenmp -Wall -Wextra -Wconversion -O2 -fPIC  -fopenmp  -c tron.cpp
g++ -fopenmp -Wall -Wextra -Wconversion -O2 -fPIC  -fopenmp  -c linear.cpp
env CC=g++ mkoctfile --mex -lblas train.c tron.o linear.o linear_model_matlab.c
gcc -fopenmp -Wall -Wextra -Wconversion -O2 -fPIC  -fopenmp  -c svm.cpp
gcc  -fopenmp -Wall -Wextra -Wconversion -O2 -fPIC  -fopenmp  -IC:\Octave\Octave-4.0.0\include\octave-4.0.0\octave\.. -IC:\Octave\Oc
tave-4.0.0\include\octave-4.0.0\octave -IC:\Octave\Octave-4.0.0\include -o "svm_model_octave.o" -c "svm_model_matlab.c"
make: Leaving directory `/tmp/oct-KmoYxr/NaN/src'

pkg: error running `make' for the nan package.
error: called from 'configure_make' in file C:\Octave\Octave-4.0.0\share\octave\4.0.0\m\pkg\private\configure_make.m near line 96, c
olumn 9

Anonymous

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #34303:  nan.patch added by lostbard (1KiB - application/octet-stream)

 

Depends on the following items: None found

Digest:
   bug dependencies.

 

Carbon-Copy List
  • -email is unavailable- added by mtmiller (Updated the item)
  • -email is unavailable- added by lostbard (Posted a comment)
  • -email is unavailable- added by carandraug (Alois Schloegl - maintainer of the NaN package)
  • -email is unavailable- added by None (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 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-03-29 mtmiller StatusNone Duplicate
        Open/ClosedOpen Closed
    2015-06-24 carandraug Dependencies- bugs #44859 is dependent
    2015-06-24 lostbard Attached File- Added nan.patch, #34303
    2015-06-21 carandraug Carbon-Copy- Added -email is unavailable-

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code