xorg-server fails to build (Stop in xorg-server-1.5.3/glx)

Jung-uk Kim jkim at FreeBSD.org
Thu Feb 19 09:41:12 PST 2009


On Thursday 19 February 2009 12:10 pm, Ewald Jenisch wrote:
> On Thu, Feb 19, 2009 at 09:14:36AM -0700, John Hein wrote:
> > Did you clean first?  From the output of 'make', it seems not. 
> > If you didn't clean, then the --X11-path added in the patch for
> > the configure args doesn't do much since you've already passed
> > the configure stage.
>
> Hi John,
>
> Thanks for the hint. I re-built things as follows:
>
> # cd /usr/ports/multimedia/gpac-libgpac
> # make distclean
> # make clean
> # patch < gpac-libgpac.diff
>       both "Makefile" and "files/patch-configure" were applied
> # make clean all
> .
> .
> .
> cc -O3  -O -pipe  -fPIC -pthread -fno-strict-aliasing
> -Wno-pointer-sign -I/usr/p
> orts/multimedia/gpac-libgpac/work/gpac/include  -I../
> -DGPAC_HAVE_CONFIG_H  -fPI C -DPIC -c compositor/mesh.c -o
> compositor/mesh.opic
> In file included from compositor/mesh.c:33:
> compositor/gl_inc.h:45:19: error: GL/gl.h: No such file or
> directory gmake: *** [compositor/mesh.opic] Error 1
> *** Error code 2
>
> Stop in /usr/ports/multimedia/gpac-libgpac.
> #
>
> but gl.h is in /usr/local/include/GL/gl.h
>
> When doing a "diff" for Makefile vs. Makefile.orig I see that
> "--X11-path="${X11BASE}"" has been added to CONFIGURE_ARGS so I
> wonder why GL/gl.h isn't found during the build process
>
> Puzzled...

Do you have libGLU, i.e.,

/usr/local/include/GL/glu.h

Actually gpac-libgpac depends on libGLU and libGLU depends on libGL.

Jung-uk Kim


More information about the freebsd-x11 mailing list