Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
PKG_CONFIG_PATH missing
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
bwibbwz
n00b
n00b


Joined: 14 May 2007
Posts: 7

PostPosted: Mon Apr 08, 2013 1:02 pm    Post subject: PKG_CONFIG_PATH missing Reply with quote

I am at a loss. Several packages (for example media-libs/fontconfig-2.10.2-r1) fail to compile due to not detecting freetype2 via pkg-config.

I believe the problem lies with the PKG_CONFIG_PATH variable.
When I
Code:
echo $PKG_CONFIG_PATH
an empty string is printed out. I've tried to manually adding (and exporting) the relevant directories to the variable to no avail.

The build.log is posted below and further down is the emerge --info.

Code:
 * Package:    media-libs/fontconfig-2.10.2-r1
 * Repository: gentoo
 * Maintainer: fonts@gentoo.org
 * USE:        abi_x86_32 abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU
 * FEATURES:   ccache preserve-libs sandbox
>>> Unpacking source...
>>> Unpacking fontconfig-2.10.2.tar.bz2 to /home/system-directories/var-tmp/portage/media-libs/fontconfig-2.10.2-r1/work
>>> Source unpacked in /home/system-directories/var-tmp/portage/media-libs/fontconfig-2.10.2-r1/work
>>> Preparing source in /home/system-directories/var-tmp/portage/media-libs/fontconfig-2.10.2-r1/work/fontconfig-2.10.2 ...
 * Applying fontconfig-2.7.1-latin-reorder.patch ...
 [ ok ]
 * Applying fontconfig-2.10.2-docbook.patch ...
 [ ok ]
 * Running eautoreconf in '/home/system-directories/var-tmp/portage/media-libs/fontconfig-2.10.2-r1/work/fontconfig-2.10.2' ...
 * Running libtoolize --install --copy --force --automake ...
 [ ok ]
 * Running aclocal -I m4 ...
 [ ok ]
 * Running autoconf ...
 [ ok ]
 * Running autoheader ...
 [ ok ]
 * Running automake --add-missing --copy ...
 [ ok ]
 * Running elibtoolize in: fontconfig-2.10.2/
 *   Applying portage/1.2.0 patch ...
 *   Applying sed/1.5.6 patch ...
 *   Applying as-needed/2.4.2 patch ...
>>> Source prepared.
>>> Configuring source in /home/system-directories/var-tmp/portage/media-libs/fontconfig-2.10.2-r1/work/fontconfig-2.10.2 ...
 * x86: running autotools-utils_src_configure
 * amd64: running autotools-utils_src_configure
>>> Working in BUILD_DIR: "/home/system-directories/var-tmp/portage/media-libs/fontconfig-2.10.2-r1/work/fontconfig-2.10.2-amd64"
>>> Working in BUILD_DIR: "/home/system-directories/var-tmp/portage/media-libs/fontconfig-2.10.2-r1/work/fontconfig-2.10.2-x86"
 * econf: updating fontconfig-2.10.2/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating fontconfig-2.10.2/config.sub with /usr/share/gnuconfig/config.sub
 * econf: updating fontconfig-2.10.2/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating fontconfig-2.10.2/config.sub with /usr/share/gnuconfig/config.sub
