#17654: oldpackages / rrdtool fails to compile - freetype missing?
-----------------------+------------------------
Reporter: bittorf@… | Owner: developers
Type: defect | Status: new
Priority: normal | Milestone:
Component: packages | Version: Trunk
Keywords: |
-----------------------+------------------------
{{{
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
http://prdownloads.sourceforge.net/freetype/
You can find also find an archive copy on
http://oss.oetiker.ch/rrdtool/pub/libs
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-0.9.33.2/usr/lib -L/home/bastian/openwrt/staging_dir
/target-mips_34kc_uClibc-0.9.33.2/lib -L/home/bastian/openwrt/staging_dir
/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/usr/lib
-L/home/bastian/openwrt/staging_dir/toolchain-
mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/lib
-L/home/bastian/openwrt/staging_dir/target-
mips_34kc_uClibc-0.9.33.2/usr/lib
CPPFLAGS=-I/home/bastian/openwrt/staging_dir/target-
mips_34kc_uClibc-0.9.33.2/usr/include -I/home/bastian/openwrt/staging_dir
/target-mips_34kc_uClibc-0.9.33.2/include
-I/home/bastian/openwrt/staging_dir/toolchain-
mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/usr/include
-I/home/bastian/openwrt/staging_dir/toolchain-
mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/include
-I/home/bastian/openwrt/staging_dir/target-
mips_34kc_uClibc-0.9.33.2/usr/include/libart-2.0 -I/usr/include/freetype2
-I/home/bastian/openwrt/staging_dir/target-
mips_34kc_uClibc-0.9.33.2/usr/include
----------------------------------------------------------------------------
configure: error: Please fix the library issues listed above and try
again.
make[3]: *** [/home/bastian/openwrt/build_dir/target-
mips_34kc_uClibc-0.9.33.2/rrdtool-1.2.30/.configured_nn] Error 1
}}}
this is a fresh checkout.
i followed https://forum.openwrt.org/viewtopic.php?id=52219 but it does
not help here.
--
Ticket URL: <https://dev.openwrt.org/ticket/17654>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets