[cairo] pangocairo make error

g.esp at free.fr g.esp at free.fr
Tue Jan 31 05:02:09 PST 2012

----- Mail original -----
> De: "kibirango moses" <kibsmoses at gmail.com>
> À: "suzuki toshiya" <mpsuzuki at hiroshima-u.ac.jp>
> Cc: cairo at cairographics.org
> Envoyé: Mardi 31 Janvier 2012 10:56:24
> Objet: Re: [cairo] pangocairo make error
> Hi Suzuki,
> I reinstalled as you advised but it is still a stalemate for me as my
> graphs are not shown in mailgraph and cacti.Below are my
> configurations:Hullo Users,
> I am failing to install rrdtool and below are the erros i am getting:
> The installation guide i used is from
> http://oss.oetiker.ch/rrdtool/doc/rrdbuild.en.html
> Configuring FontConfig
> #./configure --prefix=$INSTALL_DIR CFLAGS="-O3 -fPIC"
> CPPFLAGS="-I/include/cairo"
> --with-freetype-config=$INSTALL_DIR/bin/freetype-config
> fontconfig seemed ok

You have to understand a bit what you made.
If INSTALL_DIR string is empty when configure run, --prefix will be empty, and you usually don't set prefix that way.
Either you want --prefix=/ ,--prefix=/usr or you let the default prefix be used (which is usually /usr/local).

Usually distrib packager use --prefix=/usr.
When --prefix is not set, default prefix is /usr/local, so everything you compile by yourself will not replace the code installed by your distrib, but be found as earlier in the PATH.
> Configuring Cairo 1.10.2
Don't you install pixman as in the rrrdool howto?

> #./configure --prefix= --cache-file=config.cache --disable-static
> --enable-test-surfaces --enable-symbol-lookup=yes CFLAGS="-O3 -fPIC"
Same remark for --prefix
--cache-file=config.cache may not have the effect you would think.
If trying different configure option in a row, previous configure results are retrieved from config.cache, so the last settings you try with configure may not take effect.
> # make
> Output Error:
> ../libtool: line 1216: libtool: compile: cannot determine name of
> library object from `': command not found
maybe the effect of empty --prefix, I don't know?
> make[3]: *** [cairo-analysis-surface.lo] Error 1
> make[3]: Leaving directory `/usr/local/src/cairo-1.10.2/src'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory `/usr/local/src/cairo-1.10.2/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/usr/local/src/cairo-1.10.2'
> make: *** [all] Error 2
In any case, compilation has failed, cairo is not properly installed, and you should fix that error before trying to achieve the next step.


More information about the cairo mailing list