On Thursday 12 January 2006 04:33 pm, Dick Murphy wrote:
> On Thu, 2006-01-12 at 15:48 -0800, Hal V. Engel wrote:
> > On my Gentoo machine I had to configure it like this:
> > $ CPPFLAGS="-I/usr/include/fltk-1.1 LDFLAGS="-L/usr/lib/fltk-1.1
> > -L/usr/lib" ./configure --prefix=/usr
> > It will likely be different on your machine but this should get you
> > going in
> > the right direction. -I/usr/include/fltk-1.1 tells it where to find
> > the
> > fltk include files. The configure script looks for FL.H and
> > -L/usr/lib/fltk-1.1 tells the linker where to look for the fltk
> > libraries.
> > Without this it will compile but fail on the lick step.
> Well, you're right. Your "$ CPPFLAGS..." didn't work on my machine. So,
> are there suggestions out there? Thanks,
You need to find out where FL.H is located on your machine. Then use that
path in CPPFLAGS. Also the $ is a symbolic command line indicator not part
of the command.