bug-gnubg
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-gnubg] How does one set up the database


From: Joern Thyssen
Subject: Re: [Bug-gnubg] How does one set up the database
Date: Sat, 3 Jul 2004 23:46:54 +0000
User-agent: Mutt/1.4.2.1i

On Sat, Jul 03, 2004 at 11:36:42PM +0200, Jim Segrave wrote
> On Sat 03 Jul 2004 (18:30 +0000), Joern Thyssen wrote:
> > On Sat, Jul 03, 2004 at 08:26:39PM +0200, Jim Segrave wrote
> > > 
> > > Um - that will break freebsd, where pkg-config returns 
> > > -I/usr/X11R6/include/ftgl ...
> > > 
> > > I have no FTGL directory. The ftgl.pc file on your machine is not
> > > being correctly generated if it doesn't give the -I<path to include
> > > files>
> > 
> > Which version of ftgl do you have?
> 
> ftgl-2.07.1, installed from the freebsd ports collection (sort of like
> RPMs, although a bit more organised in my opinion). It fetches source
> tarballs and applies patches to put things in standard environments
> for a FreeBSD setup, including things like ensuring paths and
> installation directories are consistent. Just as a test, I'm cvsuping
> the current ports tree and re-installing libftgl to check that the
> current port does things correctly (the ealier one failed to install
> the .pc file, although it had generated it and the port maintainer
> tells me he's fixed that.

Either the unix/src/Makefile or the ftgl.pc.in is broken; the former
installs to include_dir/FTGL and the latter reports the headers being
installed to include_dir. Perhaps one of the patches in the freebsd
ports fixes this.

> Hmm - yes and no. configure read the package config and built the test
> program, but the cflags weren't then added to board3d/Makefile.

Fixed.

> So the configure test works correctly, but the Makefile assumes that
> the include files are in one of the top level include directories (and
> the cpp file assumes that they are referenced as FTGL/filename

I've reverted my last patch and patched my ftgl.pc instead. 

J?rn

Attachment: pgpKxFkbO5YAh.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]