help-octave
[Top][All Lists]
Advanced

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

Re: Unable to compile octave-forge? Is it compatible with octave 4.0.0?


From: Tatsuro MATSUOKA
Subject: Re: Unable to compile octave-forge? Is it compatible with octave 4.0.0?
Date: Sat, 27 Jun 2015 07:53:03 +0900 (JST)

----- Original Message -----

> From: Davinder Kaur 
> To: help-octave
> Cc: 
> Date: 2015/6/27, Sat 00:35
> Subject: Re: Unable to compile octave-forge? Is it compatible with octave 
> 4.0.0?
> 
> I installed octave-4.0.0, and got the following warnings. 
> 
> http://pastie.org/10260375 <http://pastie.org/10260375
> 
> And, in order to get rid of these warnings I tried to install libxft-dev,
> llvm-dev, and default-jdk.
> 
> and got this
> 
> http://pastie.org/10260429 <http://pastie.org/10260429
> 
> What should I do to remove this problem now?
> 
Oh! You are installing octave-4.0.0 from source.
Please report full configure summary as example in the last part of 
this mail to see what is lacked.


In the example, one can see that llvm, portaudio, Sndfile is lacked.



> configure: WARNING: JAVA_HOME environment variable not initialized.  
> Auto-detection will proceed but is unreliable.
> configure: 

can be ignored.


Oh! I have forgotten to mention java related bug is found for 4.0.0.
http://savannah.gnu.org/bugs/?45264

patch
http://hg.savannah.gnu.org/hgweb/octave/rev/209ee4a730f6


After your make finished, as you know

$ make check
$ sudo make install

If you met something trouble in the process, please report.

After install is safe, start octave as root.

$ sudo octave
(Root start enables package install to all users.)

>> pkg install -forge -verbose image

Tatsuro
 



******************************************************
Example

Octave is now configured for x86_64-unknown-linux-gnu

  Source directory:            ../octave-4.0.0
  Installation prefix:         /opt/octave/4.0.0
  C compiler:                  gcc  -pthread -fopenmp  -Wall -W -Wshadow 
-Wformat -Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes 
-Wwrite-strings -Wcast-align -Wcast-qual -g -O2
  C++ compiler:                g++  -pthread -fopenmp  -Wall -W -Wshadow 
-Wold-style-cast -Wformat -Wpointer-arith -Wwrite-strings -Wcast-align 
-Wcast-qual -g -O2
  Fortran compiler:            gfortran -O
  Fortran libraries:            -L/usr/lib/gcc/x86_64-linux-gnu/4.8 
-L/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu 
-L/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib -L/lib/x86_64-linux-gnu 
-L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib 
-L/usr/lib/gcc/x86_64-linux-gnu/4.8/../../.. -lgfortran -lm -lquadmath
  Lex libraries:               
  LIBS:                        -lutil -lm  

  AMD CPPFLAGS:                
  AMD LDFLAGS:                 
  AMD libraries:               -lamd
  ARPACK CPPFLAGS:             
  ARPACK LDFLAGS:              
  ARPACK libraries:            -larpack
  BLAS libraries:              -lblas
  CAMD CPPFLAGS:               
  CAMD LDFLAGS:                
  CAMD libraries:              -lcamd
  CARBON libraries:            
  CCOLAMD CPPFLAGS:            
  CCOLAMD LDFLAGS:             
  CCOLAMD libraries:           -lccolamd
  CHOLMOD CPPFLAGS:            
  CHOLMOD LDFLAGS:             
  CHOLMOD libraries:           -lcholmod
  COLAMD CPPFLAGS:             
  COLAMD LDFLAGS:              
  COLAMD libraries:            -lcolamd
  CURL CPPFLAGS:               
  CURL LDFLAGS:                
  CURL libraries:              -lcurl
  CXSPARSE CPPFLAGS:           
  CXSPARSE LDFLAGS:            
  CXSPARSE libraries:          -lcxsparse
  DL libraries:                -ldl
  FFTW3 CPPFLAGS:              
  FFTW3 LDFLAGS:               
  FFTW3 libraries:             -lfftw3_threads -lfftw3
  FFTW3F CPPFLAGS:             
  FFTW3F LDFLAGS:              
  FFTW3F libraries:            -lfftw3f_threads -lfftw3f
  FLTK CPPFLAGS:                -I/usr/include/cairo -I/usr/include/glib-2.0 
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 
-I/usr/include/freetype2 -I/usr/include/libpng12   -DCP936  -D_LARGEFILE_SOURCE 
-D_LARGEFILE64_SOURCE -D_THREAD_SAFE -D_REENTRANT
  FLTK LDFLAGS:                -Wl,-Bsymbolic-functions -lfltk_gl -lfltk -lX11
  FLTK libraries:              
  fontconfig CPPFLAGS:         -I/usr/include/freetype2  
  fontconfig libraries:        -lfontconfig -lfreetype  
  FreeType2 CPPFLAGS:          -I/usr/include/freetype2  
  FreeType2 libraries:         -lfreetype  
  GLPK CPPFLAGS:               
  GLPK LDFLAGS:                
  GLPK libraries:              -lglpk
  HDF5 CPPFLAGS:               
  HDF5 LDFLAGS:                
  HDF5 libraries:              -lhdf5
  Java home:                   /usr/lib/jvm/java-7-openjdk-amd64
  Java JVM path:               
