Spider,
   Thanks very much for showing how to go about figuring this stuff out.
This is an email I will save for future reference.

Cheers,
Mark

On Thu, 2003-08-07 at 06:28, Spider wrote:
> begin  quote
> On 07 Aug 2003 05:02:03 -0700
> Mark Knecht <[EMAIL PROTECTED]> wrote:
> 
> > Hi,
> >    I'm asking a question I don't understand and I probably won't
> > understand the answer unless it's really basic. Thanks in advance for
> > helping. (This is coming from a non-Gentoo application developer using
> > my system remotely...)
> > 
> > 1) Does the version of fltk installed on my system have xft support
> > built in?
> > 
> qpkg -l fltk |grep lib -  ( qpkg is in the gentoolkit package)
> 
> Darkmere root # qpkg -l fltk |grep lib -
> x11-libs/fltk-1.1.3 *
> /usr/lib
> /usr/lib/fltk-1.1
> /usr/lib/fltk-1.1/libfltk.a
> /usr/lib/fltk-1.1/libfltk_forms.so.1.1
> /usr/lib/fltk-1.1/libfltk.so.1.1
> /usr/lib/fltk-1.1/libfltk_gl.a
> /usr/lib/fltk-1.1/libfltk_gl.so.1.1
> /usr/lib/fltk-1.1/libfltk_images.so.1.1
> /usr/lib/fltk-1.1/libfltk_forms.so -> libfltk_forms.so.1.1
> /usr/lib/fltk-1.1/libfltk_forms.a
> /usr/lib/fltk-1.1/libfltk_images.a
> /usr/lib/fltk-1.1/libfltk_gl.so -> libfltk_gl.so.1.1
> /usr/lib/fltk-1.1/libfltk.so -> libfltk.so.1.1
> /usr/lib/fltk-1.1/libfltk_images.so -> libfltk_images.so.1.1
> 
> Darkmere root # ldd /usr/lib/fltk-1.1/libfltk_forms.so |grep xft -i -
>         libXft.so.2 => /usr/X11R6/lib/libXft.so.2 (0x4001d000)
> 
> Darkmere root # ldd /usr/lib/fltk-1.1/libfltk.so.1.1 |grep -i xft -  
>         libXft.so.2 => /usr/X11R6/lib/libXft.so.2 (0x40098000)
> 
> (grep -i for Ignore CaSe)
> 
> 
> Now this tells us it is indeed linking to xft
> 
> 
> 
> 
> Then some ldd on the files will show :
> 
> > 
> > 2) If it does, is it possible to build a version that has it turned
> > off as a test?
> 
> Now this is more interesting, and here's how I went about checking
> cd /usr/portage/x11-libs/fltk
> look inside the fltk-1.1.3.ebuild and youll see :
> 
>          local myconf
>         myconf="--enable-shared --enable-static --enable-threads \
>                 --enable-xdbe --enable-xft"
> 
> 
> So yes, its enabled.  And an option inside the ebuild. (but not a USE
> flag)
> 
> 
> > 3) If so, how?
> 
> 
> change the --enable-xft to --disable-xft
> 
> if you want to keep this change over "emerge sync" then find and read
> documentation about PORTAGE_OVERLAY and copy it there.
> 
> if not, just do 
> ebuild fltk-1.1.3.ebuild merge
> 
> 
> And it will build and install.  ldd on the .so and see if it still links
> to libXft or not.
> 
> 
> hope this helps some in future debugging and digging for help :) (I
> figured methodology would help a bit instead of just posting the
> answers)
> 
> 
> //Spider
> 
> 


--
[EMAIL PROTECTED] mailing list

Reply via email to