maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   MeeGo / Harmattan (https://talk.maemo.org/forumdisplay.php?f=45)
-   -   [Development - see post #1] Fremantle in a chroot (Run N900 applications on the N9) (https://talk.maemo.org/showthread.php?t=84987)

qwazix 2012-06-26 22:46

Re: [Development - see post #1] Fremantle in a chroot (Run N900 applications on the N9)
 
Status report:

Compiled atk, gtk, glib (after some hours fighting with gtk-docs and some help from MartinK) and managed to get clutter to configure. Got over some GL errors and now I am stuck to some incomprehensible errors in pango (?!!?!!) which is intstalled through harmattan sdk repo. :Confused:

excrept from the errors
Code:

/usr/include/pango-1.0/pango/pango-renderer.h:252: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'PangoMatrix'
In file included from /usr/include/pango-1.0/pango/pango.h:46,
                from /usr/include/pango-1.0/pango/pangocairo.h:25,
                from pango/pangoclutter.h:30,
                from clutter-private.h:48,
                from clutter-actor.c:180:
/usr/include/pango-1.0/pango/pango-utils.h:134: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'char'
/usr/include/pango-1.0/pango/pango-utils.h:137: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'char'

I have no idea what that could mean. Is the libpango-dev package broken? Is it an incompatibility between Fremantle and Harmattan pango (unlikely, it wouldn't throw syntax errors)

It's too late, and I can't even see what I'm writing. Hope somebody has a hint... G'Night.

misiak 2012-06-27 07:48

Re: [Development - see post #1] Fremantle in a chroot (Run N900 applications on the N9)
 
Quote:

Originally Posted by qwazix (Post 1227993)
Status report:

Compiled atk, gtk, glib (after some hours fighting with gtk-docs and some help from MartinK) and managed to get clutter to configure. Got over some GL errors and now I am stuck to some incomprehensible errors in pango (?!!?!!) which is intstalled through harmattan sdk repo. :Confused:

excrept from the errors
Code:

/usr/include/pango-1.0/pango/pango-renderer.h:252: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'PangoMatrix'
In file included from /usr/include/pango-1.0/pango/pango.h:46,
                from /usr/include/pango-1.0/pango/pangocairo.h:25,
                from pango/pangoclutter.h:30,
                from clutter-private.h:48,
                from clutter-actor.c:180:
/usr/include/pango-1.0/pango/pango-utils.h:134: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'char'
/usr/include/pango-1.0/pango/pango-utils.h:137: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'char'

I have no idea what that could mean. Is the libpango-dev package broken? Is it an incompatibility between Fremantle and Harmattan pango (unlikely, it wouldn't throw syntax errors)

It's too late, and I can't even see what I'm writing. Hope somebody has a hint... G'Night.

See here: http://linuxtesting.org/compatibilit...at_report.html - libpango from Harmattan is incompatible with version from Fremantle. It's about binary compatibility, but I guess there must be some source code incompability too.

But the error you quoted shows error inside clutter sources... in /usr/include/pango-1.0/pango/pango-renderer.h:252, it doesn't need to be closely related to gtk...

Kabouik 2012-06-29 16:17

Re: [Development - see post #1] Fremantle in a chroot (Run N900 applications on the N9)
 
I can't get qchroot to work.

- If I run "sudo qchroot MyDocs/rootfs.img /.debian" as user, it says "sudo: unable to execute /bin/qchroot: Operation not permitted";

- if I run it as root, it says "root is not in the sudoers file. This incident will be reported";

- and I get the same error if I run the command from opensh.

The /etc/sudoers file was edited according to the howto. :/

qwazix 2012-06-29 17:40

Re: [Development - see post #1] Fremantle in a chroot (Run N900 applications on the N9)
 
Probably qchroot doesn't have execute permissions.

Code:

sudo chmod +x /bin/qchroot

Kabouik 2012-06-29 18:08

Re: [Development - see post #1] Fremantle in a chroot (Run N900 applications on the N9)
 
I just chmod'ed /bin/qchroot, but I still get the exact same errors when trying to do "sudo qchroot blabla".

qwazix 2012-06-30 00:03

Re: [Development - see post #1] Fremantle in a chroot (Run N900 applications on the N9)
 
I am sorry, I'm out of ideas about your problem, please check all the steps again and visit qole's thread for harmchom for more info. The fact that HtheB managed to reach the same spot I did probably means that you missed something. The other thing you could try is open qchroot in a text editor and try the commands one by one, and post the one that fails.

On the hildon compilation front, it's starting to become frustrating. I finally built clutter, after building fremantle's pango. Next comes libhildon, which depends on gnome-vfs. Maemo gnome-vfs is incompatible with the glib version I built and the upstream one depends on libbz2 while I have bzip2 (apt says it replaces libbz2) and I can't get it to configure...

Oh, and Gtk-docs is a PITA.

Offtopic
On other news I've finally got my N900 back but the ****** at Nokia Care not only they didn't replace the watch battery, they full reflashed my N900 and I lost everything.

Estel 2012-06-30 00:25

Re: [Development - see post #1] Fremantle in a chroot (Run N900 applications on the N9)
 
You're lucky that You've got it back at all - "Nokia Oxym.o.r.o.n Care" is known for recycling Your device without asking, too. I hope You've had backups?

/Estel

qwazix 2012-06-30 12:14

Re: [Development - see post #1] Fremantle in a chroot (Run N900 applications on the N9)
 
Not-so-recent backup. I don't know why the hell would they flash the emmc on a working device. I thought the worst could happen was to flash the os.

Estel 2012-06-30 15:23

Re: [Development - see post #1] Fremantle in a chroot (Run N900 applications on the N9)
 
[off-topic[Because they have script to follow, obviously :) Don't You know, that for Nocaresians, flashing is ultimate solutiion to all problems, including plagues in Africa's Horn and rapes in Darfur? It's like calling some help-center - they will ask You to reboot computer, even if You're reporting printer spilling ink all around the place.

http://imgs.xkcd.com/comics/tech_support.png
[/off-topic]

/Estel

qwazix 2012-07-01 00:02

Re: [Development - see post #1] Fremantle in a chroot (Run N900 applications on the N9)
 
That comic is exactly the conversation I had with the vodafone rep asking them to remove the proxy that recognized microb as a dumbphone browser by user agent and served static wap-like pages. She kept telling me to check my internet settings.

rub some bacon on it

Unfortunately nothing on-topic to report today


All times are GMT. The time now is 03:51.

vBulletin® Version 3.8.8