/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/server
  Java CPPFLAGS:               -I/usr/lib/jvm/java-7-openjdk-amd64/include 
-I/usr/lib/jvm/java-7-openjdk-amd64/include/linux
  Java libraries:              
  LAPACK libraries:            -llapack
  LLVM CPPFLAGS:               
  LLVM LDFLAGS:                
  LLVM libraries:              
  Magick++ CPPFLAGS:           -I/usr/include/GraphicsMagick  
  Magick++ LDFLAGS:             
  Magick++ libraries:          -lGraphicsMagick++ -lGraphicsMagick  
  OPENGL libraries:            -lfontconfig -lfreetype   -lGL -lGLU
  OSMesa CPPFLAGS:             
  OSMesa LDFLAGS:              
  OSMesa libraries:            -lOSMesa
  PCRE CPPFLAGS:               
  PCRE libraries:              -lpcre
  PortAudio CPPFLAGS:          
  PortAudio LDFLAGS:           
  PortAudio libraries:         
  PTHREAD flags:               -pthread
  PTHREAD libraries:           
  QHULL CPPFLAGS:              
  QHULL LDFLAGS:               
  QHULL libraries:             -lqhull
  QRUPDATE CPPFLAGS:           
  QRUPDATE LDFLAGS:            
  QRUPDATE libraries:          -lqrupdate
  Qt CPPFLAGS:                 -I/usr/include/qt4 -I/usr/include/qt4/QtCore 
-I/usr/include/qt4/QtGui -I/usr/include/qt4/QtNetwork 
-I/usr/include/qt4/QtOpenGL  
  Qt LDFLAGS:                   
  Qt libraries:                -lQtNetwork -lQtOpenGL -lQtGui -lQtCore   
-lqscintilla2
  READLINE libraries:          -lreadline
  Sndfile CPPFLAGS:            
  Sndfile LDFLAGS:             
  Sndfile libraries:           
  TERM libraries:              -lncurses
  UMFPACK CPPFLAGS:            
  UMFPACK LDFLAGS:             
  UMFPACK libraries:           -lumfpack
  X11 include flags:           
  X11 libraries:               -lX11
  Z CPPFLAGS:                  
  Z LDFLAGS:                   
  Z libraries:                 -lz

  Default pager:               less
  gnuplot:                     gnuplot

  Build Octave GUI:                   yes
  JIT compiler for loops:             no
  Build Java interface:               yes
  Do internal array bounds checking:  no
  Build static libraries:             no
  Build shared libraries:             yes
  Dynamic Linking:                    yes (dlopen)
  Include support for GNU readline:   yes
  64-bit array dims and indexing:     no
  OpenMP SMP multithreading:          yes
  Build cross tools:                  no

configure: WARNING: UNEXPECTED: found nth_element working in g++ 4.8.2.  Has it 
been patched on your system?
configure: WARNING: JAVA_HOME environment variable not initialized.  
Auto-detection will proceed but is unreliable.
configure: 
configure: NOTE: Libraries or auxiliary programs may be skipped if they are
configure: NOTE: not found OR if they are missing required features on your
configure: NOTE: system. 




reply via email to

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