/home/system-directories/var-tmp/portage/media-libs/fontconfig-2.10.2-r1/work/fontconfig-2.10.2/configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --disable-silent-rules --disable-dependency-tracking --docdir=/usr/share/doc/fontconfig-2.10.2-r1 --enable-shared --disable-static --disable-docbook --enable-docs --localstatedir=/var --with-default-fonts=/usr/share/fonts --with-add-fonts=/usr/local/share/fonts --with-templatedir=/etc/fonts/conf.avail
/home/system-directories/var-tmp/portage/media-libs/fontconfig-2.10.2-r1/work/fontconfig-2.10.2/configure --prefix=/usr --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib32 --disable-silent-rules --disable-dependency-tracking --docdir=/usr/share/doc/fontconfig-2.10.2-r1 --enable-shared --disable-static --disable-docbook --enable-docs --localstatedir=/var --with-default-fonts=/usr/share/fonts --with-add-fonts=/usr/local/share/fonts --with-templatedir=/etc/fonts/conf.avail
checking for a BSD-compatible install... checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
yes
checking for gawk... gawk
checking whether make sets $(MAKE)... checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
yes
checking whether make supports nested variables... yes
checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
checking whether make supports nested variables... yes
checking for i686-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc -m32
checking whether the C compiler works... checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... no
checking for suffix of object files... yes
checking whether x86_64-pc-linux-gnu-gcc accepts -g... o
checking whether we are using the GNU C compiler... yes
checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... yes
checking whether x86_64-pc-linux-gnu-gcc -m32 accepts -g... none needed
yes
checking for style of include used by make... checking for x86_64-pc-linux-gnu-gcc -m32 option to accept ISO C89... GNU
checking dependency style of x86_64-pc-linux-gnu-gcc... none
checking whether ln -s works... yes
none needed
checking for style of include used by make... GNU
checking dependency style of x86_64-pc-linux-gnu-gcc -m32... none
checking whether ln -s works... yes
checking build system type... checking build system type... x86_64-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... i686-pc-linux-gnu
/bin/grep
checking for egrep... checking how to print strings... /bin/grep -E
checking for fgrep... /bin/grep -F
printf
checking for ld used by x86_64-pc-linux-gnu-gcc... checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by x86_64-pc-linux-gnu-gcc -m32... /usr/x86_64-pc-linux-gnu/bin/ld
checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... x86_64-pc-linux-gnu-ld -m elf_i386
checking if the linker (x86_64-pc-linux-gnu-ld -m elf_i386) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... BSD nm
checking the maximum length of command line arguments... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/x86_64-pc-linux-gnu/bin/ld option to reload object files... -r
checking for x86_64-pc-linux-gnu-objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for x86_64-pc-linux-gnu-dlltool... dlltool
checking how to associate runtime and link libraries... printf %s\n
checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar
checking for archiver @FILE support... BSD nm
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert i686-pc-linux-gnu file names to i686-pc-linux-gnu format... func_convert_file_noop
checking how to convert i686-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for x86_64-pc-linux-gnu-ld -m elf_i386 option to reload object files... -r
checking for i686-pc-linux-gnu-objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for i686-pc-linux-gnu-dlltool... dlltool
checking how to associate runtime and link libraries... printf %s\n
checking for i686-pc-linux-gnu-ar... no
checking for ar... ar
checking for archiver @FILE support... @
checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip
checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib
checking command to parse /usr/bin/nm -B output from x86_64-pc-linux-gnu-gcc object... @
checking for i686-pc-linux-gnu-strip... no
checking for strip... strip
checking for i686-pc-linux-gnu-ranlib... no
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from x86_64-pc-linux-gnu-gcc -m32 object... ok
checking for sysroot... no
checking for x86_64-pc-linux-gnu-mt... no
checking for mt... no
checking if : is a manifest tool... no
ok
checking how to run the C preprocessor... checking for sysroot... no
checking for i686-pc-linux-gnu-mt... no
checking for mt... no
checking if : is a manifest tool... no
checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E
x86_64-pc-linux-gnu-gcc -m32 -E
checking for ANSI C header files... checking for ANSI C header files... yes
checking for sys/types.h... yes
yes
checking for sys/types.h... checking for sys/stat.h... yes
yes
checking for sys/stat.h... checking for stdlib.h... yes
yes
checking for stdlib.h... checking for string.h... yes
yes
checking for string.h... checking for memory.h... yes
yes
checking for memory.h... checking for strings.h... yes
yes
checking for strings.h... checking for inttypes.h... yes
yes
checking for stdint.h... checking for inttypes.h... yes
yes
checking for unistd.h... checking for stdint.h... yes
yes
checking for dlfcn.h... checking for unistd.h... yes
checking for objdir... yes
.libs
checking for dlfcn.h... yes
checking for objdir... .libs
checking if x86_64-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no
checking for x86_64-pc-linux-gnu-gcc option to produce PIC... -fPIC -DPIC
checking if x86_64-pc-linux-gnu-gcc PIC flag -fPIC -DPIC works... checking if x86_64-pc-linux-gnu-gcc -m32 supports -fno-rtti -fno-exceptions... yes
checking if x86_64-pc-linux-gnu-gcc static flag -static works... no
checking for x86_64-pc-linux-gnu-gcc -m32 option to produce PIC... -fPIC -DPIC
checking if x86_64-pc-linux-gnu-gcc -m32 PIC flag -fPIC -DPIC works... yes
checking if x86_64-pc-linux-gnu-gcc -m32 static flag -static works... yes
checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... yes
checking if x86_64-pc-linux-gnu-gcc -m32 supports -c -o file.o... yes
checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... (cached) yes
checking whether the x86_64-pc-linux-gnu-gcc linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... yes
checking if x86_64-pc-linux-gnu-gcc -m32 supports -c -o file.o... (cached) yes
checking whether the x86_64-pc-linux-gnu-gcc -m32 linker (x86_64-pc-linux-gnu-ld -m elf_i386) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking whether make sets $(MAKE)... (cached) yes
checking for x86_64-pc-linux-gnu-pkg-config... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for RM macro... rm -f
GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking for dirent.h that defines DIR... checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking whether make sets $(MAKE)... (cached) yes
checking for i686-pc-linux-gnu-pkg-config... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for RM macro... yes
rm -f
checking for library containing opendir... checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for ANSI C header files... (cached) yes
checking fcntl.h usability... yes
checking fcntl.h presence... none required
checking for ANSI C header files... (cached) yes
checking fcntl.h usability... yes
checking for fcntl.h... yes
yes
checking fcntl.h presence... checking regex.h usability... yes
checking for fcntl.h... yes
yes
checking regex.h presence... checking regex.h usability... yes
checking for regex.h... yes
yes
checking regex.h presence... checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
yes
checking for regex.h... yes
checking for unistd.h... (cached) yes
checking for stdlib.h... (cached) yes
checking sys/vfs.h usability... checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
yes
checking sys/vfs.h presence... checking sys/vfs.h usability... yes
checking for sys/vfs.h... yes
yes
checking sys/vfs.h presence... checking sys/statfs.h usability... yes
checking sys/statfs.h presence... yes
checking for sys/vfs.h... yes
checking sys/statfs.h usability... yes
checking for sys/statfs.h... yes
yes
checking sys/statfs.h presence... checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/statfs.h... yes
checking sys/param.h usability... yes
checking for sys/param.h... yes
yes
checking sys/param.h presence... checking sys/mount.h usability... yes
checking for sys/param.h... yes
yes
checking sys/mount.h presence... checking sys/mount.h usability... yes
checking for sys/mount.h... yes
checking for an ANSI C-conforming const... yes
checking sys/mount.h presence... yes
checking for inline... yes
checking for sys/mount.h... yes
inline
checking for flexible array members... checking for an ANSI C-conforming const... yes
checking for inline... yes
checking for pid_t... inline
checking for flexible array members... yes
checking for pid_t... yes
checking for vprintf... yes
checking for vprintf... yes
checking for _doprnt... yes
checking for _doprnt... no
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
no
checking for sys/param.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for getpagesize... checking for unistd.h... (cached) yes
checking for sys/param.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking for working mmap... yes
checking for geteuid... yes
checking for geteuid... yes
checking for getuid... yes
checking for getuid... yes
checking for link... yes
checking for link... yes
checking for memmove... yes
checking for memmove... yes
checking for memset... yes
checking for memset... yes
checking for mkstemp... yes
checking for mkstemp... yes
checking for strchr... yes
checking for strchr... yes
checking for strrchr... yes
checking for strrchr... yes
checking for strtol... yes
checking for strtol... yes
checking for getopt... yes
checking for getopt... yes
checking for getopt_long... yes
checking for getopt_long... yes
checking for sysconf... yes
checking for sysconf... yes
checking for ftruncate... yes
checking for ftruncate... yes
checking for chsize... yes
checking for chsize... no
checking for rand... no
checking for rand... yes
checking for random... yes
checking for random... yes
checking for lrand48... yes
checking for lrand48... yes
checking for random_r... yes
checking for random_r... yes
checking for rand_r... yes
checking for rand_r... yes
checking for regcomp... yes
checking for regcomp... yes
checking for regerror... yes
checking for regerror... yes
checking for regexec... yes
checking for regexec... yes
checking for regfree... yes
checking for regfree... yes
checking for fstatvfs... yes
checking for fstatvfs... yes
checking for fstatfs... yes
checking for fstatfs... yes
checking for posix_fadvise... yes
checking for posix_fadvise... yes
checking for struct statvfs.f_basetype... yes
checking for struct statvfs.f_basetype... no
checking for struct statvfs.f_fstypename... no
checking for struct statvfs.f_fstypename... no
checking for struct statfs.f_flags... yes
checking for struct statfs.f_fstypename... no
checking for struct statfs.f_flags... yes
checking for struct statfs.f_fstypename... no
checking for struct dirent.d_type... yes
checking for FREETYPE... yes
checking for FT_Get_Next_Char... no
checking for struct dirent.d_type... yes
checking for FREETYPE... no
configure: error: Package requirements (freetype2) were not met:

