Portál AbcLinuxu, 12. května 2025 07:53
Při kompilaci rrd tool
root@swejk-server:/usr/local/src/rrdtool-1.2.10# ./configure
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... pkg-config configure: WARNING: ---------------------------------------------------------------------------- * I found a copy of pkgconfig, but there is no freetype2.pc file around. You may want to set the PKG_CONFIG_PATH variable to point to its location. ---------------------------------------------------------------------------- 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://people.ee.ethz.ch/~oetiker/webtools/rrdtool/pub/libs The last tested version of freetype2 is 2.1.9. LIBS=-lpng -lz -lart_lgpl_2 -lm LDFLAGS= CPPFLAGS= -I/usr/include/libart-2.0 -I/usr/include/freetype2 ---------------------------------------------------------------------------- checking for cgiInit in -lcgi... yes checking cgi.h usability... yes checking cgi.h presence... yes checking for cgi.h... yes configure: error: Please fix the library issues listed above and try again. root@swejk-server:/usr/local/src/rrdtool-1.2.10#
Freetype2 jsem úspěšně zkompiloval
Nevím co znamená a co udělat s LDFLAGS CPPFLAGS.
Prosím poradí někdo.
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.