From owner-freebsd-x11@FreeBSD.ORG Thu Feb 19 17:41:11 2009 Return-Path: Delivered-To: freebsd-x11@FreeBSD.org Received: from [127.0.0.1] (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by hub.freebsd.org (Postfix) with ESMTP id D5765106567E; Thu, 19 Feb 2009 17:41:10 +0000 (UTC) (envelope-from jkim@FreeBSD.org) From: Jung-uk Kim To: freebsd-x11@FreeBSD.org Date: Thu, 19 Feb 2009 12:41:00 -0500 User-Agent: KMail/1.6.2 References: <20090217142032.GA4959@aurora.oekb.co.at> <18845.34156.628276.205342@gromit.timing.com> <20090219171020.GA4973@aurora.oekb.co.at> In-Reply-To: <20090219171020.GA4973@aurora.oekb.co.at> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200902191241.03696.jkim@FreeBSD.org> Cc: lwhsu@freebsd.org Subject: Re: xorg-server fails to build (Stop in xorg-server-1.5.3/glx) X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Feb 2009 17:41:12 -0000 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