Package freetype2 was not found in the pkg-config search path.
Perhaps you should add the directory containing `freetype2.pc'
to the PKG_CONFIG_PATH environment variable
No package 'freetype2' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables FREETYPE_CFLAGS
and FREETYPE_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
yes
checking for FT_Get_BDF_Property...
!!! Please attach the following file when seeking support:
!!! /home/system-directories/var-tmp/portage/media-libs/fontconfig-2.10.2-r1/work/fontconfig-2.10.2-x86/config.log
 * ERROR: media-libs/fontconfig-2.10.2-r1 failed (configure phase):
 *   econf failed
 *
 * Call stack:
 *          ebuild.sh, line   93:  Called src_configure
yes
 *        environment, line 3514:  Called autotools-multilib_src_configure
 *        environment, line  585:  Called multilib_parallel_foreach_abi 'autotools-utils_src_configure'
checking for FT_Get_PS_Font_Info...  *        environment, line 3084:  Called multibuild_parallel_foreach_variant '_multilib_multibuild_wrapper' 'autotools-utils_src_configure'
 *        environment, line 2836:  Called multibuild_foreach_variant '_multibuild_parallel' '_multilib_multibuild_wrapper' 'autotools-utils_src_configure'
 *        environment, line 2787:  Called _multibuild_run '_multibuild_parallel' '_multilib_multibuild_wrapper' 'autotools-utils_src_configure'
 *        environment, line 2785:  Called _multibuild_parallel '_multilib_multibuild_wrapper' 'autotools-utils_src_configure'
 *        environment, line 2827:  Called _multilib_multibuild_wrapper 'autotools-utils_src_configure'
 *        environment, line  552:  Called autotools-utils_src_configure
 *        environment, line  684:  Called econf '--docdir=/usr/share/doc/fontconfig-2.10.2-r1' '--enable-shared' '--disable-static' '--disable-docbook' '--enable-docs' '--localstatedir=/var' '--with-default-fonts=/usr/share/fonts' '--with-add-fonts=/usr/local/share/fonts' '--with-templatedir=/etc/fonts/conf.avail'
 *   phase-helpers.sh, line  511:  Called die
 * The specific snippet of code:
yes
 *            die "econf failed"
 *
checking for FT_Has_PS_Glyph_Names...  * If you need support, post the output of `emerge --info '=media-libs/fontconfig-2.10.2-r1'`,
 * the complete build log and the output of `emerge -pqv '=media-libs/fontconfig-2.10.2-r1'`.
/usr/lib64/portage/bin/isolated-functions.sh: line 215: wait: `econf failed': not a pid or valid job spec
 * The complete build log is located at '/home/system-directories/var-tmp/portage/media-libs/fontconfig-2.10.2-r1/temp/build.log'.
 * The ebuild environment file is located at '/home/system-directories/var-tmp/portage/media-libs/fontconfig-2.10.2-r1/temp/environment'.
 * Working directory: '/home/system-directories/var-tmp/portage/media-libs/fontconfig-2.10.2-r1/work/fontconfig-2.10.2-x86'
 * S: '/home/system-directories/var-tmp/portage/media-libs/fontconfig-2.10.2-r1/work/fontconfig-2.10.2'
yes
checking for FT_Get_X11_Font_Format... yes
checking for FT_Select_Size... yes
checking for FT_Bitmap_Size.y_ppem... yes
checking for EXPAT... yes
checking expat.h usability... yes
checking expat.h presence... yes
checking for expat.h... yes
checking for XML_SetDoctypeDeclHandler... yes
DOCMAN3 FcAtomicCreate.3 FcAtomicLock.3 FcAtomicNewFile.3 FcAtomicOrigFile.3 FcAtomicReplaceOrig.3 FcAtomicDeleteNew.3 FcAtomicUnlock.3 FcAtomicDestroy.3 FcBlanksCreate.3 FcBlanksDestroy.3 FcBlanksAdd.3 FcBlanksIsMember.3 FcCacheDir.3 FcCacheCopySet.3 FcCacheSubdir.3 FcCacheNumSubdir.3 FcCacheNumFont.3 FcDirCacheClean.3 FcCacheCreateTagFile.3 FcCharSetCreate.3 FcCharSetDestroy.3 FcCharSetAddChar.3 FcCharSetDelChar.3 FcCharSetCopy.3 FcCharSetEqual.3 FcCharSetIntersect.3 FcCharSetUnion.3 FcCharSetSubtract.3 FcCharSetMerge.3 FcCharSetHasChar.3 FcCharSetCount.3 FcCharSetIntersectCount.3 FcCharSetSubtractCount.3 FcCharSetIsSubset.3 FcCharSetFirstPage.3 FcCharSetNextPage.3 FcCharSetCoverage.3 FcCharSetNew.3 FcConfigCreate.3 FcConfigReference.3 FcConfigDestroy.3 FcConfigSetCurrent.3 FcConfigGetCurrent.3 FcConfigUptoDate.3 FcConfigHome.3 FcConfigEnableHome.3 FcConfigBuildFonts.3 FcConfigGetConfigDirs.3 FcConfigGetFontDirs.3 FcConfigGetConfigFiles.3 FcConfigGetCache.3 FcConfigGetCacheDirs.3 FcConfigGetFonts.3 FcConfigGetBlanks.3 FcConfigGetRescanInterval.3 FcConfigSetRescanInterval.3 FcConfigAppFontAddFile.3 FcConfigAppFontAddDir.3 FcConfigAppFontClear.3 FcConfigSubstituteWithPat.3 FcConfigSubstitute.3 FcFontMatch.3 FcFontSort.3 FcFontRenderPrepare.3 FcFontList.3 FcConfigFilename.3 FcConfigParseAndLoad.3 FcNameRegisterConstants.3 FcNameUnregisterConstants.3 FcNameGetConstant.3 FcNameConstant.3 FcDirCacheUnlink.3 FcDirCacheValid.3 FcDirCacheLoad.3 FcDirCacheRead.3 FcDirCacheLoadFile.3 FcDirCacheUnload.3 FcFileScan.3 FcFileIsDir.3 FcDirScan.3 FcDirSave.3 FcFontSetCreate.3 FcFontSetDestroy.3 FcFontSetAdd.3 FcFontSetList.3 FcFontSetMatch.3 FcFontSetPrint.3 FcFontSetSort.3 FcFontSetSortDestroy.3 FcPatternFormat.3 FcFreeTypeCharIndex.3 FcFreeTypeCharSet.3 FcFreeTypeCharSetAndSpacing.3 FcFreeTypeQuery.3 FcFreeTypeQueryFace.3 FcInitLoadConfig.3 FcInitLoadConfigAndFonts.3 FcInit.3 FcFini.3 FcGetVersion.3 FcInitReinitialize.3 FcInitBringUptoDate.3 FcLangSetCreate.3 FcLangSetDestroy.3 FcLangSetCopy.3 FcLangSetAdd.3 FcLangSetDel.3 FcLangSetUnion.3 FcLangSetSubtract.3 FcLangSetCompare.3 FcLangSetContains.3 FcLangSetEqual.3 FcLangSetHash.3 FcLangSetHasLang.3 FcGetDefaultLangs.3 FcGetLangs.3 FcLangGetCharSet.3 FcMatrixInit.3 FcMatrixCopy.3 FcMatrixEqual.3 FcMatrixMultiply.3 FcMatrixRotate.3 FcMatrixScale.3 FcMatrixShear.3 FcObjectSetCreate.3 FcObjectSetAdd.3 FcObjectSetDestroy.3 FcObjectSetBuild.3 FcNameRegisterObjectTypes.3 FcNameUnregisterObjectTypes.3 FcNameGetObjectType.3 FcPatternCreate.3 FcPatternDuplicate.3 FcPatternReference.3 FcPatternDestroy.3 FcPatternEqual.3 FcPatternEqualSubset.3 FcPatternFilter.3 FcPatternHash.3 FcPatternAdd.3 FcPatternAddWeak.3 FcPatternAdd-Type.3 FcPatternGet.3 FcPatternGet-Type.3 FcPatternBuild.3 FcPatternDel.3 FcPatternRemove.3 FcPatternPrint.3 FcDefaultSubstitute.3 FcNameParse.3 FcNameUnparse.3 FcUtf8ToUcs4.3 FcUcs4ToUtf8.3 FcUtf8Len.3 FcUtf16ToUcs4.3 FcUtf16Len.3 FcIsLower.3 FcIsUpper.3 FcToLower.3 FcStrCopy.3 FcStrDowncase.3 FcStrCopyFilename.3 FcStrCmp.3 FcStrCmpIgnoreCase.3 FcStrStr.3 FcStrStrIgnoreCase.3 FcStrPlus.3 FcStrFree.3 FcStrDirname.3 FcStrBasename.3 FcStrSetCreate.3 FcStrSetMember.3 FcStrSetEqual.3 FcStrSetAdd.3 FcStrSetAddFilename.3 FcStrSetDel.3 FcStrSetDestroy.3 FcStrListCreate.3 FcStrListNext.3 FcStrListDone.3 FcValueDestroy.3 FcValueSave.3 FcValuePrint.3 FcValueEqual.3
checking whether byte ordering is bigendian... no
checking size of void *... 8
checking alignment of double... 8
configure: creating ./config.status
config.status: creating Makefile
config.status: creating fontconfig/Makefile
config.status: creating fc-lang/Makefile
config.status: creating fc-glyphname/Makefile
config.status: creating fc-case/Makefile
config.status: creating src/Makefile
config.status: creating conf.d/Makefile
config.status: creating fc-cache/Makefile
config.status: creating fc-cat/Makefile
config.status: creating fc-list/Makefile
config.status: creating fc-match/Makefile
config.status: creating fc-pattern/Makefile
config.status: creating fc-query/Makefile
config.status: creating fc-scan/Makefile
config.status: creating doc/Makefile
config.status: creating doc/version.sgml
config.status: creating test/Makefile
config.status: creating fontconfig.spec
config.status: creating fontconfig.pc
config.status: creating fontconfig-zip
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands


The output of my emerge --info =media-libs/fontconfig-2.10.2-r1

Code:
Portage 2.3.5-r7 (funtoo/1.0/linux-gnu/arch/x86-64bit, gcc-4.6.3, glibc-2.15-r3, 3.8.6-gentoo x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.8.6-gentoo-x86_64-Intel-R-_Core-TM-_i5-3570K_CPU_@_3.40GHz-with-gentoo-2.2.0
KiB Mem:     8120048 total,   1321816 free
KiB Swap:    8388604 total,   8388556 free
Timestamp of tree: Mon, 08 Apr 2013 05:45:01 +0000
ld GNU ld (GNU Binutils) 2.22
ccache version 3.1.9 [enabled]
app-shells/bash:          4.2_p37
dev-java/java-config:     2.1.12-r1000
dev-lang/python:          2.7.4-r1000, 3.2.4-r1000
dev-util/ccache:          3.1.9
dev-util/cmake:           2.8.10.2-r1
sys-apps/baselayout:      2.2.0-r4
sys-apps/openrc:          0.10.2-r7
sys-apps/sandbox:         2.6
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.6.3
sys-devel/gcc-config:     1.5-r1
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.4-r2 (virtual/os-headers)
sys-libs/glibc:           2.15-r3
Repositories: gentoo
Installed sets: @bwibbwz/meta
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA AdobeFlash-11.x skype-4.0.0.7-copyright"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=corei7 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/polkit-1/actions /usr/share/themes/oxygen-gtk/gtk-2.0"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=corei7 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs ccache config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync mini-manifest news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="ftp://ftp.rhnet.is/pub/gentoo/ http://ftp.rhnet.is/pub/gentoo/ ftp://ftp.klid.dk/gentoo/ ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo http://ftp.klid.dk/ftp/gentoo/"
LANG="is_IS.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--as-needed"
LINGUAS="en en_GB"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="git://github.com/funtoo/ports-2012.git"
SYNC_USER="root"
USE="X acl acpi alsa amd64 apng berkdb bzip2 cairo cdda cdr cjk consolekit cracklib crypt cups cxx daap dbus dri dvd dvdr dvdread dvipdfm embedded epspdf extra ffmpeg flac fontconfig freetype gdbm gif gles2 gpm graphics gstreamer gtk iconv icu imagemagick ipod ipv6 java jpeg kde kdenlive lame lapack lastfm latex mad melt mmx modules mp3 mpeg mtp mudflap multilib musicbrainz mysql ncurses nls nptl nsplugin ogg opengl openmp opus pam pcre pdf png policykit pppd pstricks python qt3support qt4 rar readline resolvconf sasl science script sdl sse sse2 ssl svg tcpd tiff tools truetype udev unicode vorbis wavpack windeco xetex xml zlib" ABI_X86="64 32" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias authn_core authz_core socache_shmcb unixd" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev synaptics keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en en_GB" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-3" PYTHON_ABIS="2.7 3.2" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, SYNC_UMASK
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 5267

PostPosted: Mon Apr 08, 2013 1:29 pm    Post subject: Reply with quote

You seem to be asking the wrong question.

First, check 'pkg-config --modversion freetype2', then check the content of freetype2.pc file.
Back to top
View user's profile Send private message
bwibbwz
n00b
n00b


Joined: 14 May 2007
Posts: 7

PostPosted: Mon Apr 08, 2013 1:45 pm    Post subject: Reply with quote

VoidMage wrote:
You seem to be asking the wrong question.

First, check 'pkg-config --modversion freetype2', then check the content of freetype2.pc file.


Wrong questions usually are the problem ;)

'pkg-config --modversion freetype2' yields 16.0.10 . Which makes little sense to me considering the version of the ebuild is 2.4.11 .

/usr/lib64/pkgconfig/freetype2.pc
Code:
prefix=/usr
exec_prefix=${prefix}
libdir=/usr/lib64
includedir=${prefix}/include

Name: FreeType 2
Description: A free, high-quality, and portable font engine.
Version: 16.0.10
Requires:
Libs: -L${libdir} -lfreetype
Libs.private: -lz -lbz2
Cflags: -I${includedir}/freetype2 -I${includedir}
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum