help-octave
[Top][All Lists]
Advanced

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

Error in 'make' while installing octave-3.2.4 from source files


From: Nikhil Mehta
Subject: Error in 'make' while installing octave-3.2.4 from source files
Date: Sun, 21 Mar 2010 23:18:23 -0400

Hi,

I have been trying to install octave-3.2.4 from source files on my Ubuntu 9.10 OS (kernel: 2.6.31-20-generic), (Intel Core2Duo processor). But I find some warnings after ./configure and some errors after 'make'. I have described them below.

[I] Warnings after ./configure :
(a) I get warnings about not finding gperf, flex and bison
(b) I get warnings about certain packages (UMFPACK, COLAMD,CXSPARSE, etc) related to sparse matrix calculations, which I ignored.
(c) I get warnings that 'configure' could not locate 'arpack', 'fltk' though I have installed these packages and I can see them in Synaptic.
These programs have their shared library files (*.so) in the '/usr/lib/' dir on my system, so I also tried specifying the LDFLAGS -L/usr/lib option to ./configure (don't know if that is correct), but to no avail. I still get the all the same warnings. I also tried the 'CPPFLAGS=-I/usr/include/freetyp2' option, but actually I don't have the freetype2 dir there (or anywhere else as such. What I have are the libfltk.so kind of files)

[II] Errors after 'make' Below is the verbatim output after running 'make' -

display.cc:34:22: error: X11/Xlib.h: No such file or directory
display.cc: In member function ‘void display_info::init(bool)’:
display.cc:98: error: ‘Display’ was not declared in this scope
display.cc:98: error: ‘display’ was not declared in this scope
display.cc:98: error: ‘XOpenDisplay’ was not declared in this scope
display.cc:102: error: ‘Screen’ was not declared in this scope
display.cc:102: error: ‘screen’ was not declared in this scope
display.cc:102: error: ‘DefaultScreenOfDisplay’ was not declared in this scope
display.cc:106: error: ‘DefaultDepthOfScreen’ was not declared in this scope
display.cc:108: error: ‘HeightOfScreen’ was not declared in this scope
display.cc:109: error: ‘WidthOfScreen’ was not declared in this scope
display.cc:111: error: ‘XScreenNumberOfScreen’ was not declared in this scope
display.cc:113: error: ‘DisplayHeightMM’ was not declared in this scope
display.cc:114: error: ‘DisplayWidthMM’ was not declared in this scope
make[2]: *** [pic/display.o] Error 1
make[2]: Leaving directory `/home/nikhil/Desktop/octave-3.2.4/src'
make[1]: *** [src] Error 2
make[1]: Leaving directory `/home/nikhil/Desktop/octave-3.2.4'
make: *** [all] Error 2
I have GNU make version 3.81.6 ; g++ version 4:4.4.1 ; gfortran version 4:4.4.1 ; f2c version 20061008-3

Do I need to install anymore packages / programs in order to install octave.
Kindly provide me any help in this regard.

Cheers,
Nikhil

reply via email to

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