> > > > ii xlibmesa-gl-dev 4.2.1-12.1 > > I have here: > > ii xlibmesa-gl-dev 4.2.1-12.0.1 > I have tested it again: ii xlibmesa-gl-dev 4.2.1-12.1 > > I have here: > > $ locate GL/gl.h > /usr/include/GL/gl.h > /usr/X11R6/include/GL/gl.h > $ dpkg -S /usr/include/GL/gl.h > xlibmesa-gl-dev: /usr/include/GL/gl.h > > Do you have the same at your system? > It seems locate don't find /usr/include/GL/gl.h, but it exists, as a sym link: $ locate GL/gl.h /usr/X11R6/include/GL/gl.h $ ls -l /usr/include/GL/gl.h /usr/include/GL/gl.h -> ../../X11R6/include/GL/gl.h > > 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 > > --- > > Notice that xlibmesa-gl-dev provides also the include file above. > > > 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. > > Actually, mesa-common-dev depends on mesag-dev which on its turn provides > libgl-dev. This is the reason octaviz built in your laptop, otherwise the > build-dependencies would not have been fulfilled. > OK, I understand. > > The question is: should octaviz include "mesa-common-dev" in > > builds-depend? > > No, this is not necessary, according to my explanation above. I am puzzled > about the failure to build in your desktop machine. > I'll try to investigate the problem (here I paste a snapshot of the relevant error messages). One possibility is checking that installing mesa-common-dev solves the problems in my desktop computer. I can also try actualising xlibmesa-gl-dev to the latest version. Simultaneously, I'll continue working in porting the packages to the Guidelines. ------------------------------------------------------------------------------- Building Utility vtkInitializeInteractor.oct... In file included from /usr/include/c++/3.3/backward/strstream:51, from /usr/include/vtk/vtkIOStream.h:32, from /usr/include/vtk/vtkSystemIncludes.h:40, from /usr/include/vtk/vtkIndent.h:24, from /usr/include/vtk/vtkObjectBase.h:43, from /usr/include/vtk/vtkObject.h:41, from /usr/include/vtk/vtkRenderWindowInteractor.h:35, from /usr/include/vtk/vtkXRenderWindowInteractor.h:36, from vtkInitializeInteractor.cc:20: /usr/include/c++/3.3/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <sstream> instead of the deprecated header <strstream.h>. To disable this warning use -Wno-deprecated. In file included from /usr/include/vtk/vtkXOpenGLRenderWindow.h:25, from vtkInitializeInteractor.cc:21: /usr/include/vtk/vtkOpenGLRenderWindow.h:30:40: GL/gl.h: No such file or directory In file included from /usr/include/vtk/vtkXOpenGLRenderWindow.h:25, from vtkInitializeInteractor.cc:21: /usr/include/vtk/vtkOpenGLRenderWindow.h:104: error: `GLuint' was not declared in this scope /usr/include/vtk/vtkOpenGLRenderWindow.h:104: error: parse error before `)' token make[4]: *** [vtkInitializeInteractor.oct] Error 1 make[4]: Leaving directory `/home/cucharro/SL/debian/octave/octaviz-0.4.0/Common' make[3]: *** [default_target] Error 2 make[3]: Leaving directory `/home/cucharro/SL/debian/octave/octaviz-0.4.0/Common' make[2]: *** [default_target_Common] Error 2 make[2]: Leaving directory `/home/cucharro/SL/debian/octave/octaviz-0.4.0' make[1]: *** [default_target] Error 2 make[1]: Leaving directory `/home/cucharro/SL/debian/octave/octaviz-0.4.0' make: *** [build-stamp] Error 2 debuild: fatal error at line 763: dpkg-buildpackage failed! ------------------------------------------------------------------------------- -- 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