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

 
 

bug #45363: Can't install NaN package

Submitted by:  None
Submitted on:  Sat 20 Jun 2015 08:27:03 AM UTC  
 
Category: Octave Forge PackageSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Installation Failure
Status: DuplicateAssigned to: None
Originator Name: Mathias MagdowskiOriginator Email: -unavailable-
Open/Closed: ClosedRelease: 4.0.0
Operating System: Microsoft Windows

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

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>
Project 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:

(file #34303)

John Donoghue <lostbard>
Project 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>
Project 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>
Project 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 File(s):
   
   
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
  • -unavailable- added by mtmiller (Updated the item)
  • -unavailable- added by lostbard (Posted a comment)
  • -unavailable- added by carandraug (Alois Schloegl - maintainer of the NaN package)
  • -unavailable- added by None (Submitted the item)
  •  

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

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 29 Mar 2016 05:27:57 PM UTCmtmillerStatusNone=>Duplicate
      Open/ClosedOpen=>Closed
    Wed 24 Jun 2015 10:03:29 AM UTCcarandraugDependencies-=>bugs #44859 is dependent
    Wed 24 Jun 2015 01:35:06 AM UTClostbardAttached File-=>Added nan.patch, #34303
    Sun 21 Jun 2015 12:41:42 PM UTCcarandraugCarbon-Copy-=>Added -unavailable-

    Back to the top


    Powered by Savane 3.1-cleanup1