librsvg2-2.36.1 failed to build.

malco_2001 jpm820 at gmail.com
Sun Aug 26 21:36:24 UTC 2012


Thanks for the tip.  I wasn't able to gather anything useful as far as 
where the port is trying to look for the missing cairo source files but 
here is the output.

root at gnome3-build-jail:/root # cd /usr/ports/graphics/libr
libraw/   librsvg2/ 
root at gnome3-build-jail:/root # cd 
/usr/ports/graphics/librsvg2/work/librsvg-2.36.1/
root at gnome3-build-jail:/usr/ports/graphics/librsvg2/work/librsvg-2.36.1 # 
env V=1 gmake
gmake  all-recursive
gmake[1]: Entering directory 
`/usr/ports/graphics/librsvg2/work/librsvg-2.36.1'
Making all in .
gmake[2]: Entering directory 
`/usr/ports/graphics/librsvg2/work/librsvg-2.36.1'
/usr/local/bin/g-ir-scanner  --add-include-path=. --namespace=Rsvg 
--nsversion=2.0 --libtool="/bin/sh 
/usr/ports/graphics/librsvg2/work/gnome-libtool" --pkg=pango 
--pkg=libxml-2.0 --include=GLib-2.0 --include=GObject-2.0 --include=Gio-2.0 
--include=cairo-1.0 --include=GdkPixbuf-2.0 --pkg-export=librsvg-2.0 
 --library=librsvg-2.la  -I.  rsvg.h rsvg-cairo.h librsvg-features.h 
librsvg-enum-types.h librsvg-features.c rsvg-css.c rsvg-defs.c rsvg-image.c 
rsvg-io.c rsvg-paint-server.c rsvg-path.c rsvg-base-file-util.c 
rsvg-filter.c rsvg-marker.c rsvg-mask.c rsvg-shapes.c rsvg-structure.c 
rsvg-styles.c rsvg-text.c rsvg-cond.c rsvg-base.c librsvg-enum-types.c 
rsvg-cairo-draw.c rsvg-cairo-render.c rsvg-cairo-clip.c rsvg.c 
rsvg-gobject.c rsvg-file-util.c rsvg-size-callback.c rsvg-xml.c librsvg-2.la --output 
Rsvg-2.0.gir
In file included from <stdin>:5:
/usr/ports/graphics/librsvg2/work/librsvg-2.36.1/rsvg-cairo.h:29:19: error: 
cairo.h: No such file or directory
Error while processing the source.
gmake[2]: *** [Rsvg-2.0.gir] Error 1
gmake[2]: Leaving directory 
`/usr/ports/graphics/librsvg2/work/librsvg-2.36.1'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory 
`/usr/ports/graphics/librsvg2/work/librsvg-2.36.1'
gmake: *** [all] Error 2
root at gnome3-build-jail:/usr/ports/graphics/librsvg2/work/librsvg-2.36.1 # 
make
"Makefile", line 1682: Need an operator
make: fatal errors encountered -- cannot continue
root at gnome3-build-jail:/usr/ports/graphics/librsvg2/work/librsvg-2.36.1 # 
cd ..
root at gnome3-build-jail:/usr/ports/graphics/librsvg2/work # cd ..
root at gnome3-build-jail:/usr/ports/graphics/librsvg2 # make
===>  Building for librsvg2-2.36.1
gmake  all-recursive
gmake[1]: Entering directory 
`/usr/ports/graphics/librsvg2/work/librsvg-2.36.1'
Making all in .
gmake[2]: Entering directory 
`/usr/ports/graphics/librsvg2/work/librsvg-2.36.1'
  GISCAN Rsvg-2.0.gir
In file included from <stdin>:5:
/usr/ports/graphics/librsvg2/work/librsvg-2.36.1/rsvg-cairo.h:29:19: error: 
cairo.h: No such file or directory
Error while processing the source.
gmake[2]: *** [Rsvg-2.0.gir] Error 1
gmake[2]: Leaving directory 
`/usr/ports/graphics/librsvg2/work/librsvg-2.36.1'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory 
`/usr/ports/graphics/librsvg2/work/librsvg-2.36.1'
gmake: *** [all] Error 2
*** [do-build] Error code 1

Stop in /usr/ports/graphics/librsvg2.
root at gnome3-build-jail:/usr/ports/graphics/librsvg2 # 

On Sunday, August 26, 2012 4:08:41 PM UTC-5, malco_2001 wrote:
>
>
> I cannot seem to find where it is expect the cairo source files to be 
> included.  Hopefully i defined V=1 correctly.  I can copy the cairo source 
> files from /usr/local/include/cairo to the 
> /usr/ports/graphics/librsvg2/work/librsvg-2.36.1 and the port will build 
> without any removal of lines from the Makefile.
>
> On Sunday, August 26, 2012 3:55:45 PM UTC-5, malco_2001 wrote:
>>
>> After reading the man for make I determined that -D will define variable 
>> 1 and -V will specify to use a variable.  If this is correct here is my log 
>> attached in the file build.log.  Seems to give more output at least.
>>
>> On Wednesday, August 22, 2012 4:45:21 AM UTC-5, Eric Turgeon wrote:
>>>
>>> ===>  Building for librsvg2-2.36.1 
>>> gmake  all-recursive 
>>> gmake[1]: Entering directory `/usr/ports/graphics/librsvg2/ 
>>> work/librsvg-2.36.1' 
>>> Making all in . 
>>> gmake[2]: Entering directory 
>>> `/usr/ports/graphics/librsvg2/work/librsvg-2.36.1' 
>>>   GISCAN Rsvg-2.0.gir 
>>> In file included from <stdin>:5: 
>>> /usr/ports/graphics/librsvg2/work/librsvg-2.36.1/rsvg-cairo.h:29:19: 
>>> error: 
>>> cairo.h: No such file or directory 
>>> Error while processing the source. 
>>> gmake[2]: *** [Rsvg-2.0.gir] Error 1 
>>> gmake[2]: Leaving directory 
>>> `/usr/ports/graphics/librsvg2/work/librsvg-2.36.1' 
>>> gmake[1]: *** [all-recursive] Error 1 
>>> gmake[1]: Leaving directory 
>>> `/usr/ports/graphics/librsvg2/work/librsvg-2.36.1' 
>>> gmake: *** [all] Error 2 
>>> *** Error code 1 
>>>
>>> Stop in /usr/ports/graphics/librsvg2. 
>>>
>>>
>>> I cant really say what is wrong. the filw is there. 
>>>
>>>
>>> -- 
>>> *Eric Turgeon 
>>> *Programmer, developer and project administrator. 
>>> * 
>>> GhostBSD project* 
>>> BSD System Development for home and office. 
>>>
>>> Office location: 
>>> 1-11 connaught 
>>> Moncton NB Canada 
>>>
>>> www.ghostbsd.org 
>>> _______________________________________________ 
>>> freebs... at freebsd.org mailing list 
>>> http://lists.freebsd.org/mailman/listinfo/freebsd-gnome 
>>> To unsubscribe, send any mail to "freebsd-gnom... at freebsd.org" 
>>>
>>


More information about the freebsd-gnome mailing list