public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Build librsvg-2.34.2 Error
@ 2012-02-03 14:51 高金培
  2012-02-03 15:19 ` Michael Mol
  2012-02-03 15:50 ` Alex Schuster
  0 siblings, 2 replies; 6+ messages in thread
From: 高金培 @ 2012-02-03 14:51 UTC (permalink / raw
  To: gentoo-user


[-- Attachment #1.1: Type: text/plain, Size: 1962 bytes --]

  CC     librsvg_2_la-librsvg-enum-types.lo
/bin/sh ./libtool --silent --tag=CC   --mode=compile i686-pc-linux-gnu-gcc
-DHAVE_CONFIG_H -I.  -I. -I. -DG_LOG_DOMAIN=\"librsvg\"
-DLIBRSVG_DATADIR="\"/usr/share\""   -pthread -I/usr/include/gdk-pixbuf-2.0
-I/usr/include/libpng15 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/usr/include/libxml2 -I/usr/include/pango-1.0 -I/usr/include/freetype2
-I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm
-I/usr/include/libcroco-0.6 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/include/libxml2   -DHAVE_LIBCROCO=1
-O2 -march=pentium-m -pipe -c -o librsvg_2_la-librsvg-enum-types.lo `test
-f 'librsvg-enum-types.c' || echo './'`librsvg-enum-types.c
  CCLD   librsvg-2.la
  CCLD   rsvg-convert
  GISCAN Rsvg-2.0.gir
  CCLD   rsvg-view
In file included from <stdin>:19:0:
/var/tmp/portage/gnome-base/librsvg-2.34.2/work/librsvg-2.34.2/rsvg-cairo-render.h:32:19:
fatal error: cairo.h: No such file or directory
compilation terminated.
Error while processing the source.
make[2]: *** [Rsvg-2.0.gir] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory
`/var/tmp/portage/gnome-base/librsvg-2.34.2/work/librsvg-2.34.2'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/gnome-base/librsvg-2.34.2/work/librsvg-2.34.2'
make: *** [all] Error 2
 * ERROR: gnome-base/librsvg-2.34.2 failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of 'emerge --info
=gnome-base/librsvg-2.34.2',
 * the complete build log and the output of 'emerge -pqv
=gnome-base/librsvg-2.34.2'.
 * The complete build log is located at
'/var/tmp/portage/gnome-base/librsvg-2.34.2/temp/build.log'.
 * The ebuild environment file is located at
'/var/tmp/portage/gnome-base/librsvg-2.34.2/temp/environment'.
 * S: '/var/tmp/portage/gnome-base/librsvg-2.34.2/work/librsvg-2.34.2'


-- 
高金培

[-- Attachment #1.2: Type: text/html, Size: 3815 bytes --]

[-- Attachment #2: environment --]
[-- Type: application/octet-stream, Size: 231616 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] Build librsvg-2.34.2 Error
  2012-02-03 14:51 [gentoo-user] Build librsvg-2.34.2 Error 高金培
@ 2012-02-03 15:19 ` Michael Mol
  2012-02-03 15:22   ` Michael Mol
  2012-02-03 15:50 ` Alex Schuster
  1 sibling, 1 reply; 6+ messages in thread
From: Michael Mol @ 2012-02-03 15:19 UTC (permalink / raw
  To: gentoo-user

On Fri, Feb 3, 2012 at 9:51 AM, 高金培 <gjp1120@gmail.com> wrote:
>   CC     librsvg_2_la-librsvg-enum-types.lo
> /bin/sh ./libtool --silent --tag=CC   --mode=compile i686-pc-linux-gnu-gcc
> -DHAVE_CONFIG_H -I.  -I. -I. -DG_LOG_DOMAIN=\"librsvg\"
> -DLIBRSVG_DATADIR="\"/usr/share\""   -pthread -I/usr/include/gdk-pixbuf-2.0
> -I/usr/include/libpng15 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
> -I/usr/include/libxml2 -I/usr/include/pango-1.0 -I/usr/include/freetype2
> -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm
> -I/usr/include/libcroco-0.6 -I/usr/include/glib-2.0
> -I/usr/lib/glib-2.0/include -I/usr/include/libxml2   -DHAVE_LIBCROCO=1   -O2
> -march=pentium-m -pipe -c -o librsvg_2_la-librsvg-enum-types.lo `test -f
> 'librsvg-enum-types.c' || echo './'`librsvg-enum-types.c
>   CCLD   librsvg-2.la
>   CCLD   rsvg-convert
>   GISCAN Rsvg-2.0.gir
>   CCLD   rsvg-view


> In file included from <stdin>:19:0:
> /var/tmp/portage/gnome-base/librsvg-2.34.2/work/librsvg-2.34.2/rsvg-cairo-render.h:32:19:
> fatal error: cairo.h: No such file or directory
> compilation terminated.

I suspect you don't have cairo emerged.

>  * If you need support, post the output of 'emerge --info
> =gnome-base/librsvg-2.34.2',
>  * the complete build log and the output of 'emerge -pqv
> =gnome-base/librsvg-2.34.2'.
>  * The complete build log is located at
> '/var/tmp/portage/gnome-base/librsvg-2.34.2/temp/build.log'.
>  * The ebuild environment file is located at
> '/var/tmp/portage/gnome-base/librsvg-2.34.2/temp/environment'.
>  * S: '/var/tmp/portage/gnome-base/librsvg-2.34.2/work/librsvg-2.34.2'

Before you go any farther, save the output of the commands it's asking about.

sudo emerge --info gnome-base/librsvg-2.34.2 >
~/emerge.info.gnome-base.librsvg-2.34.2.txt
sudo emerge -pqv gnome-base/librsvg-2.34.2 >
~/emerge.pqv.gnome-base.librsvg-2.34.2.txt
sudo cp /var/tmp/portage/gnome-base/librsvg-2.34.2/temp/build.log
~/build.log.gnome-base.librsvg-2.34.2.txt
sudo cp /var/tmp/portage/gnome-base/librsvg-2.34.2/temp/environment
~/environment.gnome-base.librsvg-2.34.2.txt

If you need to file a bug report, you'll need to attach those to it.

To install cairo, try

emerge x11-libs/cairo

Assuming that works, try

emerge --resume

If the build works, you should be good. If you get the same error,
then you should file a bug report at bugs.gentoo.org.

-- 
:wq



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] Build librsvg-2.34.2 Error
  2012-02-03 15:19 ` Michael Mol
@ 2012-02-03 15:22   ` Michael Mol
  2012-02-03 17:15     ` Alan McKinnon
  0 siblings, 1 reply; 6+ messages in thread
From: Michael Mol @ 2012-02-03 15:22 UTC (permalink / raw
  To: gentoo-user

On Fri, Feb 3, 2012 at 10:19 AM, Michael Mol <mikemol@gmail.com> wrote:
> On Fri, Feb 3, 2012 at 9:51 AM, 高金培 <gjp1120@gmail.com> wrote:
>>   CC     librsvg_2_la-librsvg-enum-types.lo
>> /bin/sh ./libtool --silent --tag=CC   --mode=compile i686-pc-linux-gnu-gcc
>> -DHAVE_CONFIG_H -I.  -I. -I. -DG_LOG_DOMAIN=\"librsvg\"
>> -DLIBRSVG_DATADIR="\"/usr/share\""   -pthread -I/usr/include/gdk-pixbuf-2.0
>> -I/usr/include/libpng15 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
>> -I/usr/include/libxml2 -I/usr/include/pango-1.0 -I/usr/include/freetype2
>> -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm
>> -I/usr/include/libcroco-0.6 -I/usr/include/glib-2.0
>> -I/usr/lib/glib-2.0/include -I/usr/include/libxml2   -DHAVE_LIBCROCO=1   -O2
>> -march=pentium-m -pipe -c -o librsvg_2_la-librsvg-enum-types.lo `test -f
>> 'librsvg-enum-types.c' || echo './'`librsvg-enum-types.c
>>   CCLD   librsvg-2.la
>>   CCLD   rsvg-convert
>>   GISCAN Rsvg-2.0.gir
>>   CCLD   rsvg-view
>
>
>> In file included from <stdin>:19:0:
>> /var/tmp/portage/gnome-base/librsvg-2.34.2/work/librsvg-2.34.2/rsvg-cairo-render.h:32:19:
>> fatal error: cairo.h: No such file or directory
>> compilation terminated.
>
> I suspect you don't have cairo emerged.
>
>>  * If you need support, post the output of 'emerge --info
>> =gnome-base/librsvg-2.34.2',
>>  * the complete build log and the output of 'emerge -pqv
>> =gnome-base/librsvg-2.34.2'.
>>  * The complete build log is located at
>> '/var/tmp/portage/gnome-base/librsvg-2.34.2/temp/build.log'.
>>  * The ebuild environment file is located at
>> '/var/tmp/portage/gnome-base/librsvg-2.34.2/temp/environment'.
>>  * S: '/var/tmp/portage/gnome-base/librsvg-2.34.2/work/librsvg-2.34.2'
>
> Before you go any farther, save the output of the commands it's asking about.
>
> sudo emerge --info gnome-base/librsvg-2.34.2 >
> ~/emerge.info.gnome-base.librsvg-2.34.2.txt
> sudo emerge -pqv gnome-base/librsvg-2.34.2 >
> ~/emerge.pqv.gnome-base.librsvg-2.34.2.txt
> sudo cp /var/tmp/portage/gnome-base/librsvg-2.34.2/temp/build.log
> ~/build.log.gnome-base.librsvg-2.34.2.txt
> sudo cp /var/tmp/portage/gnome-base/librsvg-2.34.2/temp/environment
> ~/environment.gnome-base.librsvg-2.34.2.txt
>
> If you need to file a bug report, you'll need to attach those to it.
>
> To install cairo, try
>
> emerge x11-libs/cairo
>
> Assuming that works, try
>
> emerge --resume
>
> If the build works, you should be good. If you get the same error,
> then you should file a bug report at bugs.gentoo.org.

Actually, you should file a bug report either way, but the nature of
the bug is different. If emerging cairo fixes the build error, then
there's a dependency missing in the ebuild. If emerging cairo doesn't
fix the build error, something else is broken that I don't have a clue
about.


-- 
:wq



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] Build librsvg-2.34.2 Error
  2012-02-03 14:51 [gentoo-user] Build librsvg-2.34.2 Error 高金培
  2012-02-03 15:19 ` Michael Mol
@ 2012-02-03 15:50 ` Alex Schuster
  1 sibling, 0 replies; 6+ messages in thread
From: Alex Schuster @ 2012-02-03 15:50 UTC (permalink / raw
  To: gentoo-user

高金培 writes:

> In file included from <stdin>:19:0:
> /var/tmp/portage/gnome-base/librsvg-2.34.2/work/librsvg-2.34.2/rsvg-cairo-render.h:32:19:
> fatal error: cairo.h: No such file or directory

My guess is that you need to emerge x11-libs/cairo which has the missing 
cairo.h. Probably a bug in the librsvg ebuild. If you want to be kind,
file a bug report on bugs.gentoo org abut this.

	Wonko



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] Build librsvg-2.34.2 Error
  2012-02-03 15:22   ` Michael Mol
@ 2012-02-03 17:15     ` Alan McKinnon
  2012-02-04  7:30       ` C Study
  0 siblings, 1 reply; 6+ messages in thread
From: Alan McKinnon @ 2012-02-03 17:15 UTC (permalink / raw
  To: gentoo-user

On Fri, 3 Feb 2012 10:22:21 -0500
Michael Mol <mikemol@gmail.com> wrote:

> > To install cairo, try
> >
> > emerge x11-libs/cairo
> >
> > Assuming that works, try
> >
> > emerge --resume
> >
> > If the build works, you should be good. If you get the same error,
> > then you should file a bug report at bugs.gentoo.org.  
> 
> Actually, you should file a bug report either way, but the nature of
> the bug is different. If emerging cairo fixes the build error, then
> there's a dependency missing in the ebuild. If emerging cairo doesn't
> fix the build error, something else is broken that I don't have a clue
> about.

I remember many times in the past having to deal with missing cairo.h
and every time it was either that cairo's build was stuffed or the
ebuild I was trying to emerge was stuffed.

Bloody devs who insist on continually moving things around. Anyway, in
each case a symlink to the offending file would fix it. But this hasn't
happened in a long time now, maybe as much as a year.



-- 
Alan McKinnnon
alan.mckinnon@gmail.com




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] Build librsvg-2.34.2 Error
  2012-02-03 17:15     ` Alan McKinnon
@ 2012-02-04  7:30       ` C Study
  0 siblings, 0 replies; 6+ messages in thread
From: C Study @ 2012-02-04  7:30 UTC (permalink / raw
  To: gentoo-user

I encountered this problem, and resolved it with the command 'emerge
dev-libs/gobject-introspection'.
These pages may help:
http://forums.funtoo.org/viewtopic.php?pid=4984
https://bugs.gentoo.org/show_bug.cgi?id=391213
Best regards.

2012/2/4 Alan McKinnon <alan.mckinnon@gmail.com>:
> On Fri, 3 Feb 2012 10:22:21 -0500
> Michael Mol <mikemol@gmail.com> wrote:
>
>> > To install cairo, try
>> >
>> > emerge x11-libs/cairo
>> >
>> > Assuming that works, try
>> >
>> > emerge --resume
>> >
>> > If the build works, you should be good. If you get the same error,
>> > then you should file a bug report at bugs.gentoo.org.
>>
>> Actually, you should file a bug report either way, but the nature of
>> the bug is different. If emerging cairo fixes the build error, then
>> there's a dependency missing in the ebuild. If emerging cairo doesn't
>> fix the build error, something else is broken that I don't have a clue
>> about.
>
> I remember many times in the past having to deal with missing cairo.h
> and every time it was either that cairo's build was stuffed or the
> ebuild I was trying to emerge was stuffed.
>
> Bloody devs who insist on continually moving things around. Anyway, in
> each case a symlink to the offending file would fix it. But this hasn't
> happened in a long time now, maybe as much as a year.
>
>
>
> --
> Alan McKinnnon
> alan.mckinnon@gmail.com
>
>



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-02-04  7:32 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-03 14:51 [gentoo-user] Build librsvg-2.34.2 Error 高金培
2012-02-03 15:19 ` Michael Mol
2012-02-03 15:22   ` Michael Mol
2012-02-03 17:15     ` Alan McKinnon
2012-02-04  7:30       ` C Study
2012-02-03 15:50 ` Alex Schuster

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox