[Pkg-octave-devel] Problems in octaviz

Rafa Rodriguez Galvan rafael.rodriguez@uca.es
Fri, 04 Mar 2005 20:25:27 +0100

Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable


as I commented before my short vacation period, I'm working
to port matwrap and octaviz to the DOG Guidelines. I've
started with the second one and, as Rafael told us,
octaviz taked about two hours to build in my Pentium
Centrino 1.400 laptop.=20

But it failed when tested it in a dual desktop, with two=20
Athlon 1.800 processors whit the error message:

/usr/include/vtk/vtkOpenGLRenderWindow.h:30:40: GL/gl.h: No file
or directory

The octave packages instaled are:

ii  octave2.1      2.1.66-1
ii  octave2.1-head 2.1.66-1

I think the relevant package in this error is:

ii  xlibmesa-gl-dev 4.2.1-12.1

I copy and paste:
$ locate GL/gl.h
$ dpkg -S /usr/X11R6/include/GL/gl.h
xlibmesa-gl-dev: /usr/X11R6/include/GL/gl.h
Though xlibmesa-gl-dev provides GL/gl.h, octaviz
does not build in this computer.

But in my laptop (where octaviz builds without errors),
and I have not installed xlibmesa-gl-dev:
$ locate GL/gl.h
$ dpkg -S /usr/include/GL/gl.h
mesa-common-dev: /usr/include/GL/gl.h

So, it seems that octaviz builds fine if mesa-comon-dev
is installed, though it is not required by Builds-Depends:
Build-Depends: debhelper (>=3D 4.0.0), cmake, libvtk4-dev (>=3D 4.4.2),
octave2.1-headers (>=3D 2.1.53), lesstif-dev, perl.

libvtk4-dev depends on "libvtk4, libgl-dev, xlibs-dev, libc6-dev",
and libgl-dev is provided by xlibmesa-gl-dev, so it should work,
but i think it doesn't in my desktop. And strangely, mesa-common-dev
doesn't provide libgl-dev, but octaviz builds fine with it.

The question is: should octaviz include "mesa-common-dev" in

J. Rafael Rodriguez Galvan.
Cadiz University (UCA).                 OSLUCA (Free Software Office, UCA)
Department of Mathematics.                 [1] http://softwarelibre.uca.es

Content-Type: application/pgp-signature; name=signature.asc
Content-Description: Esta parte del mensaje =?ISO-8859-1?Q?est=E1?= firmada

Version: GnuPG v1.2.4 (GNU/Linux)