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

[Pkg-octave-devel] Problems in octaviz



Hello,

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. 

But it failed when tested it in a dual desktop, with two 
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
/usr/X11R6/include/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
/usr/include/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 (>= 4.0.0), cmake, libvtk4-dev (>= 4.4.2),
octave2.1-headers (>= 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
builds-depend?


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

Attachment: signature.asc
Description: Esta parte del mensaje =?ISO-8859-1?Q?est=E1?= firmada digitalmente


Reply to: