LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 565|回复: 1

emerge pango 出错 (pkg-config 问题 求解)

[复制链接]
发表于 2011-6-6 21:57:23 | 显示全部楼层 |阅读模式
Gentoo新手,还不太熟悉它。。。
我现在在chroot环境想装好N卡驱动和X之后再重启,不过卡在了pango上:提示 glib.h no such file or directory... 但是dev-libs/glib已经安装了,感觉像是pkg-config之类的配置找不到头文件目录什么的,希望那位大大给个提示,先谢了
emerge --info:

  1. Portage 2.1.9.42 (default/linux/x86/10.0/desktop/gnome, gcc-4.4.5, libc-0-r0, 2.6.38-ARCH i686)
  2. =================================================================
  3. System uname: Linux-2.6.38-ARCH-i686-Intel-R-_Pentium-R-_Dual_CPU_T2370_@_1.73GHz-with-gentoo-2.0.2
  4. Timestamp of tree: Mon, 06 Jun 2011 00:45:01 +0000
  5. app-shells/bash:     4.1_p9
  6. dev-lang/python:     2.7.1-r1, 3.1.3-r1
  7. sys-apps/baselayout: 2.0.2
  8. sys-apps/openrc:     0.8.2-r1
  9. sys-apps/sandbox:    2.4
  10. sys-devel/autoconf:  2.65-r1
  11. sys-devel/automake:  1.11.1
  12. sys-devel/binutils:  2.20.1-r1
  13. sys-devel/gcc:       4.4.5
  14. sys-devel/gcc-config: 1.4.1-r1
  15. sys-devel/libtool:   2.2.10
  16. sys-devel/make:      3.81-r2
  17. sys-kernel/linux-headers: 2.6.36.1
  18. sys-libs/glibc:      2.12.2
  19. virtual/os-headers:  0
  20. ACCEPT_KEYWORDS="x86"
  21. ACCEPT_LICENSE="* -@EULA"
  22. CBUILD="i686-pc-linux-gnu"
  23. CFLAGS="-O2 -march=i686 -pipe"
  24. CHOST="i686-pc-linux-gnu"
  25. CONFIG_PROTECT="/etc"
  26. CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo"
  27. CXXFLAGS="-O2 -march=i686 -pipe"
  28. DISTDIR="/usr/portage/distfiles"
  29. FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
  30. FFLAGS=""
  31. GENTOO_MIRRORS="http://mirror.bjtu.edu.cn/gentoo"
  32. LANG="en_US.UTF-8"
  33. LDFLAGS="-Wl,-O1 -Wl,--as-needed"
  34. MAKEOPTS="-j3"
  35. PKGDIR="/usr/portage/packages"
  36. PORTAGE_CONFIGROOT="/"
  37. PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
  38. PORTAGE_TMPDIR="/var/tmp"
  39. PORTDIR="/usr/portage"
  40. SYNC="rsync://mirror.bjtu.edu.cn/gentoo-portage"
  41. USE="X a52 aac acl acpi alsa berkdb bluetooth branding bzip2 cairo cdr cli consolekit cracklib crypt cxx dbus dri dts dvd dvdr eds emboss encode evo exif fam firefox flac fortran gdbm gdu gif gnome gnome-keyring gpm gstreamer gtk iconv ipv6 jpeg lcms ldap libnotify mad mng modules mp3 mp4 mpeg mudflap nautilus ncurses nls nptl nptlonly ogg opengl openmp pam pango pcre pdf perl png policykit ppds pppd python qt3support readline sdl session spell ssl startup-notification svg sysfs tcpd tiff truetype udev unicode usb vorbis x264 x86 xcb xml xorg xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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" CALLIGRA_FEATURES="braindump flow karbon kexi kpresenter krita tables words" 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="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" 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"
  42. Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
复制代码


问题进一步确定:

  1. pkg-config --cflags --libs glib-2.0
复制代码

输出为:
  1. -lglib-2.0  
复制代码

没有include目录

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
发表于 2011-6-7 08:55:43 | 显示全部楼层
先emerge -avuDN world试试,改过USE直接手动装包之前要这么做。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表