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



Glad to hear it, Ebru!

You might also want to look at a couple of other active GNOME music player projects:

Rhythmbox:

http://en.wikipedia.org/wiki/Rhythmbox
http://projects.gnome.org/rhythmbox/
https://git.gnome.org/browse/rhythmbox/

GNOME Music:

https://live.gnome.org/Design/Apps/Music
https://git.gnome.org/browse/gnome-music/

I'm sure any of these projects would be happy to have your help.  cheers -

adam

On Wed, May 15, 2013 at 7:13 PM, Ebru Akagunduz <ebru akagunduz gmail com> wrote:
Thank you for your help :) It works :)


2013/5/16 Adam Dingle <adam medovina org>
Ebru,

thanks for sending me a copy of Widgets/gmpc-progress.c in a separate message.  That file is generate by the Vala compiler, which translates Vala to C.  For some reason, on your machine the Vala compiler is writing a funny Unicode character (an I with a dot over it) in one place in the file, which makes the C compiler unhappy.

I wonder if your language setting is somehow affecting the build (which would be a bug in the Vala compiler).  Now that you've switched your language settings to English, could you try a new clean build like this?  Be warned that this will delete any changes you've made in your gmpc directory.

ebru@ubuntu:~/workspace/gmpc$ git clean -fxd   (go back to a clean tree)
ebru@ubuntu:~/workspace/gmpc$ ./autogen.sh
ebru@ubuntu:~/workspace/gmpc$ make

Does that help?

adam

On Wed, May 15, 2013 at 6:03 PM, Ebru Akagunduz <ebru akagunduz gmail com> wrote:
I changed my language settings.

ebru@ubuntu:~/workspace/gmpc$ make

Widgets/gmpc-progress.c:1024:76: error: too few arguments to function 'g_object_class_install_property'
In file included from /usr/include/glib-2.0/gobject/gbinding.h:31:0,
                 from /usr/include/glib-2.0/glib-object.h:25,
                 from Widgets/gmpc-progress.c:24:
/usr/include/glib-2.0/gobject/gobject.h:387:13: note: declared here
Widgets/gmpc-progress.c: In function '_vala_gmpc_progress_get_property':
Widgets/gmpc-progress.c:1080:3: error: stray '\304' in program
Widgets/gmpc-progress.c:1080:3: error: stray '\260' in program
Widgets/gmpc-progress.c:1080:25: error: expected ':' or '...' before 'DE_TEXT'
Widgets/gmpc-progress.c:1080:25: warning: label 'DE_TEXT' defined but not used [-Wunused-label]
Widgets/gmpc-progress.c: In function '_vala_gmpc_progress_set_property':
Widgets/gmpc-progress.c:1094:3: error: stray '\304' in program
Widgets/gmpc-progress.c:1094:3: error: stray '\260' in program
Widgets/gmpc-progress.c:1094:25: error: expected ':' or '...' before 'DE_TEXT'
Widgets/gmpc-progress.c:1094:25: warning: label 'DE_TEXT' defined but not used [-Wunused-label]
make[3]: *** [gmpc-progress.o] Error 1
make[3]: Leaving directory `/home/ebru/workspace/gmpc/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/ebru/workspace/gmpc/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/ebru/workspace/gmpc'
make: *** [all] Error 2



2013/5/16 Adam Dingle <adam medovina org>
Ebru,

unfortunately some of us can't read Turkish.  :)  Could you build again, using this command which will produce output in English?

$ LANG=C make

adam


On Wed, May 15, 2013 at 5:30 PM, Ebru Akagunduz <ebru akagunduz gmail com> wrote:
I cloned libmpd and i install it smoothly. But when i applied gmpc make step, i am getting error:

ebru@ubuntu:~/workspace/gmpc$ make


make[1]: *** [all-recursive] Hata 1
make[1]: `/home/ebru/workspace/gmpc' dizininden çıkılıyor
make: *** [all] Hata 2



2013/5/15 Adam Dingle <adam medovina org>
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:


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 ..

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
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]