Re: [Vala] The name `Gee' does not exist



Il giorno lun, 14/01/2008 alle 13.16 -0500, Michel Salim ha scritto:
On Jan 14, 2008 1:11 PM, Alessandro Pellizzari <alex amiran it> wrote:

$ valac -o gee gee.vala
gee.vala:7.17-7.19: error: The name `Gee' does not exist in the context
of `test.main'

Same bug that was reported against my Fedora package. Looks like the
build scripts fail to install the Gee-related files, even though they
are being referred?

Yes, I read your message just after sending mine. :)

I am using Debian, with vala 0.1.5 from the repositories. I don't think
it is a packaging problem, as I have libvala0 and libvala-dev installed:

# dpkg -L libvala0
...
/usr/lib/libvala.so.0.0.0
/usr/lib/libvala.so.0
...

# ls -la /usr/lib/libvala.so*
lrwxrwxrwx 1 root root      16 2008-01-07 19:09 /usr/lib/libvala.so ->
libvala.so.0.0.0
lrwxrwxrwx 1 root root      16 2008-01-07 19:09 /usr/lib/libvala.so.0 ->
libvala.so.0.0.0
-rw-r--r-- 1 root root 1371704 2008-01-07
19:09 /usr/lib/libvala.so.0.0.0

# dpkg -L libvala-dev
...
/usr/include/vala-1.0/gee
/usr/include/vala-1.0/gee/arraylist.h
/usr/include/vala-1.0/gee/collection.h
/usr/include/vala-1.0/gee/hashmap.h
/usr/include/vala-1.0/gee/hashset.h
/usr/include/vala-1.0/gee/iterable.h
/usr/include/vala-1.0/gee/iterator.h
/usr/include/vala-1.0/gee/list.h
/usr/include/vala-1.0/gee/map.h
/usr/include/vala-1.0/gee/readonlycollection.h
/usr/include/vala-1.0/gee/readonlylist.h
/usr/include/vala-1.0/gee/readonlymap.h
/usr/include/vala-1.0/gee/readonlyset.h
/usr/include/vala-1.0/gee/set.h
...

I don't know if any other file is needed for gee to work, but I don't
get any error from the homepage List example. List should be a Gee type,
as I understood correctly.

Anyboby having a suggestion?

Thanks.


-- 
Alessandro Pellizzari





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]