Tiny Core Extensions > Extension requests
midori
kalu:
--- Code: ---/usr/local/bin/valac \
--target-glib=2.26 --pkg gio-2.0 --pkg gio-unix-2.0 --pkg gtk+-3.0 --pkg json-glib-1.0 ../libzeitgeist/zeitgeist-datamodel-2.0.vapi ../libzeitgeist/zeitgeist-2.0.vapi ../config.vapi ./glib-extra.vapi -C --pkg telepathy-glib \
data-provider.vala desktop-launch-listener.vala downloads-directory-provider.vala kde-recent-document-provider.vala recent-manager-provider.vala utils.vala zeitgeist-datahub.vala telepathy-observer.vala
error: Package `telepathy-glib' not found in specified Vala API directories or GObject-Introspection GIR directories
Compilation failed: 1 error(s), 0 warning(s)
make[2]: *** [zeitgeist_datahub_vala.stamp] Error 1
make[2]: Leaving directory `/home/tc/zeitgeist-0.9.14/datahub'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/tc/zeitgeist-0.9.14'
make: *** [all] Error 2
tc@box:~/zeitgeist-0.9.14$ tce-load -i telepathy-glib
telepathy-glib is already installed!
tc@box:~/zeitgeist-0.9.14$ tce-load -i vala vala-dev
vala is already installed!
vala-dev is already installed!
tc@box:~/zeitgeist-0.9.14$ ls /usr/local/share/vala-0.24/vapi/
alsa.deps gtk+-2.0.deps
alsa.vapi gtk+-2.0.vapi
atk.vapi gtk+-3.0.deps
atspi-2.deps gtk+-3.0.vapi
atspi-2.vapi gtkmozembed.deps
avahi-client.vapi gtkmozembed.vapi
avahi-gobject.deps gtksourceview-2.0.deps
avahi-gobject.vapi gtksourceview-2.0.vapi
bzlib.vapi gtksourceview-3.0.deps
cairo-xcb.deps gtksourceview-3.0.vapi
cairo-xcb.vapi gudev-1.0.deps
cairo.vapi gudev-1.0.vapi
...
...
...
tc@box:~/zeitgeist-0.9.14$
--- End code ---
Does anyone know the solution to this? I compiled telepathy-glib myself, but I don't know how to make it available "in the specified Vala API directories or GObject-Introspection GIR" like all the other extensions, so that make wouldn't complain about it.
bmarkus:
--- Quote from: kalu on December 13, 2014, 07:12:46 AM ---I compiled telepathy-glib myself, but I don't know how to make it available "in the specified Vala API directories or GObject-Introspection GIR" like all the other extensions, so that make wouldn't complain about it.
--- End quote ---
Did you build it with gobject-introspection? If yes, there must be /usr/local/lib/girepository-1.0 directory. If not, rebuild with --gobject-introspection=yes config option. Of cource install gobject-introspection-dev.tcz before.
kalu:
Yes bmarkus, it does have /usr/local/lib/girepository-1.0 directory. But it's also missing the telepathy-glib file just like in the vala API directory:
--- Code: ---tc@box:~$ ls /usr/local/lib/girepository-1.0/
DBus-1.0.typelib GObject-2.0.typelib xfixes-4.0.typelib
DBusGLib-1.0.typelib Gio-2.0.typelib xft-2.0.typelib
GIRepository-2.0.typelib cairo-1.0.typelib xlib-2.0.typelib
GL-1.0.typelib fontconfig-2.0.typelib xrandr-1.3.typelib
GLib-2.0.typelib freetype2-2.0.typelib
GModule-2.0.typelib libxml2-2.0.typelib
tc@box:~$
--- End code ---
What do I do to it?
Juanito:
These look like the default typelib files that come with the gobject-introspection extension.
Did you recompile telepathy-glib with gobject-introspection-dev (and vala-dev) loaded?
kalu:
I think so Juanito. They're loaded right now, so they probably were when I was compiling telepathy-glib. You mean I should have unloaded them, before I compiled it?
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version