On Saturday 10 September 2005 3:55 pm, Ken Moffat wrote: > > > > ../../../../config/makedepend/makedepend: warning: psout.c > > (reading > > ../../../../extras/freetype2/include/freetype/config/ftconfig.h), line > > 82: #error "Unsupported size of `int' type!" > > ../../../../config/makedepend/makedepend: warning: psout.c > > (reading > > ../../../../extras/freetype2/include/freetype/config/ftconfig.h), line > > 91: #error "Unsupported size of `long' type!" > > What do those lines (82,91) in the referenced ftconfig.h contain? > > And the path reads as if you are using the freetype2 shipped with X > (but I'm not an expert at how the directory maze in X looks during a > normal build, so I could be mistaken) - do you have the line > > #define HasFreetype2 YES > > in config/cf/host.def ? If it's there, is it effectively commented out > by an unclosed comment above it ? (an editor with syntax highlighting, > such as vim, might help you check). > > > I also have been building this thing as root, not as user and then > > switching to root to 'make install'. Could this be one of my problems? > > I am no Linux guru and have only been using Linux for 1 year. There has > > got to be something I can do short of scrapping the whole thing and > > starting over again. > > Building and installing as root is not the problem - it's not a good > thing to do, but on a new system it works. I would prefer not to build > as root once a system is in normal use. > > Ken
I checked my config/cf/host.def and it does contain the line: #define HasFreetype2 YES And it is not commented out. Here are the lines in ftconfig.h that I believe are driving the error messages: /* The size of an `int' type. */ #if FT_UINT_MAX == 0xFFFFFFFFUL #define FT_SIZEOF_INT (32 / FT_CHAR_BIT) #elif FT_UINT_MAX == 0xFFFFU #define FT_SIZEOF_INT (16 / FT_CHAR_BIT) #elif FT_UINT_MAX > 0xFFFFFFFFU && FT_UINT_MAX == 0xFFFFFFFFFFFFFFFFU #define FT_SIZEOF_INT (64 / FT_CHAR_BIT) #else ---> (line 82) #error "Unsupported size of `int' type!" #endif /* The size of a `long' type. */ #if FT_ULONG_MAX == 0xFFFFFFFFUL #define FT_SIZEOF_LONG (32 / FT_CHAR_BIT) #elif FT_ULONG_MAX > 0xFFFFFFFFU && FT_ULONG_MAX == 0xFFFFFFFFFFFFFFFFU #define FT_SIZEOF_LONG (64 / FT_CHAR_BIT) #else ---> (line 91) #error "Unsupported size of `long' type!" #endif I also noticed when I was reading the ftconfig.h that the syntax does refer to the ftconfig.h in the /extras... instead of the /usr/include/... where it was installed by Freetype2.1.9. I am not sure of how to fix this or if I am simply reading the header file incorrectly. Thanks again for your help and support. -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
