Opened 3 years ago

Closed 3 years ago

#17655 closed defect (duplicate)

oldpackages / rrdtool fails to compile - freetype missing?

Reported by: bittorf@… Owned by: developers
Priority: normal Milestone:
Component: packages Version: Trunk
Keywords: Cc:


bastian@server1:~/openwrt$ make package/rrdtool/compile BUILDLOG=1
 make[1] package/rrdtool/compile
 make[2] -C package/libs/toolchain compile
 make[2] -C package/libs/libtool compile
 make[2] -C feeds/oldpackages/libs/cgilib compile
 make[2] -C feeds/oldpackages/libs/libart compile
 make[2] -C feeds/oldpackages/lang/python host-compile
 make[2] -C feeds/packages/utils/bzip2 compile
 make[2] -C feeds/packages/libs/expat compile
 make[2] -C feeds/packages/libs/gdbm compile
 make[2] -C feeds/packages/libs/libffi compile
 make[2] -C package/libs/libreadline compile
 make[2] -C package/libs/ncurses compile
 make[2] -C feeds/packages/libs/sqlite3 compile
 make[2] -C package/libs/ocf-crypto-headers compile
 make[2] -C package/libs/zlib compile
 make[2] -C package/libs/openssl compile
 make[2] -C feeds/oldpackages/lang/python compile
 make[2] -C feeds/packages/libs/freetype compile
 make[2] -C feeds/packages/libs/libpng compile
 make[2] -C feeds/oldpackages/utils/rrdtool compile
make -r package/rrdtool/compile: build failed. Please re-run make with V=s to see what's going on

bastian@server1:~/openwrt$ tail -n40 logs/package/feeds/oldpackages/rrdtool/compile.txt 
checking for zlibVersion in -lz... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for png_access_version_number in -lpng... yes
checking png.h usability... yes
checking png.h presence... yes
checking for png.h... yes
checking for FT_Init_FreeType in -lfreetype... yes
checking ft2build.h usability... no
checking ft2build.h presence... no
checking for ft2build.h... no
checking for pkg-config... (cached) pkg-config
checking for FT_Init_FreeType in -lfreetype... yes
checking ft2build.h usability... no
checking ft2build.h presence... no
checking for ft2build.h... no
configure: WARNING:
* I could not find a working copy of freetype2. Check config.log for hints on why
  this is the case. Maybe you need to set LDFLAGS and CPPFLAGS appropriately
  so that compiler and the linker can find libfreetype and its header files. If
  you have not installed freetype2, you can get it either from its original home on

  You can find also find an archive copy on

  The last tested version of freetype2 is 2.1.10.

       LIBS=-lpng -lz -lm  -lart_lgpl_2  -lfreetype 
   LDFLAGS=-L/home/bastian/openwrt/staging_dir/target-mips_34kc_uClibc- -L/home/bastian/openwrt/staging_dir/target-mips_34kc_uClibc- -L/home/bastian/openwrt/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc- -L/home/bastian/openwrt/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-  -L/home/bastian/openwrt/staging_dir/target-mips_34kc_uClibc-    
  CPPFLAGS=-I/home/bastian/openwrt/staging_dir/target-mips_34kc_uClibc- -I/home/bastian/openwrt/staging_dir/target-mips_34kc_uClibc- -I/home/bastian/openwrt/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc- -I/home/bastian/openwrt/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-  -I/home/bastian/openwrt/staging_dir/target-mips_34kc_uClibc-  -I/usr/include/freetype2 -I/home/bastian/openwrt/staging_dir/target-mips_34kc_uClibc- 

configure: error: Please fix the library issues listed above and try again.
make[3]: *** [/home/bastian/openwrt/build_dir/target-mips_34kc_uClibc-] Error 1

this is a fresh checkout.
i followed but it does not help here.

Attachments (0)

Change History (1)

comment:1 Changed 3 years ago by swalker

  • Resolution set to duplicate
  • Status changed from new to closed

Dupe of #17654.

Add Comment

Modify Ticket

as closed .
The resolution will be deleted. Next status will be 'reopened'.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.