Subject: Troubles compiling ttmkfdir2 in current
To: None <tech-pkg@netbsd.org>
From: Hisashi T Fujinaka <htodd@twofifty.com>
List: tech-pkg
Date: 04/27/2004 15:27:37
I just rebuilt freetype2 and here's what I see in ttmkfdir2.

htodd@allison:/usr/pkgsrc/fonts/ttmkfdir2 > sudo make update
work.i386 -> /usr/obj/pkg/fonts/ttmkfdir2/work.i386
===> Checking for vulnerabilities in ttmkfdir2-20021109nb1
=> Checksum OK for ttmkfdir2.20021109.tar.bz2.
===> Extracting for ttmkfdir2-20021109nb1
===> Required installed package freetype2>=2.1.3: freetype2-2.1.8 found
===> Required installed package libtool-base>=1.5.2nb4: libtool-base-1.5.6 found
===> Required installed package gmake>=3.78: gmake-3.80nb3 found
===> Patching for ttmkfdir2-20021109nb1
===> Applying pkgsrc patches for ttmkfdir2-20021109nb1
===> Overriding tools for ttmkfdir2-20021109nb1
===> Buildlinking for ttmkfdir2-20021109nb1
===> Configuring for ttmkfdir2-20021109nb1
===> Building for ttmkfdir2-20021109nb1
libtool --mode=compile g++ `/usr/pkg/bin/freetype-config --cflags` -o ttmkfdir.o -c ttmkfdir.cpp
 g++ -I/usr/obj/pkg/fonts/ttmkfdir2/work.i386/.buildlink/include/freetype2 -I/usr/obj/pkg/fonts/ttmkfdir2/work.i386/.buildlink/include -c ttmkfdir.cpp  -fPIC -DPIC -o .libs/ttmkfdir.o
In file included from ttf.h:6,
                 from ttmkfdir.cpp:8:
/usr/obj/pkg/fonts/ttmkfdir2/work.i386/.buildlink/include/freetype2/freetype/freetype.h:20:2: #error "`ft2build.h' hasn't been included yet!"
/usr/obj/pkg/fonts/ttmkfdir2/work.i386/.buildlink/include/freetype2/freetype/freetype.h:21:2: #error "Please always use macros to include FreeType header files."
/usr/obj/pkg/fonts/ttmkfdir2/work.i386/.buildlink/include/freetype2/freetype/freetype.h:22:2: #error "Example:"
/usr/obj/pkg/fonts/ttmkfdir2/work.i386/.buildlink/include/freetype2/freetype/freetype.h:23:2: #error "  #include <ft2build.h>"
/usr/obj/pkg/fonts/ttmkfdir2/work.i386/.buildlink/include/freetype2/freetype/freetype.h:24:2: #error "  #include FT_FREETYPE_H"
In file included from ttmkfdir.cpp:8:
ttf.h:11:31: freetype/ftmodule.h: No such file or directory
gmake: *** [ttmkfdir.o] Error 1
*** Error code 2

Stop.
make: stopped in /usr/pkgsrc/fonts/ttmkfdir2
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/fonts/ttmkfdir2
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/fonts/ttmkfdir2
Exit 1


-- 
Hisashi T Fujinaka - htodd@twofifty.com
BSEE(6/86) + BSChem(3/95) + BAEnglish(8/95) + MSCS(8/03) + $2.50 = latte