[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: nan-3.0.1 package
From: |
Alois Schloegl |
Subject: |
Re: nan-3.0.1 package |
Date: |
Wed, 23 Mar 2016 16:03:21 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Icedove/38.7.0 |
As pointed out earlier [1], the work around in Windows until a new
release would be:
setenv('CC', 'gcc')
pkg install -forge nan
Best,
Alois
[1] http://savannah.gnu.org/bugs/?47355
On 2016-03-23 15:39, Said Benaissa wrote:
> Hi,
>
> I couldn't install nan package with pkg install -forge nan
> Please, there is an alternative way?
> Thanks,
>
> best regards,
> Said
>
> On Wed, Mar 16, 2016 at 4:40 PM, Said Benaissa <address@hidden>
> wrote:
>
>> when I use pkg install -forge nan
>>
>> I have this message
>>>> pkg install -forge nan
>> ls: /usr/local/: No such file or directory
>> linear.cpp: In function 'int save_model(const char*, const model*)':
>> linear.cpp:1900:12: warning: comparison between signed and unsigned
>> integer expressions [-Wsign-compare]
>> for(i=0; i<model_->nr_class; i++)
>> ^
>> linear.cpp: In function 'void get_labels(const model*, int*)':
>> linear.cpp:2201:16: warning: comparison between signed and unsigned
>> integer expressions [-Wsign-compare]
>> for(int i=0;i<model_->nr_class;i++)
>> ^
>> make: cc: Command not found
>> make: *** [svm.o] Error 127
>> make: Entering directory `/tmp/oct-hXp05A/NaN/src'
>> C:/Octave/Octave-4.0.0/bin/mkoctfile-4.0.0.exe --mex -lgomp "histo_mex.cpp"
>> C:/Octave/Octave-4.0.0/bin/mkoctfile-4.0.0.exe --mex -lgomp "covm_mex.cpp"
>> C:/Octave/Octave-4.0.0/bin/mkoctfile-4.0.0.exe --mex -lgomp
>> "kth_element.cpp"
>> C:/Octave/Octave-4.0.0/bin/mkoctfile-4.0.0.exe --mex -lgomp
>> "sumskipnan_mex.cpp"
>> C:/Octave/Octave-4.0.0/bin/mkoctfile-4.0.0.exe --mex -lgomp "str2array.cpp"
>> g++ -fopenmp -Wall -Wextra -Wconversion -O2 -fopenmp -c tron.cpp
>> g++ -fopenmp -Wall -Wextra -Wconversion -O2 -fopenmp -c linear.cpp
>> env CC=g++ C:/Octave/Octave-4.0.0/bin/mkoctfile-4.0.0.exe --mex -lgomp
>> -lblas train.c tron.o linear.o linear_model_matlab.c
>> cc -fopenmp -Wall -Wextra -Wconversion -O2 -fopenmp -c svm.cpp
>> make: Leaving directory `/tmp/oct-hXp05A/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, column 9
>>
>> On Wed, Mar 16, 2016 at 4:38 PM, Nicholas Jankowski <address@hidden>
>> wrote:
>>
>>> On Wed, Mar 16, 2016 at 11:36 AM, Nicholas Jankowski <address@hidden
>>>> wrote:
>>>
>>>> On Wed, Mar 16, 2016 at 11:34 AM, Said Benaissa <
>>>> address@hidden> wrote:
>>>>
>>>>> Dear,
>>>>> I want to install the package nan-3.0.1,
>>>>> I use pkg install -forge nan-3.0.1.tar.gz
>>>>> but I have the following error
>>>>> error: cellfun: C must be a cell array
>>>>> error: called from
>>>>> get_forge_pkg at line 72 column 14
>>>>> get_forge_download at line 26 column 12
>>>>> pkg at line 393 column 29
>>>>>
>>>>> Please, what should I do to install the package?
>>>>> Thanks
>>>>>
>>>>> Best regards,
>>>>> Said
>>>>>
>>>>
>>>> just do
>>>>
>>>> pkg install -forge nan
>>>>
>>>> It will get the latest version. If instead you download the file to your
>>>> computer, then you would change to that folder and run:
>>>>
>>>> pkg install nan-3.0.1.tar.gz
>>>>
>>>> I recommend the first option.
>>>>
>>>
>>>
>>> Also, don't forget to use the package you have to load it after opening
>>> Octave:
>>>
>>> pkg load nan
>>>
>>>
>>> "help pkg" can show you more options.
>>>
>>
>>
>>
>> --
>> BENAISSA Said
>> Engineer researcher
>> email : address@hidden
>> Tel :+212 678 34 47 68 (Morocco)
>> Tel : +32465510686 (Belgium)
>>
>>
>
>
>
>
> _______________________________________________
> Help-octave mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/help-octave
>