Results 1 to 18 of 18
Like Tree1Likes
  • 1 Post By Herrie
  1.    #1  
    So I've been trying to get OpenWebOS to build on Ubuntu and it doesn't seem to build. I've been using Ubuntu since 2008 so I'm quite familiar with Ubuntu, compiling et all.

    It fails at:
    Code:
    /home/vistausss/luna-desktop-binaries/pbnjson/src/pbnjson_c/jgen_stream.c: In function ‘finish_stream’:
    /home/vistausss/luna-desktop-binaries/pbnjson/src/pbnjson_c/jgen_stream.c:230:3: warning: passing argument 3 of ‘yajl_gen_get_buf’ from incompatible pointer type [enabled by default]
    In file included from /home/vistausss/luna-desktop-binaries/pbnjson/src/pbnjson_c/jgen_stream.c:21:0:
    /usr/include/yajl/yajl_gen.h:144:30: note: expected ‘size_t *’ but argument is of type ‘unsigned int *’
    /home/vistausss/luna-desktop-binaries/pbnjson/src/pbnjson_c/jgen_stream.c: In function ‘jstreamInternal’:
    /home/vistausss/luna-desktop-binaries/pbnjson/src/pbnjson_c/jgen_stream.c:292:2: error: too many arguments to function ‘yajl_gen_alloc’
    In file included from /home/vistausss/luna-desktop-binaries/pbnjson/src/pbnjson_c/jgen_stream.c:21:0:
    /usr/include/yajl/yajl_gen.h:118:23: note: declared here
    make[2]: *** [src/pbnjson_c/CMakeFiles/pbnjson_c.dir/jgen_stream.c.o] Error 1
    make[2]: *** Waiting for unfinished tasks...
    make[1]: *** [src/pbnjson_c/CMakeFiles/pbnjson_c.dir/all] Error 2
    make: *** [all] Error 2
    vistausss@vistaus-mbp:~/fromsvngit/build-desktop$
    I've tried to replace all unsigned int in that file with size_t but it doesn't seem to pass it to the compiler since it keeps getting stuck on this error (even after passing the clean argument). Yajl and it's dev-package is installed and the rest of the dependencies also.
    FYI: this is build-desktop, cloned from Its Git branch.

    How to fix this?
  2. #2  
    I managed to get mine to build finally today using 12.04.1 32 bits using "git clone -b master http://xxxx"

    I haven't tried unstable yet, will do that overnight :-)

    12.04.2 32 bits didn't run in my VirtualBox due to failing graphics. With 12.04.2 64 bits I got an error about dbus.

    Testing 12.04.1 64 bits now since Eric Blade said it should work on 64 bits too.

    -- Sent from my TouchPad using Communities
    HP Veer (daily driver), HP Pre 3, HP Touchpad Proper 4G/LTE (Sierra MC7710), HP Touchpad 32GB WiFi, Palm Pre 2
  3. #3  
    I had 32 bit Oneiric Ubuntu 11.10 which I've upgraded to 12.4. After few unsuccessful attempts I finally managed to build desktop version of open webOS.
  4. #4  
    It seems 12.04.1 both 32 and 64 bits builds here. However I cannot run the 64 bits properly due to some errors (segmentation faults or something, will need to post later)
    nc31002 likes this.
  5.    #5  
    Quote Originally Posted by Herrie View Post
    I managed to get mine to build finally today using 12.04.1 32 bits using "git clone -b master http://xxxx"
    -- Sent from my TouchPad using Communities
    I've tried it again. Removed the build-desktop folder and cloned it with your -b master command. But it now fails at this error:

    Code:
    [ 68%] Building C object src/libluna-service2/CMakeFiles/luna-service2.dir/utils.c.o
    Linking C shared library libluna-service2.so
    CMakeFiles/luna-service2.dir/transport_shm.c.o: In function `_LSTransportShmInit':
    transport_shm.c:(.text+0xfd): undefined reference to `shm_open'
    transport_shm.c:(.text+0x2e7): undefined reference to `shm_open'
    collect2: error: ld returned exit-status 1
    make[2]: *** [src/libluna-service2/libluna-service2.so.3.3.0] Error 1
    make[1]: *** [src/libluna-service2/CMakeFiles/luna-service2.dir/all] Error 2
    make: *** [all] Error 2
    vistausss@vistaus-mbp:~/fromsvngit/build-desktop$
    What can I do now?
  6. #6  
    Which version of Ubuntu are you on?

    -- Sent from my TouchPad using Communities
    HP Veer (daily driver), HP Pre 3, HP Touchpad Proper 4G/LTE (Sierra MC7710), HP Touchpad 32GB WiFi, Palm Pre 2
  7.    #7  
    I've tried it now on both 12.04 and 13.04 and both end up with the error about shm_open...
  8. #8  
    32 or 64 bits?

    -- Sent from my TouchPad using Communities
    HP Veer (daily driver), HP Pre 3, HP Touchpad Proper 4G/LTE (Sierra MC7710), HP Touchpad 32GB WiFi, Palm Pre 2
  9.    #9  
    64-bits. Should be supported according to the OWOS wiki.
  10. #10  
    It should but it doesn't on my 12.04.1 64 bits. I get segmentation faults and it won't run properly. 32 bits works fine though!

    See this pastebin for my errors.
    Last edited by Herrie; 03/14/2013 at 02:00 AM.
  11. #11  
    Quote Originally Posted by Herrie View Post
    It should but it doesn't on my 12.04.1 64 bits. I get segmentation faults and it won't run properly. 32 bits works fine though!

    See this pastebin for my errors.
    You was able to build desktop without errors but can't start services?
  12. #12  
    Quote Originally Posted by chalx View Post
    You was able to build desktop without errors but can't start services?
    Looks like it, will try a re-build tonight. Build seems to have finished without errors.

    Any proper way of logging the output to a file? Can I just use "| tee log.txt" ?
  13.    #13  
    But that doesn't help solving my error at all... As I'm getting stuck way before I can even try to start services.

    I've tried it clean again and I'm getting stuck *again* at that yajl error...
  14. #14  
    Quote Originally Posted by Vistaus View Post
    But that doesn't help solving my error at all... As I'm getting stuck way before I can even try to start services.

    I've tried it clean again and I'm getting stuck *again* at that yajl error...
    I'm doing a new build on my 12.04.1 64 bit.

    Did a "git clone -b master https://github.com/openwebos/build-desktop.git"

    Now building by means of:
    ./build-webos-desktop.sh clean|tee log.txt

    Will post results when done.
  15.    #15  
    Tried again, a clean build. Still stuck at the yajl error
  16. #16  
    Quote Originally Posted by Vistaus View Post
    Tried again, a clean build. Still stuck at the yajl error
    Mine is still running, but QT4 download is very slow
  17. #18  
    I'm sorry because I can't help. I'm complete Ubuntu noob, installed open webOS just by copy/pasting from instructions.

Posting Permissions