Re: [Nautilus-list] Compilatin problems - rsvg-ft.c



Tim Tan <tim eazel com> writes:

> Ramiro Estrugo wrote:
> 
> > jgotts linuxsavvy com wrote:
> > >
> > > Actually you don't even need to do this.
> > >
> > > Just apply the following patch:
> > >
> > > --- nautilus-0.5/librsvg/rsvg-ft.c.orig Fri Nov 10 23:34:34 2000
> > > +++ nautilus-0.5/librsvg/rsvg-ft.c      Fri Nov 10 23:34:44 2000
> > > @@ -28,7 +28,7 @@
> > >  #include <stdlib.h>
> > >  #include <math.h>
> > >
> > > -#include <freetype/freetype.h>
> > > +#include <freetype2/freetype/freetype.h>
> > >
> > >  #include <libart_lgpl/art_misc.h>
> > >  #include <libart_lgpl/art_rect.h>
> > >
> > > John
> > >
> > >
> >
> > Unfortuntately this is wrong.
> >
> > The better thing to do is feed the nautilus configure script the paths
> > to freetype2's include and library locations.
> >
> 
> I actually tried this before, with options
> "--with-freetype2-lib-prefix"  and "--with-freetype2-include-prefix",
> but they won't work.  There must be something wrong in configure.in.
> 
> What I did:
> $ cd  nautilus-0.5.0
> $ ./configure --prefix=/usr/local
> --with-freetype2-include-prefix=/usr/local/include/freetype
> --with-freetype2-lib-prefix=/usr/local/lib
> 
> Result:
> FREETYPE2_CFLAGS        : -I/usr/include/freetype2
> FREETYPE2_LIBS          : -L/usr/lib -lfreetype

rm config.cache ?

Mathieu

> 
> 
> -Tim
> 
> 
> >
> > To decipher exactly what the format of that is you need to look in
> > nautilus/configure.in.
> >
> > Mathieu wrote these options, but im not sure he documented them in the
> > README file.
> >
> > -re
> 
> 

-- 
Mathieu Lacage <mathieu eazel com>





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]