Or you could just do:
apt-get build-dep libfltk1.1
This will, however, install lots of stuff that you don't really need,
like autoconf, imagemagick, and html-doc.

On Fri, Feb 13, 2009 at 3:48 AM, Greg Ercolano <[email protected]> wrote:
>>> If you're getting this error while building FLTK on a debian4:
>>>
>>> ---- snip
>>> checking for X... no
>>> configure: error: Configure could not find required X11 libraries
>>> ---- snip
>>>
>>> Then the apt-get's you might be missing:
>>>
>>>     apt-get install libx11-dev
>>>     apt-get install libxt-dev
>>>
>>> .note libxt is separate from libx11.
>>
>> ..and if you want XFT capabilities (-lXft), then I would also add:
>>
>>       apt-get install libxft-dev
>
>   Sigh, and if you want opengl, I found this works to get opengl + glut
>   all in one swoop:
>
>        apt-get install libglut3-dev
>
>   So all together, that's:
>
>        apt-get install libx11-dev
>        apt-get install libxt-dev
>        apt-get install libxft-dev
>        apt-get install libglut3-dev
>
>   I also just recently setup a fresh Ubuntu 8.x system, and used those
>   same commands (since Ubuntu8 is based on Debian).
>
>   I found that to be really comfortable, I needed all of these:
>
>                apt-get install g++             -- the compiler and friends
>                apt-get install subversion      -- aka. "svn"
>                apt-get install libx11-dev
>                apt-get install libxt-dev
>                apt-get install libxft-dev
>                apt-get install valgrind        -- debugging..
>                apt-get install libglut3-dev    -- gets opengl, glut, etc
>                apt-get install xxdiff          -- GUI diffs
> _______________________________________________
> fltk mailing list
> [email protected]
> http://lists.easysw.com/mailman/listinfo/fltk
>

_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to