On Thursday 05 October 2006 06:02, Sid Boyce wrote:
> Sid Boyce wrote:
> > Craig Benbow wrote:
> >> I have installed all of fltk and I'm getting this error while running
> >> ./configure
> >>
> >> checking for fl_yes in -lfltk... no
> >> configure: error: fltk library required get it at http://www.fltk.org
> >>
> >> I am doing this as root.  Whats the scoop?
> >>
> >> Craig
> >
> > On openSUSE 10.1 it's on CD4, probably the same on a boxed distro. YaST
> > --> Software Management and search on fltk.
> > Regards
> > Sid.
>
> The devel package isn't included. I had to "ln -s
> /usr/lib/libfltk.so.1.1 /usr/lib/libfltk.so", then it complained
> checking for fl_yes in -lfltk... yes
> ./configure: line 5172: fltk-config: command not found
> ./configure: line 5173: fltk-config: command not found
> ./configure: line 5174: fltk-config: command not found
> and make errors out, same after I built and installed the latest
> fltk-1.1.x, next try the 2.x branch.
> Regards
> Sid.

I have found that fgrun can be a little tricky to build.  On my system 
configure does not find fltk and I have to define LDFLAGS and CPPFLAGS that 
point to the fltk library directory and fltk include directory to get it to 
build.  In addition fltk must be built with opengl support which is not the 
default build on some distros.  For example on Gentoo you now have to set 
USE="opengl" (or better set this in package.use) when building fltk in order 
to build fgrun.   There may be other issues with other distros as well and I 
have built other apps that use fltk that have also been a problem to build.  

Your errors don't look like what I was seeing before defining LDFLAGS and 
CPPFLAGS.   So I am not sure what is happening but I don't think that using 
2.0 will help your problem since with things correctly setup fgrun will build 
and run with the current stable fltk (1.1.7).

Also if you can't figure out what is going on you might consider opening a 
support request on the fgrun tracker.  I did that to figure out the opengl 
problem with fltk and the maintainer for fgrun was very helpful.

Hal

PS: For those running Gentoo there is an ebuild in bugs.gentoo.org for fgrun.  
It is for 0.4.6 and only needs minor changes to build 0.4.8.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Flightgear-users mailing list
Flightgear-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-users

Reply via email to