Le 14/11/2014 05:56, Christopher Gregory a écrit :
On Fri, November 14, 2014 2:29 pm, Christopher Gregory wrote:
Hello,


Well I now have absolutely no idea what the hang is going on.  With the
new build by jhalfs of trunk lfs systemd and the updated packages since
release of lfs/blfs 7.6 systemd/systemv,  I am now unable to compile
librsvg.

I have tried librsvg down as low as librsvg-2.40.3 and also down-graded
vala to the 26.0 version with the exact same results.

The build fails with the following:


CCLD     rsvg-view-3
GISCAN   Rsvg-2.0.gir
GICOMP   Rsvg-2.0.gir
VAPIGEN librsvg-2.0.vapi
error: Package `GLib-2.0' not found in specified Vala API directories or
GObject-Introspection GIR directories
error: Package `GObject-2.0' not found in specified Vala API directories
or GObject-Introspection GIR directories error: Package `GdkPixbuf-2.0' not
found in specified Vala API directories or GObject-Introspection GIR
directories error: Package `Gio-2.0' not found in specified Vala API
directories or GObject-Introspection GIR directories
error: Package `cairo-1.0' not found in specified Vala API directories or
GObject-Introspection GIR directories
/usr/share/vala/Makefile.vapigen:61: recipe for target 'librsvg-2.0.vapi'
failed make[2]: *** [librsvg-2.0.vapi] Error 1
make[2]: Leaving directory '/usr/src/blfs7.5/librsvg-2.40.3'
Makefile:1305: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/usr/src/blfs7.5/librsvg-2.40.3'


I have tripple checked the bash startup files and paths both online and
on my other installation of rc2 of systemd and they look identical to me.

I even went so far as to copy the Makefile.vapigen from the rc2 partition
  and it resulted in the same failure.

I am totally lost on this.


Regards,


Christopher.
Well I finaly tracked this down.  The  g-ir-scanner actually uses the
XDG_DATA_DIRS to check for dirs. I finaly found that I had failed to add
that to my /etc/profile.  I have no idea why they decided to use that to
search for directories instead of pkgconfig.

Initial google searches brought up nothing.  Only stumbled on it by
accident in a post about programming.

Regards,

Christopher.


My own experience about g-ir is that if you ever have to use g-ir for something, build it early (just after glib). Otherwise, some of the packages where the g-ir dep is tagged optional are built without some of the g-ir files, and then, when you add g-ir for packages where g-ir is tagged recommended, those files are searched and not found.

But maybe, in your case XDG_DATA_DIRS was the problem.

Pierre

--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to