Bug 87066

Summary: checking for CAIRO... no
Product: cairo Reporter: LEE <lunar9999>
Component: generalAssignee: Chris Wilson <chris>
Status: RESOLVED NOTABUG QA Contact: cairo-bugs mailing list <cairo-bugs>
Severity: critical    
Priority: medium    
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description LEE 2014-12-07 09:31:37 UTC
failed after configuring pango-1.36.8 version.

I already installed cairo latest version and was no problem with it.

but messages told me there is no cairo and its backends.

Wonder how to handle this situation.

below are the messages for the failed configuring.

checking for ld used by c++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the c++ linker (/usr/bin/ld) supports shared libraries... yes
checking for c++ option to produce PIC... -fPIC -DPIC
checking if c++ PIC flag -fPIC -DPIC works... yes
checking if c++ static flag -static works... yes
checking if c++ supports -c -o file.o... yes
checking if c++ supports -c -o file.o... (cached) yes
checking whether the c++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
configure: creating ./config.lt
config.lt: creating libtool
checking for some Win32 platform... no
checking for pkg-config... /usr/local/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for HARFBUZZ... no
no
checking for CoreText availability... no
checking for CAIRO... no
no
configure: error: *** Could not enable any backends.
*** Must have at least one backend to build Pango.
lee@lee-8100-Series:~/pango-1.36.8$ ./configure
Comment 1 Uli Schlachter 2014-12-07 10:53:35 UTC
How did you install cairo? If from a distro package: Did you also install libcairo2-dev (or whatever your distro calls the devel package)? If by hand: How exactly?

Could you provide the output of `pkg-config --modversion cairo`?
Comment 2 LEE 2014-12-07 14:58:10 UTC
lee@lee-8100-Series:~$ pkg-config --modversion cairo
1.14.0


Its 1.14.0


I installed libcairo2-dev.

thanks
Comment 3 LEE 2014-12-07 15:00:28 UTC
(In reply to Uli Schlachter from comment #1)
> How did you install cairo? If from a distro package: Did you also install
> libcairo2-dev (or whatever your distro calls the devel package)? If by hand:
> How exactly?
> 
> Could you provide the output of `pkg-config --modversion cairo`?

I also installed 1.14.0 and 1.12.x by hand.
Comment 4 LEE 2014-12-07 16:52:42 UTC
May Worked ( typying 'su' in terminal to go to root and './configure' or 'auto-apt run ./configure' and 'make' and 'make install' in the order


- How to get the auto-apt -

sudo apt-get install auto-apt   (to get auto-apt)

sudo auto-apt update-local update (to update)

sudo auto-apt update update-db (to update)

form the site (http://www.ubuntu-kr.org/viewtopic.php?p=34471)
Comment 5 Bryce Harrington 2017-11-02 00:40:42 UTC
If I understand the last comment, it sounds like cairo had been built but not installed?

If you're building against a non-installed build of Cairo, you'll of course need to do some pkg-config futzing to get your app to properly locate cairo's files.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.