mxcl/homebrew — Issue #9318: pango-querymodules get no result
Author: crhan
Created: 2011-12-29 13:17:58+00:00
State: open

I have both installed gentoo-prefix and home brew. After I `brew install rrdtool` and use rrdtool to draw a graph:

$ rrdtool graph speed.png \
> --start 920804400 --end 920808000 \
> DEF:myspeed=test.rrd:speed:AVERAGE \
> LINE2:myspeed#FF0000

(process:28828): Pango-CRITICAL **: No modules found:
No builtin or dynamically loaded modules were found.
PangoFc will not work correctly.
This probably means there was an error in the creation of:
'/usr/local/Cellar/pango/1.29.4/etc/pango/pango.modules'
You should create this file by running:
pango-querymodules > '/usr/local/Cellar/pango/1.29.4/etc/pango/pango.modules'

(process:28828): Pango-WARNING **: failed to choose a font, expect ugly output. engine-type='PangoRenderCoreText', script='common'

(process:28828): Pango-WARNING **: failed to choose a font, expect ugly output. engine-type='PangoRenderCoreText', script='latin'
Segmentation fault: 11

Then I tried ` pango-querymodules `

$ pango-querymodules
# Pango Modules file
# Automatically generated file, do not edit
#
# ModulesPath = /usr/local/Cellar/pango/1.29.4/lib/pango/1.6.0/modules
#

but there are lots of modules under that directory:

$ ls /usr/local/Cellar/pango/1.29.4/lib/pango/1.6.0/modules
pango-arabic-fc.so pango-basic-x.so pango-indic-lang.so pango-tibetan-fc.so
pango-arabic-lang.so pango-hangul-fc.so pango-khmer-fc.so
pango-basic-coretext.so pango-hebrew-fc.so pango-syriac-fc.so
pango-basic-fc.so pango-indic-fc.so pango-thai-fc.so

And here is my `env`:

$ env
MANPATH=/usr/local/share/man:/usr/local/man:/usr/local/share/man:/usr/local/man:/Users/crhan/Gentoo/usr/share/man:/Users/crhan/Gentoo/usr/share/binutils-data/x86_64-apple-darwin11/4.2/man:/Users/crhan/Gentoo/usr/share/gcc-data/x86_64-apple-darwin11/4.2.1/man:/usr/share/man
TERM_PROGRAM=iTerm.app
GPG_AGENT_INFO=/Users/crhan/.gnupg/S.gpg-agent:139:1
TERM=xterm-256color
SHELL=/Users/crhan/Gentoo/bin/bash
TMPDIR=/var/folders/rd/xcs7fhvj0pgfn68rnxz9rkcw0000gn/T/
Apple_PubSub_Socket_Render=/tmp/launch-cT1O8V/Render
OLDPWD=/usr/local/Cellar/pango/1.29.4/etc
USER=crhan
LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.pdf=00;32:*.ps=00;32:*.txt=00;32:*.patch=00;32:*.diff=00;32:*.log=00;32:*.tex=00;32:*.doc=00;32:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:
COMMAND_MODE=unix2003
SSH_AUTH_SOCK=/tmp/launch-Qa4O7d/Listeners
__CF_USER_TEXT_ENCODING=0x1F5:0:0
PAGER=/Users/crhan/Gentoo/usr/bin/less
CONFIG_PROTECT_MASK=/etc/terminfo /etc/portage /etc/ca-certificates.conf /etc/revdep-rebuild
PATH=/usr/local/bin:/usr/local/sbin:/Users/crhan/Gentoo/usr/sbin:/Users/crhan/Gentoo/usr/bin:/Users/crhan/Gentoo/sbin:/Users/crhan/Gentoo/bin:/Users/crhan/Gentoo/opt/bin:/Users/crhan/Gentoo/usr/x86_64-apple-darwin11/binutils-bin/4.2:/Users/crhan/Gentoo/usr/x86_64-apple-darwin11/gcc-bin/4.2.1:/usr/sbin:/usr/bin:/sbin:/bin:~/bin:/usr/local/bin:/usr/local/sbin:/Users/crhan/Gentoo/usr/portage/scripts:~/bin:/Users/crhan/Gentoo/usr/portage/scripts
EPREFIX=/Users/crhan/Gentoo
PWD=/usr/local/Cellar/pango/1.29.4/etc/pango
EDITOR=mvim
LANG=en_US.UTF-8
ITERM_PROFILE=Default
HISTCONTROL=ignoreboth
SHLVL=1
HOME=/Users/crhan
ITERM_SESSION_ID=w1t2p0
LESS=-R -M --shift 5
LOGNAME=crhan
GCC_SPECS=
CVS_RSH=ssh
LESSOPEN=|lesspipe %s
INFOPATH=/Users/crhan/Gentoo/usr/share/info:/Users/crhan/Gentoo/usr/share/gcc-data/x86_64-apple-darwin11/4.2.1/info
DISPLAY=/tmp/launch-M9aA7E/org.x:0
HISTTIMEFORMAT=%F %T:
_=/Users/crhan/Gentoo/usr/bin/env