Re: [gnome-love] jhbuild build error - vala



Ebru,

OK, great.  You certainly don't need to build Vala - you can simply install it like this:

$ sudo apt-get install valac-0.20

In fact, you won't need to use jhbuild to build anything.  I just built gmpc on my system (I'm running Ubuntu 13.10, by the way) to see what you need to do.  It's pretty easy.  You'll need to build only two packages from source: libmpd (which gmpc depends on) and gmpc itself.  Here we go:

1. Get the sources for libmpd:

$ git clone git://repo.or.cz/libmpd.git

2. Build and install it:

$ cd libmpd
$ sudo apt-get build-dep libmpd
$ ./autogen.sh
$ make
$ sudo make install

3. Get the sources for gmpc:

$ cd ..
$ git clone git://repo.or.cz/gmpc.gi

4. Build and install:

$ cd gmpc
$ sudo apt-get build-dep gmpc
$ sudo apt-get install libglyr-dev   (another library I think you will need)
$ ./autogen.sh
$ make
$ sudo make install

I think that will work.  If you run into trouble, let us know again here and we'll try to help.  cheers -

adam

On Wed, May 15, 2013 at 4:33 PM, Ebru Akagunduz <ebru akagunduz gmail com> wrote:

I am using Ubuntu Gnome 13.04, i want to contribute to gmpc so i should build vala.

15 May 2013 23:28 tarihinde "Adam Dingle" <adam medovina org> yazdı:
Ebru,

that's great that you'd like to contribute to GNOME!

You might not actually need to build the whole world (including Vala) using jhbuild - it depends on what you want to do.  Which distribution (operating system) are you running, and which version of it?  Which program(s) were you hoping to contribute to?

adam

On Wed, May 15, 2013 at 4:22 PM, Ebru Akagunduz <ebru akagunduz gmail com> wrote:


2013/5/15 Ebru Akagunduz <ebru akagunduz gmail com>
Hi, i want to contribute gnome projects, i sent patch before and again i want to contribute it. So i am installing jhbuild. But i am getting error and i couldn't find out it. 
$ jhbuild build --nodeps

hashmap.c:1938:15: error: expected ')' before 'TERATOR'
hashmap.c:1938:15: error: stray '\304' in program
hashmap.c:1938:15: error: stray '\260' in program
hashmap.c:1938:37: error: expected ';' before 'TERATOR_GET_PRIVATE'
hashmap.c: In function 'vala_hash_map_value_iterator_finalize':
hashmap.c:1945:2: error: stray '\304' in program
hashmap.c:1945:2: error: stray '\260' in program
hashmap.c:1945:2: error: stray '\304' in program
hashmap.c:1945:2: error: stray '\260' in program
hashmap.c:1945:9: error: expected ')' before 'TERATOR'
hashmap.c:1947:2: error: stray '\304' in program
hashmap.c:1947:2: error: stray '\260' in program
hashmap.c:1947:2: error: called object 'TERATOR_GET_CLASS(obj)' is not a function
hashmap.c:1947:2: error: stray '\304' in program
hashmap.c:1947:2: error: stray '\260' in program
hashmap.c:1947:9: error: expected ';' before 'TERATOR_CLASS'
hashmap.c: In function 'vala_hash_map_value_iterator_get_type':
hashmap.c:1956:3: error: stray '\304' in program
hashmap.c:1956:3: error: stray '\260' in program
hashmap.c:1956:3: error: stray '\304' in program
hashmap.c:1956:3: error: stray '\260' in program
hashmap.c:1956:78: error: expected ')' before 'TERATOR'
hashmap.c:1956:78: error: too few arguments to function 'g_type_register_static'
In file included from /opt/gnome/include/glib-2.0/gobject/gobject.h:26:0,
                 from /opt/gnome/include/glib-2.0/gobject/gbinding.h:31,
                 from /opt/gnome/include/glib-2.0/glib-object.h:25,
                 from hashmap.c:29:
/opt/gnome/include/glib-2.0/gobject/gtype.h:1246:7: note: declared here
make[3]: *** [hashmap.lo] Hata 1
make[3]: `/home/ebru/checkout/gnome/vala/gee' dizininden çıkılıyor
make[2]: *** [all] Hata 2
make[2]: `/home/ebru/checkout/gnome/vala/gee' dizininden çıkılıyor
make[1]: *** [all-recursive] Hata 1
make[1]: `/home/ebru/checkout/gnome/vala' dizininden çıkılıyor
make: *** [all] Hata 2
*** Error during phase build of vala: ########## Error running make -j 5 *** [18/159]

  [1] Rerun phase build
  [2] Ignore error and continue to install
  [3] Give up on module
  [4] Start shell
  [5] Reload configuration
  [6] Go to phase "wipe directory and start over"
  [7] Go to phase "configure"
  [8] Go to phase "clean"
  [9] Go to phase "distclean"
choice: 

I tried all coice but couldn't install vala. How can i find out this error?



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