Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Feb 2009 12:41:00 -0500
From:      Jung-uk Kim <jkim@FreeBSD.org>
To:        freebsd-x11@FreeBSD.org
Cc:        lwhsu@freebsd.org
Subject:   Re: xorg-server fails to build (Stop in xorg-server-1.5.3/glx)
Message-ID:  <200902191241.03696.jkim@FreeBSD.org>
In-Reply-To: <20090219171020.GA4973@aurora.oekb.co.at>
References:  <20090217142032.GA4959@aurora.oekb.co.at> <18845.34156.628276.205342@gromit.timing.com> <20090219171020.GA4973@aurora.oekb.co.at>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200902191241.03696.jkim>