Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 135441 - x11-libs/cairo-1.1.6-r1 build fails with configure error -- typo in ebuild
Summary: x11-libs/cairo-1.1.6-r1 build fails with configure error -- typo in ebuild
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Doug Goldstein (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-03 14:29 UTC by Jose daLuz
Modified: 2006-06-04 16:03 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jose daLuz 2006-06-03 14:29:14 UTC
Updating cairo from 1.1.6 to 1.1.6-r1 I get the following error:

using CFLAGS:
-I/usr/include/libpng12 -I/usr/include/freetype2 -I/usr/include/freetype2 -I/usr/include/libxml2 -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing


*** The Glitz backend is still under active development and
*** is included in this release only as a preview. It does not
*** fully work yet and incompatible changes may yet be made
*** to Glitz-backend specific API.

/usr/portage/x11-libs/cairo/cairo-1.1.6-r1.ebuild: line 57: --enable-ps: command not found

!!! ERROR: x11-libs/cairo-1.1.6-r1 failed.

Here is the relevant part of the ebuild:

src_compile() {
	econf $(use_enable X xlib) \
		$(use_enable png) \
		$(use_enable svg) \
		$(use_enable pdf) \
		$(use_enable doc gtk-doc) \
		$(use_enable glitz) \
		--enable-freetype
		--enable-ps || die "./configure failed"

	emake || die "Compilation failed"
}

Note the backslash missing after "--enable-freetype".
Comment 1 Doug Goldstein (RETIRED) gentoo-dev 2006-06-04 16:03:12 UTC
Been fixed... emerge --sync