Click to See Complete Forum and Search --> : Help with freetype-2.1.7 & fontconfig-2.2.0 please


MsticAzn
02-25-2004, 02:18 AM
i am running debian v.3.0 and after i ./configure for freetype, this is what i get:

FreeType build system -- automatic system detection

The following settings are used:

platform unix
compiler cc
configuration directory ./builds/unix
configuration rules ./builds/unix/unix.mk

If this does not correspond to your system or settings please remove the file
`config.mk' from this directory then read the INSTALL file for help.

Otherwise, simply type `make' again to build the library,
or `make refdoc' to build the API reference (the latter needs python).

make: Nothing to be done for `unix'.
MsticAzn:/home/msticazn/tmp/freetype-2.1.7# make
make: Nothing to be done for `all'.


* my questions is how do i get it to make, i read the docs, but i don't see a way to get around this....to me, it seems like it is an error. When i run fontconfig, these are the errors i get after i enter the command make:

make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/msticazn/tmp/fontconfig-2.2.0/fontconfig'
Making all in fc-lang
make[2]: Entering directory `/home/msticazn/tmp/fontconfig-2.2.0/fc-lang'
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../src -I/usr/local/include/freetype2 -I/usr/local/include -g -O2 -c fc-lang.c
In file included from ../fontconfig/fcfreetype.h:27,
from ../src/fcint.h:39,
from fc-lang.c:25:
/usr/local/include/freetype2/freetype/freetype.h:20: #error "`ft2build.h' hasn't been included yet!"
/usr/local/include/freetype2/freetype/freetype.h:21: #error "Please always use macros to include FreeType header files."
/usr/local/include/freetype2/freetype/freetype.h:22: #error "Example:"
/usr/local/include/freetype2/freetype/freetype.h:23: #error " #include <ft2build.h>"
/usr/local/include/freetype2/freetype/freetype.h:24: #error " #include FT_FREETYPE_H"
make[2]: *** [fc-lang.o] Error 1
make[2]: Leaving directory `/home/msticazn/tmp/fontconfig-2.2.0/fc-lang'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/msticazn/tmp/fontconfig-2.2.0'
make: *** [all-recursive-am] Error 2


i checked the freetype.h file and it has the command #include <ft2build.h> but i don't think the file exists and that is probably due to freetype not installing correctly. Does anybody happen to know how to fix this? Thanks.

JusKickNit
02-25-2004, 03:20 AM
I had the same problem on Slackware. Since your using Debian why don't you just apt-get them. I know the update freetype and fontconfig for woody can be found in XFree 4.3.0 backport

MsticAzn
02-25-2004, 03:45 AM
okay....i guess i'll give that a try...theh thing is...when i tried apt-get, i don't remember seeing ne full versions of those programs....it seemed that they just had examples or something similarily related....do u think u can elaborate on what u mean by "in XFree 4.3.0 backport" thanks a bunch =)

JusKickNit
02-25-2004, 04:12 AM
deb ftp://linux.upsa.es/pub/XFREE4.3/ ./

Look for fontconfig,libfreetype,libfontconfig. I hope you don't have to upgrade all all of XFree for these. Also I had some trouble compiling after the upgrade main because woody was compiled against freetype 2.0.9, Just some warning.

EDIT: There are also some more semi official one's,(created by one of the maintainers at debian) the link is at www.debianplanet.org but it seems down right now. When come's up should be on the right had side. Say's something about XFree4.3 Woody backport. Hope this help's.

MsticAzn
02-25-2004, 11:35 AM
thnx....i downloaded the packages and tried to install them and i was able to install a few, but i cant install fontconfig_2.2.1, it says that my libfontconfig1 is not configured yet. have ne ideas on how to configure it?

also, im running xfree86-common 4.2.1-3 according to dpkg --list
thanks.

JusKickNit
02-26-2004, 12:29 AM
Sounds like missing packages, Did you d/l the packages yourself or add that line to your source's list.

EDIT: I see your using XFree4.2 what flavor of Debian are you using. e.g. woody,sarge,or sid?

MsticAzn
02-26-2004, 01:02 AM
for xfree, its through apt-get
the freetype and freefont i downloaded it from the website.

my main goal is to get winex3 to work, i was looking through their faqs...so that is how i ended up trying to install freetype and freefont....but didn't know that they were going to give me errors as well =P....thanks for all your help :o)

JusKickNit
02-26-2004, 03:57 AM
Add that line to your sources.list then apt-get update, then apt-get fontconfig and libfreetype6. Should work. Also I think testing has those version's of software you need. I know unstable does. By the way there is no freetype package in debian it's libfreetype6 and for fontconfig look's like you'll need fontconfig,libfontconfig1.

MsticAzn
02-26-2004, 11:13 AM
add this to the source list:
deb ftp://linux.upsa.es/pub/XFREE4.3/ ./


?