Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Aug 2012 14:36:22 -0700 (PDT)
From:      malco_2001 <jpm820@gmail.com>
To:        bsdmailinglist@googlegroups.com
Cc:        freebsd-gnome@freebsd.org
Subject:   Re: librsvg2-2.36.1 failed to build.
Message-ID:  <f62b840d-a4dd-4d98-bcc4-ab8291458e47@googlegroups.com>
In-Reply-To: <7dd4e169-17e4-4052-b010-c48ad65c2354@googlegroups.com>
References:  <CADRZFmoGL6HTBUuKuMkp21MxtaaGmOMdNnXntGgyWT-whm3H8g@mail.gmail.com> <6e07a612-22df-46c2-8f34-7841c702777f@googlegroups.com> <7dd4e169-17e4-4052-b010-c48ad65c2354@googlegroups.com>

next in thread | previous in thread | raw e-mail | index | archive | help
------=_Part_86_2596435.1346016982853
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit

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@gnome3-build-jail:/root # cd /usr/ports/graphics/libr
libraw/   librsvg2/ 
root@gnome3-build-jail:/root # cd 
/usr/ports/graphics/librsvg2/work/librsvg-2.36.1/
root@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@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@gnome3-build-jail:/usr/ports/graphics/librsvg2/work/librsvg-2.36.1 # 
cd ..
root@gnome3-build-jail:/usr/ports/graphics/librsvg2/work # cd ..
root@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@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...@freebsd.org mailing list 
>>> http://lists.freebsd.org/mailman/listinfo/freebsd-gnome 
>>> To unsubscribe, send any mail to "freebsd-gnom...@freebsd.org" 
>>>
>>
------=_Part_86_2596435.1346016982853--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?f62b840d-a4dd-4d98-bcc4-ab8291458e47>