[Pkg-octave-devel] Problems in octaviz

Rafa Rodriguez Galvan rafael.rodriguez@uca.es
Sat, 05 Mar 2005 01:00:15 +0100


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


> >=20
> > ii  xlibmesa-gl-dev 4.2.1-12.1
>=20
> I have here:
>=20
> ii  xlibmesa-gl-dev 4.2.1-12.0.1
>=20

I have tested it again: ii  xlibmesa-gl-dev 4.2.1-12.1


>=20
> I have here:
>=20
> $ 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?
>=20

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
> > ---
>=20
> Notice that xlibmesa-gl-dev provides also the include file above.
>=20
> > 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.
> > ---
> >=20
> > 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.
>=20
> 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 th=
e
> build-dependencies would not have been fulfilled.
>

OK, I understand.

> > The question is: should octaviz include "mesa-common-dev" in
> > builds-depend?
>=20
> No, this is not necessary, according to my explanation above.  I am puzzl=
ed
> about the failure to build in your desktop machine.=20
> =20

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=20
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!
---------------------------------------------------------------------------=
----


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

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

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQBCKPaOEMSSmCcxxCARAnPGAJ9VSh6qew8rd5vl+GfloUk5YoYmvwCfZh9H
cWR/Icf+8wYWCYEatgW1K5w=
=Y19W
-----END PGP SIGNATURE-----

--=-EYaIJKhZ5CB89mtHOhr8--