On Wed, Aug 31, 2005 at 08:58:51PM +0200, Andreas Jochens wrote:
> Package: lablgl
> Version: 1.01-6
> Severity: serious
> Tags: patch
> 
> When building 'lablgl' in a clean 'unstable' chroot,
> I get the following error:
> 
> ocamlc -c -w s -ccopt "-c -O  -I/usr/X11R6/include" ml_glutess.c
> ocamlmklib -o lablgl ml_gl.o  ml_glu.o        ml_raw.o ml_glarray.o 
> ml_glutess.o -lGL -lGLU -L/usr/X11R6/lib -lXext -lXmu -lX11 -lXxf86vm
> /usr/bin/ld: cannot find -lXxf86vm
> collect2: ld returned 1 exit status
> make[2]: *** [liblablgl.a] Error 2
> make[2]: Leaving directory `/lablgl-1.01/src'
> 
> Please add the missing Build-Depends on 'libxxf86vm-dev'
> to debian/control.
> 
> Regards
> Andreas Jochens
> 
> diff -urN ../tmp-orig/lablgl-1.01/debian/control ./debian/control
> --- ../tmp-orig/lablgl-1.01/debian/control    2005-08-31 18:55:15.000000000 
> +0000
> +++ ./debian/control  2005-08-31 18:55:13.000000000 +0000
> @@ -2,7 +2,7 @@
>  Section: libdevel
>  Priority: optional
>  Maintainer: Sven Luther <[EMAIL PROTECTED]>
> -Build-Depends: debhelper (>> 3.0.0), ocaml, ocaml-3.08.3, tcl8.4-dev, 
> tk8.4-dev, xlibmesa-gl-dev|libgl-dev, libglu1-xorg-dev|libglu-dev, 
> libglut3-dev, x-dev, libxmu-dev, libx11-dev, dpatch
> +Build-Depends: debhelper, ocaml, ocaml-3.08.3, tcl8.4-dev, tk8.4-dev, 
> xlibmesa-gl-dev|libgl-dev, libglu1-xorg-dev|libglu-dev, libglut3-dev, x-dev, 
> libxmu-dev, libx11-dev, libxxf86vm-dev, dpatch
>  Standards-Version: 3.6.2.0

This is the wrong fix, the correct being :

--- trunk/debian/Makefile.config        (révision 1716)
+++ trunk/debian/Makefile.config        (révision 1717)
@@ -16,7 +16,7 @@
 # Where to find X headers
 XINCLUDES = -I/usr/X11R6/include
 # X libs (for broken RTLD_GLOBAL: e.g. FreeBSD 4.0)
-XLIBS = -L/usr/X11R6/lib -lXext -lXmu -lX11 -lXxf86vm
+XLIBS = -L/usr/X11R6/lib -lXext -lXmu -lX11

 # Where to find Tcl/Tk headers
 # This must the same version as for LablTk

Already included in the subversion repo and just avaiting an upload.

Friendly,

Sven Luther


Reply via email to