Rygel build failure



Hi rygel-lurkers,

 

I am having trouble building rygel. I am typically following the steps in  Gnome-Rygel Building. In the step ‘Build and install Rygel’  the build fails with the following error.

 

make[4]: Leaving directory `/home/rasika/development/rygel/src/librygel-core'

make[3]: Leaving directory `/home/rasika/development/rygel/src/librygel-core'

Making all in librygel-renderer

make[3]: Entering directory `/home/rasika/development/rygel/src/librygel-renderer'

  VALAC    librygel_renderer_2_2_la_vala.stamp

rygel-av-transport.vala:735.33-735.38: error: The name `Status' does not exist in the context of `Rygel.AVTransport.check_resource'

        if ((msg.status_code == Status.MALFORMED ||

                                ^^^^^^

rygel-av-transport.vala:736.33-736.38: error: The name `Status' does not exist in the context of `Rygel.AVTransport.check_resource'

             msg.status_code == Status.BAD_REQUEST ||

                                ^^^^^^

rygel-av-transport.vala:737.33-737.38: error: The name `Status' does not exist in the context of `Rygel.AVTransport.check_resource'

             msg.status_code == Status.METHOD_NOT_ALLOWED ||

                                ^^^^^^

rygel-av-transport.vala:738.33-738.38: error: The name `Status' does not exist in the context of `Rygel.AVTransport.check_resource'

             msg.status_code == Status.NOT_IMPLEMENTED) &&

                                ^^^^^^

rygel-av-transport.vala:754.32-754.37: error: The name `Status' does not exist in the context of `Rygel.AVTransport.check_resource'

        if (msg.status_code != Status.OK) {

                               ^^^^^^

Compilation failed: 5 error(s), 0 warning(s)

make[3]: *** [librygel_renderer_2_2_la_vala.stamp] Error 1

make[3]: Leaving directory `/home/rasika/development/rygel/src/librygel-renderer'

make[2]: *** [all-recursive] Error 1

make[2]: Leaving directory `/home/rasika/development/rygel/src'

make[1]: *** [all-recursive] Error 1

make[1]: Leaving directory `/home/rasika/development/rygel'

make: *** [all] Error 2

 

These are the following things I tried to debug , since it appeared to be more like a problem with valac and libsoup bindings,

 

1.       Replaced ‘Status’ to ‘Soup.Status’ to check if vala namespace is failing, I got the same error replacing Status with ‘Soup.Status’

2.       Checked rygel build system by trying to compile this snippet.

/* soup-test.vala

*     valac --pkg libsoup-2.4 soup-test.vala */

using Soup;

class SoupTest {

    public static int main (string[] args) {

        return (Status.OK == 200 ? 0 : 1);

    }

}

              I observed an error  ,

soup-test.vala:3.7-3.10: error: The namespace name `Soup' could not be found

              using Soup;

                    ^^^^

3.       Repeated the steps inside jhbuild, it did not work.

4.       Also, the versions I use for  :

   valac is 0.24.0-5

                  libsoup  is 2. 46.0-2

 

Could somebody tell me what is wrong here, and if I am missing anything.

 

 

Thanks,

-Rasika

 

 



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