octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #44859] octave forge NAN 2.7.4 install fails i


From: Jakob Abermann
Subject: [Octave-bug-tracker] [bug #44859] octave forge NAN 2.7.4 install fails in window
Date: Wed, 17 Jun 2015 12:34:00 +0000
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.124 Safari/537.36

Follow-up Comment #4, bug #44859 (project octave):

having the same problem and Marco's workaround doesnt work for me.

**************
pkg install -forge nan
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-wQC9V9/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:OctaveOctave-4.0.0includeoctave
-4.0.0octave.. -IC:OctaveOctave-4.0.0includeoctave-4.0.0octave
-IC:OctaveOctave-4.0.0includ
e -o "svm_model_octave.o" -c "svm_model_matlab.c"
make: Leaving directory `/tmp/oct-wQC9V9/NaN/src'

pkg: error running `make' for the nan package.
error: called from 'configure_make' in file
C:OctaveOctave-4.0.0shareoctave4.0.0mpkgprivatec
onfigure_make.m near line 96, column 9


***************
and 
export DL_LDFLAGS="-shared -fopenmp"
warning: the 'export' function belongs to the statistics package from Octave
Forge but has not yet been implemented.

Please read `http://www.octave.org/missing.html' to learn how you can
contribute missing functionality.

error: 'export' undefined near line 1 column 1

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?44859>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]