help-octave
[Top][All Lists]
Advanced

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

Remote installation problem for 3.2.4 on Ubuntu 8.04


From: Kanny
Subject: Remote installation problem for 3.2.4 on Ubuntu 8.04
Date: Thu, 28 Jan 2010 21:08:07 +0530

I am trying to install Octave 3.2.4 on Ubuntu 8.04 remotely using ssh.
Using apt-get install octave3.0, it installs fine, but i need sparse functions from 3.2.3 or 3.2.4, so the problem.

First it needed fortran, so i installed gfortran using apt-get. Now it compiles for a good time and then gives error related to display:

g++ -c -fPIC -I. -I.. -I../liboctave -I../src -I../libcruft/misc - DHAVE_CONFIG_H -mieee-fp -Wall -W -Wshadow -Wold-style-cast -Wformat - g -O2 -pthread display.cc -o pic/display.o
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

I tried to install build-dep (octave3.0), but get the error from apt- get to include some sources. Does anyone know which sources I should include in /etc/apt/sources.list for octave build-dep ? Even better would have been a source for binary like apt-get install octave3.2.4 ?

I do not plan to use graphics/plotting functionalities, so is there a way to resolve this problem alternately? I tried with --without-x but the same error is resulted.

Any help would be greatly appreciated.

Thanks
Kanny=



reply via email to

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