Sto cercando di installare GIMP sulla mia linux box.... però per poterlo fare devo prima aggiornare alcune librerie richieste da gimp (praticamente tutte quelle di cui fa uso).
Fino ad ora sono riuscito ad aggiornare correttamente (anche se con qualche difficoltà) le librerie
> freetype2
> atk
> glib
Ora sto tentando di aggiornare la libreria pango ma ottengo un errore durante il make...
Codice:
In file included from /usr/X11R6/include/X11/Xft/Xft.h:35,
from pangoxft-render.h:32,
from pangoxft-render.c:24:
/usr/include/freetype2/freetype/freetype.h:20:2: #error "`ft2build.h' hasn't been included yet!"
/usr/include/freetype2/freetype/freetype.h:21:2: #error "Please always use macros to include FreeType header files."
/usr/include/freetype2/freetype/freetype.h:22:2: #error "Example:"
/usr/include/freetype2/freetype/freetype.h:23:2: #error " #include <ft2build.h>"
/usr/include/freetype2/freetype/freetype.h:24:2: #error " #include FT_FREETYPE_H"
make[4]: *** [pangoxft-render.lo] Error 1
make[4]: Leaving directory `/home/madbad/pango-1.8.0/pango'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/madbad/pango-1.8.0/pango'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/madbad/pango-1.8.0/pango'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/madbad/pango-1.8.0'
make: *** [all] Error 2
Da quel poco che c'ho capito ci deve essere un errore nel file
In file included from /usr/X11R6/include/X11/Xft/Xft.h
e più precisamente alla riga 35
Giusto????
Qualche esperto di programmazione mi sa dare una dritta su come correggerlo?
Gia che ci sono vi posto il contenuto della prima parte di questo file se vi può essere d'aiuto
file:/usr/X11R6/include/X11/Xft/Xft.h
Codice:
/*
* $XFree86: xc/lib/Xft/Xft.h,v 1.32 2003/02/25 21:57:53 dawes Exp $
*
* Copyright © 2000 Keith Packard, member of The XFree86 Project, Inc.
*
* Permission to use, copy, modify, distribute, and sell this software and its
* documentation for any purpose is hereby granted without fee, provided that
* the above copyright notice appear in all copies and that both that
* copyright notice and this permission notice appear in supporting
* documentation, and that the name of Keith Packard not be used in
* advertising or publicity pertaining to distribution of the software without
* specific, written prior permission. Keith Packard makes no
* representations about the suitability of this software for any purpose. It
* is provided "as is" without express or implied warranty.
*
* KEITH PACKARD DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
* INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
* EVENT SHALL KEITH PACKARD BE LIABLE FOR ANY SPECIAL, INDIRECT OR
* CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
* DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
* TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
* PERFORMANCE OF THIS SOFTWARE.
*/
#ifndef _XFT_H_
#define _XFT_H_
#define XFT_MAJOR 2
#define XFT_MINOR 1
#define XFT_REVISION 0
#define XFT_VERSION ((XFT_MAJOR * 10000) + (XFT_MINOR * 100) + (XFT_REVISION))
#define XftVersion XFT_VERSION
#include <stdarg.h>
#include <freetype/freetype.h>
#include <fontconfig/fontconfig.h>
#include <X11/extensions/Xrender.h>
#include <X11/Xfuncproto.h>
/* #include <X11/Xosdefs.h>*/
#ifndef _XFT_NO_COMPAT_
#include <X11/Xft/XftCompat.h>
#endif
#define XFT_CORE "core"
#define XFT_RENDER "render"
#define XFT_XLFD "xlfd"
#define XFT_MAX_GLYPH_MEMORY "maxglyphmemory"
#define XFT_MAX_UNREF_FONTS "maxunreffonts"
extern FT_Library _XftFTlibrary;
typedef struct _XftFontInfo XftFontInfo;
Mi pare strano però che ci sia davvero un errore ma io non me ne intendo.
Grazie in anticipo per ogni dritta e scusatemi ancora per il disturbo.