On Fri, 15 Jul 2005, Mentar Mahmudi wrote:> While trying to install fontconfig-2.2.1 (./configure) I get the > following error: > > configure: error: You must have freetype installed; see > http://www.freetype.org/ > > So I installed freetype locally to ~/freebin and set my PATH to > ~/freebin/bin and LD_LIBRARY_PATH to ~/freebin/lib. After a > recompilation of fonconfig I get the same error. > > Can anybody tell me what else I have to do to have fontconfig installed?Setting PATH and LD_LIBRARY_PATH should not be needed. ./configure --with-freetype-config=~/freebin/freetype-config (Maybe replace tilde ~ above with real path.) Jeremy C. Reed BSD News, BSD tutorials, BSD links http://www.bsdnewsletter.com/
Thank you Mr Reed. fontconfig is installed. For some reason I missed the newer versions. Mentar On 7/16/05, Jeremy C. Reed <reed@reedmedia.net> wrote:> On Sat, 16 Jul 2005, Mentar Mahmudi wrote: > > > I configured fontconfig (./configure --prefix=/home/mmahmudi/fontbin/ > > --with-freetype-config=/home/mmahmudi/freebin/bin/freetype-config > > --with-expat-lib=/home/mmahmudi/expatbin/lib/ > > --with-expat-includes=/home/mmahmudi/expatbin/include/ ) and then > > tried to make. This is the error I get: > > > > make[2]: Entering directory `/home/mmahmudi/fontconfig-2.2.1/fc-lang'' > > Maybe try a newer version of fontconfig. See > http://www.fontconfig.org/release/ > > > Jeremy C. Reed > > BSD News, BSD tutorials, BSD links > http://www.bsdnewsletter.com/ >-- ================Mentar Mahmudi International University Bremen College Ring 6 Mailbox 497 28759 Bremen Germany
I found the file ft2build.h in ~/freebin/include. How shall I tell fontconfig that to search for these freetype include files in this particular directory? Many thanks Mentar On 7/16/05, Mentar Mahmudi <mentarm@gmail.com> wrote:> I configured fontcoInfig (./configure --prefix=/home/mmahmudi/fontbin/ > --with-freetype-config=/home/mmahmudi/freebin/bin/freetype-config > --with-expat-lib=/home/mmahmudi/expatbin/lib/ > --with-expat-includes=/home/mmahmudi/expatbin/include/ ) and then > tried to make. This is the error I get: > > make[2]: Entering directory `/home/mmahmudi/fontconfig-2.2.1/fc-lang'' > gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../src > -I/home/mmahmudi/freebin//include/freetype2 > -I/home/mmahmudi/freebin//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: > /home/mmahmudi/freebin/include/freetype2/freetype/freetype.h:20: > #error "`ft2build.h'' hasn''t been included yet!" > /home/mmahmudi/freebin/include/freetype2/freetype/freetype.h:21: > #error "Please always use macros to include FreeType header files." > /home/mmahmudi/freebin/include/freetype2/freetype/freetype.h:22: > #error "Example:" > /home/mmahmudi/freebin/include/freetype2/freetype/freetype.h:23: > #error " #include <ft2build.h>" > /home/mmahmudi/freebin/include/freetype2/freetype/freetype.h:24: > #error " #include FT_FREETYPE_H" > make[2]: *** [fc-lang.o] Error 1 > make[2]: Leaving directory `/home/mmahmudi/fontconfig-2.2.1/fc-lang'' > > Can anybody tell me, what is wrong? How shall I proceed? > > Thank you > Mentar > > On 7/16/05, Mentar Mahmudi <mentarm@yahoo.com> wrote: > > Thank you very much, that solved my problem. > > > > Have a good day. > > mentar > > > > --- "Jeremy C. Reed" <reed@reedmedia.net> wrote: > > > > > On Fri, 15 Jul 2005, Mentar Mahmudi wrote: > > > > > > > While trying to install fontconfig-2.2.1 > > > (./configure) I get the > > > > following error: > > > > > > > > configure: error: You must have freetype > > > installed; see > > > > http://www.freetype.org/ > > > > > > > > So I installed freetype locally to ~/freebin and > > > set my PATH to > > > > ~/freebin/bin and LD_LIBRARY_PATH to > > > ~/freebin/lib. After a > > > > recompilation of fonconfig I get the same error. > > > > > > > > Can anybody tell me what else I have to do to have > > > fontconfig installed? > > > > > > Setting PATH and LD_LIBRARY_PATH should not be > > > needed. > > > > > > ./configure > > > --with-freetype-config=~/freebin/freetype-config > > > > > > (Maybe replace tilde ~ above with real path.) > > > > > > Jeremy C. Reed > > > > > > BSD News, BSD tutorials, BSD links > > > http://www.bsdnewsletter.com/ > > > > > > > > > Mentar Mahmudi > > > > International University Bremen > > College Ring 6 497 > > D-28759 Bremen > > Germany > > > > > -- > ================> Mentar Mahmudi > > International University Bremen > College Ring 6 > Mailbox 497 > 28759 Bremen > Germany >-- ================Mentar Mahmudi International University Bremen College Ring 6 Mailbox 497 28759 Bremen Germany
I configured fontconfig (./configure --prefix=/home/mmahmudi/fontbin/ --with-freetype-config=/home/mmahmudi/freebin/bin/freetype-config --with-expat-lib=/home/mmahmudi/expatbin/lib/ --with-expat-includes=/home/mmahmudi/expatbin/include/ ) and then tried to make. This is the error I get: make[2]: Entering directory `/home/mmahmudi/fontconfig-2.2.1/fc-lang'' gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../src -I/home/mmahmudi/freebin//include/freetype2 -I/home/mmahmudi/freebin//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: /home/mmahmudi/freebin/include/freetype2/freetype/freetype.h:20: #error "`ft2build.h'' hasn''t been included yet!" /home/mmahmudi/freebin/include/freetype2/freetype/freetype.h:21: #error "Please always use macros to include FreeType header files." /home/mmahmudi/freebin/include/freetype2/freetype/freetype.h:22: #error "Example:" /home/mmahmudi/freebin/include/freetype2/freetype/freetype.h:23: #error " #include <ft2build.h>" /home/mmahmudi/freebin/include/freetype2/freetype/freetype.h:24: #error " #include FT_FREETYPE_H" make[2]: *** [fc-lang.o] Error 1 make[2]: Leaving directory `/home/mmahmudi/fontconfig-2.2.1/fc-lang'' Can anybody tell me, what is wrong? How shall I proceed? Thank you Mentar On 7/16/05, Mentar Mahmudi <mentarm@yahoo.com> wrote:> Thank you very much, that solved my problem. > > Have a good day. > mentar > > --- "Jeremy C. Reed" <reed@reedmedia.net> wrote: > > > On Fri, 15 Jul 2005, Mentar Mahmudi wrote: > > > > > While trying to install fontconfig-2.2.1 > > (./configure) I get the > > > following error: > > > > > > configure: error: You must have freetype > > installed; see > > > http://www.freetype.org/ > > > > > > So I installed freetype locally to ~/freebin and > > set my PATH to > > > ~/freebin/bin and LD_LIBRARY_PATH to > > ~/freebin/lib. After a > > > recompilation of fonconfig I get the same error. > > > > > > Can anybody tell me what else I have to do to have > > fontconfig installed? > > > > Setting PATH and LD_LIBRARY_PATH should not be > > needed. > > > > ./configure > > --with-freetype-config=~/freebin/freetype-config > > > > (Maybe replace tilde ~ above with real path.) > > > > Jeremy C. Reed > > > > BSD News, BSD tutorials, BSD links > > http://www.bsdnewsletter.com/ > > > > > Mentar Mahmudi > > International University Bremen > College Ring 6 497 > D-28759 Bremen > Germany >-- ================Mentar Mahmudi International University Bremen College Ring 6 Mailbox 497 28759 Bremen Germany
On Sat, 16 Jul 2005, Mentar Mahmudi wrote:> I configured fontconfig (./configure --prefix=/home/mmahmudi/fontbin/ > --with-freetype-config=/home/mmahmudi/freebin/bin/freetype-config > --with-expat-lib=/home/mmahmudi/expatbin/lib/ > --with-expat-includes=/home/mmahmudi/expatbin/include/ ) and then > tried to make. This is the error I get: > > make[2]: Entering directory `/home/mmahmudi/fontconfig-2.2.1/fc-lang''Maybe try a newer version of fontconfig. See http://www.fontconfig.org/release/ Jeremy C. Reed BSD News, BSD tutorials, BSD links http://www.bsdnewsletter.com/
Dear all While trying to install fontconfig-2.2.1 (./configure) I get the following error: configure: error: You must have freetype installed; see http://www.freetype.org/ So I installed freetype locally to ~/freebin and set my PATH to ~/freebin/bin and LD_LIBRARY_PATH to ~/freebin/lib. After a recompilation of fonconfig I get the same error. Can anybody tell me what else I have to do to have fontconfig installed? Thank you Mentar -- ================Mentar Mahmudi International University Bremen College Ring 6 Mailbox 497 28759 Bremen Germany