From: Dennis S. <sy...@yo...> - 2004-12-31 18:03:32
|
Alright, a patch by Vitaly did the trick. Cheers, Dennis On Thu, 2004-12-30 at 21:12 +0100, Dennis Smit wrote: > Could someone with experience with the buildtree please comment on > this ? > > email message attachment, "Forwarded message - minor config issues > with libvisual-0.1.7" > On Thu, 2004-12-30 at 21:12 +0100, Dennis Smit wrote: > > I noticed that libvisual-0.1.7 was not linking against GL, and I identified > > two issues. > > > > First, not checking for X. So when you check for glx.h, it fails to find > > X11/X*.h files in glx.h. Not everyone has a symlink from /usr/include/X11 > > to /usr/X11R6/includes, for example. So, if you're going to check the > > viability of a header that uses X, then you should check for X. > > > > Second, linking against GL, at least for the version of Mesa I'm using, you > > need to add -lm. > > > > I worked around both of these problems by supplying the following to > > configure: > > > > CPPFLAGS=-I/usr/X11R6/include LIBS=-lm > > > > Cheers, > > mrc |