Version 2.5.6 (available from here: http://pub.ist.ac.at/~schloegl/matlab/NaN/ fixes the "mexext: Command not found" message.
As Carne pointed out, I cannot do anything about the warning on shadowing core functions without agreement of the octave maintainers. Alois On 2012-08-01 23:13, Carnë Draug wrote: > On 1 August 2012 19:11, Yin, Yue-Jun<y...@air-worldwide.com> wrote: >> Hi all, >> I got these message when I install nan package > > the nan is a package therefore it's not part of the octave project. > It's part of Octave Forge so I'm sending this e-mail to that mailing > list. Also, it's author and maintainer is Alois Scholoegl to whom I'm > also sending this e-mail. > >> octave:3> pkg install C:\Users\i50230\Downloads\nan-2.5.5.tar.gz >> >> make: /usr/local/MATLAB/R2010b/bin/mexext: Command not found >> >> make: Entering directory `/tmp/oct-2/NaN/src' >> >> make: /usr/local/MATLAB/R2010b/bin/mexext: Command not found >> >> make: /usr/local/MATLAB/R2010b/bin/mexext: Command not found >> >> make: /usr/local/MATLAB/R2010b/bin/mexext: Command not found >> >> make: /usr/local/MATLAB/R2010b/bin/mexext: Command not found >> >> make: /usr/local/MATLAB/R2010b/bin/mexext: Command not found > > I believe this is related to > http://gnu-octave-repository.2306053.n4.nabble.com/Re-strange-message-while-installing-tsa-4-2-4-tar-gz-package-td4647905.html > and which has been reported at > https://sourceforge.net/tracker/?func=detail&aid=3552548&group_id=2888&atid=102888 > >> tron.cpp:1:0: warning: -fPIC ignored for target (all code is position >> independen >> >> t) >> >> linear.cpp:1:0: warning: -fPIC ignored for target (all code is position >> independ >> >> ent) >> >> linear.cpp:2111:13: warning: unused parameter 'prob' >> >> svm.cpp:1:0: warning: -fPIC ignored for target (all code is position >> independent >> >> ) > Could > >> warning: function >> C:\Octave\Octave3.4.3_gcc4.5.2\Octave3.4.3_gcc4.5.2\share\octa >> >> ve\packages\nan-2.5.5\center.m shadows a core library function >> >> warning: function >> C:\Octave\Octave3.4.3_gcc4.5.2\Octave3.4.3_gcc4.5.2\share\octa >> >> ve\packages\nan-2.5.5\cor.m shadows a core library function >> >> warning: function >> C:\Octave\Octave3.4.3_gcc4.5.2\Octave3.4.3_gcc4.5.2\share\octa >> >> ve\packages\nan-2.5.5\corrcoef.m shadows a core library function >> >> warning: function >> C:\Octave\Octave3.4.3_gcc4.5.2\Octave3.4.3_gcc4.5.2\share\octa >> >> ve\packages\nan-2.5.5\cov.m shadows a core library function >> >> warning: function >> C:\Octave\Octave3.4.3_gcc4.5.2\Octave3.4.3_gcc4.5.2\share\octa >> >> ve\packages\nan-2.5.5\detrend.m shadows a core library function >> >> warning: function >> C:\Octave\Octave3.4.3_gcc4.5.2\Octave3.4.3_gcc4.5.2\share\octa >> >> ve\packages\nan-2.5.5\iqr.m shadows a core library function >> >> warning: function >> C:\Octave\Octave3.4.3_gcc4.5.2\Octave3.4.3_gcc4.5.2\share\octa >> >> ve\packages\nan-2.5.5\kurtosis.m shadows a core library function >> >> warning: function >> C:\Octave\Octave3.4.3_gcc4.5.2\Octave3.4.3_gcc4.5.2\share\octa >> >> ve\packages\nan-2.5.5\mean.m shadows a core library function >> >> warning: function >> C:\Octave\Octave3.4.3_gcc4.5.2\Octave3.4.3_gcc4.5.2\share\octa >> >> ve\packages\nan-2.5.5\meansq.m shadows a core library function >> >> warning: function >> C:\Octave\Octave3.4.3_gcc4.5.2\Octave3.4.3_gcc4.5.2\share\octa >> >> ve\packages\nan-2.5.5\median.m shadows a core library function >> >> warning: function >> C:\Octave\Octave3.4.3_gcc4.5.2\Octave3.4.3_gcc4.5.2\share\octa >> >> ve\packages\nan-2.5.5\moment.m shadows a core library function >> >> warning: function >> C:\Octave\Octave3.4.3_gcc4.5.2\Octave3.4.3_gcc4.5.2\share\octa >> >> ve\packages\nan-2.5.5\normcdf.m shadows a core library function >> >> warning: function >> C:\Octave\Octave3.4.3_gcc4.5.2\Octave3.4.3_gcc4.5.2\share\octa >> >> ve\packages\nan-2.5.5\norminv.m shadows a core library function >> >> warning: function >> C:\Octave\Octave3.4.3_gcc4.5.2\Octave3.4.3_gcc4.5.2\share\octa >> >> ve\packages\nan-2.5.5\normpdf.m shadows a core library function >> >> warning: function >> C:\Octave\Octave3.4.3_gcc4.5.2\Octave3.4.3_gcc4.5.2\share\octa >> >> ve\packages\nan-2.5.5\prctile.m shadows a core library function >> >> warning: function >> C:\Octave\Octave3.4.3_gcc4.5.2\Octave3.4.3_gcc4.5.2\share\octa >> >> ve\packages\nan-2.5.5\quantile.m shadows a core library function >> >> warning: function >> C:\Octave\Octave3.4.3_gcc4.5.2\Octave3.4.3_gcc4.5.2\share\octa >> >> ve\packages\nan-2.5.5\range.m shadows a core library function >> >> warning: function >> C:\Octave\Octave3.4.3_gcc4.5.2\Octave3.4.3_gcc4.5.2\share\octa >> >> ve\packages\nan-2.5.5\ranks.m shadows a core library function >> >> warning: function >> C:\Octave\Octave3.4.3_gcc4.5.2\Octave3.4.3_gcc4.5.2\share\octa >> >> ve\packages\nan-2.5.5\skewness.m shadows a core library function >> >> warning: function >> C:\Octave\Octave3.4.3_gcc4.5.2\Octave3.4.3_gcc4.5.2\share\octa >> >> ve\packages\nan-2.5.5\spearman.m shadows a core library function >> >> warning: function >> C:\Octave\Octave3.4.3_gcc4.5.2\Octave3.4.3_gcc4.5.2\share\octa >> >> ve\packages\nan-2.5.5\std.m shadows a core library function >> >> warning: function >> C:\Octave\Octave3.4.3_gcc4.5.2\Octave3.4.3_gcc4.5.2\share\octa >> >> ve\packages\nan-2.5.5\sumsq.m shadows a built-in function >> >> warning: function >> C:\Octave\Octave3.4.3_gcc4.5.2\Octave3.4.3_gcc4.5.2\share\octa >> >> ve\packages\nan-2.5.5\tcdf.m shadows a core library function >> >> warning: function >> C:\Octave\Octave3.4.3_gcc4.5.2\Octave3.4.3_gcc4.5.2\share\octa >> >> ve\packages\nan-2.5.5\tinv.m shadows a core library function >> >> warning: function >> C:\Octave\Octave3.4.3_gcc4.5.2\Octave3.4.3_gcc4.5.2\share\octa >> >> ve\packages\nan-2.5.5\tpdf.m shadows a core library function >> >> warning: function >> C:\Octave\Octave3.4.3_gcc4.5.2\Octave3.4.3_gcc4.5.2\share\octa >> >> ve\packages\nan-2.5.5\var.m shadows a core library function >> >> >> Any idea how to get rid of them? Regards, > > The nan package does shadow (replaces) all those core functions. Do > you understand what that means? And no, it's not possible to remove > those warnings other than changing the octave source. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev