maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Alternatives (https://talk.maemo.org/forumdisplay.php?f=36)
-   -   [KDE] kde4 on os2008 (https://talk.maemo.org/showthread.php?t=13958)

wolf08 2008-04-22 19:57

Re: kde4 on os2008
 
Yes, I absoultely got this far. And I got the same syscall errors. I even got base to compile and install. But there seemed to be a bunch of fatal flaws (like dolphin wasn't able to find any files, konqueror wasn't able to browse anything, kdeinit was buggy and crashed) that made me wonder if some things weren't getting compiled correctly.

I think that the problem is that (and when I get home to my development environment I'll tell you more specifically) qmake runs to generate xml files and fails to do so sometimes (that's when your make is failing and hanging). It then skips that file and goes on even though it is needed for kde4 apps to work fine. These files aren't used for actually compiling kde4, meaning that the compile goes forward 'successfully', but there are missing files in the final install.

Quote:

Originally Posted by penguinbait (Post 173180)
libs and pimlibs done, working on base now

I thought it odd though, the make for the kdepimlibs completed 101%

Maybe its the love I added :)

I am occaisonally getting these errors popping up, so I am not sure if things are really going that well. Has anyone else gotten these?


qemu: Unsupported syscall: 264
qemu: Unsupported syscall: 264
qemu: Unsupported syscall: 264

It may be my core2 duo on the laptop??? Anyone?


Westy 2008-04-23 14:04

Re: kde4 on os2008
 
Please put Evolution mail on it!.... Please! Alas MS mail servers are rather ubiquitous so we should not ignore them just because we are in to linux. This is the only gripe I have with KDE on my tablet currently. If I could use evolution or something that did a similar job I would be on cloud nine bathed in happiness and my laptop could go to the bottom draw.

Looks like an ace project.

penguinbait 2008-04-24 14:08

Re: kde4 on os2008
 
Until the scratchbox issue is resolved I do not anticipate this happening. Although ASIU compiling on his device has the best shot of it working. But compiling 50+ packages on your tablet, is going to take a while. Perhaps once QT is ported by Nokia this problem with scratchbox will get resolved??

pb

qwerty12 2008-04-24 14:12

Re: kde4 on os2008
 
I think there is a good chance of it getting fixed :)

The qemu arm emulation is broken but hrw has managed to boot a proper emulated N800 (not the sbox rubbish). A lot of hope imo.

Aisu 2008-04-24 14:37

Re: kde4 on os2008
 
I have given up on compiling at the moment x_x god hates me, and so does scratchbox. Don't count on anything from my end, but I may may try to make this monstrosity work later.

What do you mean emulated n800?

penguinbait 2008-04-24 18:23

Re: kde4 on os2008
 
If anyone else is attempting this, here is a list of some of the DEPs needed. This is by far not all of them, just what I have gotten through....

I believe I am also for now giving up, maybe next version


cmake
soprano
strigi
eigen
qca
taglib qimageblitz

LibVNCServer-0.9.1.tar.gz
NetworkManager-0.6.5.tar.bz2
ORBit2-2.13.3.tar.bz2
aspell-0.60.6.tar.gz
avahi-0.6.22.tar.gz
bc-1.06.tar.gz
boost_1_35_0.tar.bz2
bzip2-1.0.5.tar.gz
clucene-core-0.9.20.tar.bz2
cyrus-sasl-2.1.22.tar.gz
decibel-0.5.0.tar.gz
dhcdbd-3.0-dbus.patch
dhcdbd-3.0.tar.bz2
enchant-1.4.1.tar.gz
fam-2.7.0.tar.gz
gdbm_1.8.3.orig.tar.gz
ggz-client-libs-0.0.14.1.tar.gz
giflib-4.1.6.tar.bz2
gnome-keyring-0.4.9.tar.bz2
gnupg-1.4.9.tar.bz2
gnupg-2.0.8.tar.bz2
gpgme-1.1.4.tar.bz2
gphoto2-2.4.1.tar.bz2
graphml_lep.zip
ilmbase-1.0.1.tar.gz
iproute2-2.6.16-060323.tar.gz
jasper-1.900.1.zip
krb5-1.6.3.tar.gz
libIDL-0.8.9.tar.bz2
libart_lgpl-2.3.20.tar.bz2
libassuan-1.0.4.tar.bz2
libbonobo-2.17.92.tar.bz2
libbonoboui-2.17.94.tar.bz2
libdaemon-0.12.tar.gz
libgcrypt-1.4.0.tar.bz2
libggz-0.0.14.1.tar.gz
libgnome-2.17.92.tar.bz2
libgnomecanvas-2.14.0.tar.bz2
libgnomeui-2.17.92.tar.bz2
libgpg-error-1.6.tar.bz2
libgphoto2-2.4.1.tar.bz2
libidn-1.8.tar.gz
libksba-1.0.3.tar.bz2
libnl-1.0-pre6.tar.bz2
libpng-1.2.26.tar.gz
libpthread-stubs-0.1.tar.bz2
libungif-4.1.4.tar.bz2
libxcb-1.1.tar.bz2
libxml2-2.6.25.tar.gz
libxslt-1.1.9.tar.bz2
mesa-common-dev_7.0.3-1_all.deb
openexr-1.6.1.tar.gz
openssl-0.9.8g.tar.gz
pcre-7.4.tar.bz2
pcre-7.6.tar.bz2
pth-2.0.7.tar.gz
soprano-2.0.1.tar.bz2
tapioca-qt-0.14.1.tar.gz
telepathy-qt-0.14.1.tar.gz
wpa_supplicant-0.5.10.tar.gz
xcb-proto-1.1.tar.bz2
xine-lib-1.1.12.tar.bz2
xscreensaver-5.05.tar.gz
zlib-1.2.3.tar.gz

Gourmand 2008-05-01 19:30

Re: kde4 on os2008
 
Guys! You are doing great job!
I hold breath and wait for KDE4 working on my tablet. Now I play with different ported apps and feel much more like in middle of 90-th - when I first time installed SlackWare Linux. Lots of options but nothing integral. With KDE we will have several necessary applications and intagrated environment. That is whai I'd expect from Nokia. But I hope you will make it sooner.

penguinbait 2008-05-01 19:38

Re: kde4 on os2008
 
Quote:

Originally Posted by Gourmand (Post 176877)
Guys! You are doing great job!
I hold breath and wait for KDE4 working on my tablet. Now I play with different ported apps and feel much more like in middle of 90-th - when I first time installed SlackWare Linux. Lots of options but nothing integral. With KDE we will have several necessary applications and intagrated environment. That is whai I'd expect from Nokia. But I hope you will make it sooner.

I am not sure anyone is actually working on this? I Am not..

3.5.8 is way better than 4 anyway :)

Gourmand 2008-05-01 21:24

Re: kde4 on os2008
 
Quote:

3.5.8 is way better than 4 anyway
noooo.... I removed it, toooooo slooooowwwwww

and without dialogs formated for small screen it is completely useless

I tried Kubuntu with KDE4 and found it useful for small desktop computer. And I wanna have this on tablet.

penguinbait 2008-05-01 22:20

Re: kde4 on os2008
 
Quote:

Originally Posted by Gourmand (Post 176945)
noooo.... I removed it, toooooo slooooowwwwww

and without dialogs formated for small screen it is completely useless

I tried Kubuntu with KDE4 and found it useful for small desktop computer. And I wanna have this on tablet.


I am also running KDE4 on kubuntu, I think it sux, and no matter what version, trying to run on tablet with very little memory, dont expect speed. You are just waiting for disappointment.

kde 358 is very useable, just typed this... ALL dialog boxes are accessible to me. I have never found one I could not use?

wolf08 2008-05-02 00:25

Re: kde4 on os2008
 
Honestly, I'm using kde 4.1 alpha at the moment (compiled from svn) and I'm very much liking it. And don't worry, I haven't completely given up on my efforts for the tablet =/. Just almost. Oh well.

penguinbait 2008-05-02 01:54

Re: kde4 on os2008
 
Quote:

Originally Posted by wolf08 (Post 177004)
Honestly, I'm using kde 4.1 alpha at the moment (compiled from svn) and I'm very much liking it. And don't worry, I haven't completely given up on my efforts for the tablet =/. Just almost. Oh well.

Is there a way to compile without the syscall errors in scratchbox. Until this it resolved, I think only compilation on the device would be a possibility.

am I wrong here? The bonus I suppose is now that maemo will be porting qt eventually this will have to work?

Gourmand 2008-05-02 08:48

Re: kde4 on os2008
 
where did you get syscall errors? in Qt4 libs execution or compilation?

penguinbait 2008-05-02 12:23

Re: kde4 on os2008
 
Quote:

Originally Posted by Gourmand (Post 177073)
where did you get syscall errors? in Qt4 libs execution or compilation?

On most KDE4 packages durring compilation

Gourmand 2008-05-02 13:02

Re: kde4 on os2008
 
what kind of errors? undefined calls? different parameters number or type?

had you close look at these errors?

system calls are C (not ++) calls
may be it's not so difficult fix it
but I have no scratchbox running yet...

wolf08 2008-05-02 17:46

Re: kde4 on os2008
 
I think I said this earlier, but I'm pretty sure that the syscall errors are stemming from the qmake calls done during compilation of kde. Either that or some other binary getting called to make xml files on the fly.

Gourmand 2008-05-02 18:33

Re: kde4 on os2008
 
Without seeing on those errors I cannot tell anything more...

wolf08 2008-05-04 04:22

Re: kde4 on os2008
 
Quote:

Originally Posted by Gourmand (Post 177257)
Without seeing on those errors I cannot tell anything more...

The "errors" are quite cryptic.

For example, here is one 'problem':

Code:

[ 18%] Generating toplevel_interface.cpp, toplevel_interface.h
qemu: Unsupported syscall: 264
qemu: Unsupported syscall: 264
[ 18%] Generating toplevel_interface.moc
[ 19%] Generating favicon_interface.cpp, favicon_interface.h
qemu: Unsupported syscall: 264
qemu: Unsupported syscall: 264
[ 19%] Generating favicon_interface.moc
[ 19%] Generating settings.h, settings.cpp
qemu: Unsupported syscall: 264
qemu: Unsupported syscall: 264
[ 19%] Generating kdeinit_keditbookmarks_automoc.cpp
qemu: Unsupported syscall: 264
qemu: Unsupported syscall: 264
qemu: Unsupported syscall: 264
Generating bookmarkiterator.moc
Generating updater.moc
Generating bookmarkinfo.moc
Generating bookmarklistview.moc

However, in this case, the build keeps on going. In other cases qemu will use 100% cpu and seems to freeze (I've left it going for 8 hours to no avail)

What else do you want me to do to try and troubleshoot?


Oh, and for the others in the thread, I have resumed my efforts for a bit here. I'm working with kde 4.0.3 at the moment so that I can use prepackaged qt 4.3 rather than compile it myself. (I was getting errors with 4.4-rc1)

I'm through kdelibs and kdepimlibs and I'm working on kdebase now.

Gourmand 2008-05-04 06:55

Re: kde4 on os2008
 
bad... in ported version of moc there are instruction codes and/or fucntion calls which qemu cannot execute :-(

Quote:

In other cases qemu will use 100% cpu and seems to freeze
does this happen while executing of moc?

qwerty12 2008-05-04 08:08

Re: kde4 on os2008
 
Quote:

Originally Posted by wolf08 (Post 177739)
The "errors" are quite cryptic.

For example, here is one 'problem':

Code:

[ 18%] Generating toplevel_interface.cpp, toplevel_interface.h
qemu: Unsupported syscall: 264
qemu: Unsupported syscall: 264
[ 18%] Generating toplevel_interface.moc
[ 19%] Generating favicon_interface.cpp, favicon_interface.h
qemu: Unsupported syscall: 264
qemu: Unsupported syscall: 264
[ 19%] Generating favicon_interface.moc
[ 19%] Generating settings.h, settings.cpp
qemu: Unsupported syscall: 264
qemu: Unsupported syscall: 264
[ 19%] Generating kdeinit_keditbookmarks_automoc.cpp
qemu: Unsupported syscall: 264
qemu: Unsupported syscall: 264
qemu: Unsupported syscall: 264
Generating bookmarkiterator.moc
Generating updater.moc
Generating bookmarkinfo.moc
Generating bookmarklistview.moc

However, in this case, the build keeps on going. In other cases qemu will use 100% cpu and seems to freeze (I've left it going for 8 hours to no avail)

What else do you want me to do to try and troubleshoot?


Oh, and for the others in the thread, I have resumed my efforts for a bit here. I'm working with kde 4.0.3 at the moment so that I can use prepackaged qt 4.3 rather than compile it myself. (I was getting errors with 4.4-rc1)

I'm through kdelibs and kdepimlibs and I'm working on kdebase now.

Yes, you are right, it is broken ARM emulation.
I think Aisu has the right idea using sbrsh.

Gourmand 2008-05-04 12:51

Re: kde4 on os2008
 
probably it could help but there is few of RAM on tablet...

Aisu 2008-05-04 13:52

Re: kde4 on os2008
 
Oh, yeah, sbrsh is a no go x_x There is absolutely no way I've found to actually get the damn thing running for more than thirty seconds, Scratchbox and tablet refuse to speak after that. Don't count on anything from my end...

qwerty12 2008-05-04 13:56

Re: kde4 on os2008
 
Quote:

Originally Posted by Aisu (Post 177801)
Oh, yeah, sbrsh is a no go x_x There is absolutely no way I've found to actually get the damn thing running for more than thirty seconds, Scratchbox and tablet refuse to speak after that. Don't count on anything from my end...


:(, thanks for your efforts. I'd try but ssh doesn't work wih my router. I think sbrsh uses ssh anyway.

Aisu 2008-05-04 15:09

Re: kde4 on os2008
 
It doesn't have to go through your router, if you want. I've tried through USB networking, as well as over a wireless network. Same results...

wolf08 2008-05-05 03:48

Re: kde4 on os2008
 
Quote:

Originally Posted by Aisu (Post 177818)
It doesn't have to go through your router, if you want. I've tried through USB networking, as well as over a wireless network. Same results...

I tried once also to get sbrsh working. Utter failure. The documentation was incomplete and seemed to be for an old version of maemo.

Are there any other solutions to cpu emulation? Or, can I set the -march or something to be of a 'lesser' arm cpu that qemu does have fully emulated?

Gourmand 2008-05-05 04:29

Re: kde4 on os2008
 
I cannot yet beleive qemu has wrong hardware emulation...
I'd rather suppose code generation of moc or other Qt parts was wrong, may be unsupported processor code used

did you exam compiler and/or linker options in Makefile for Qt build process?

the moc compiler you use - is it the same as used in http://qt4.garage.maemo.org/ project?

Gourmand 2008-05-05 17:50

Re: kde4 on os2008
 
I think task can be solved. Did anybody read this?

http://blog.haerwu.biz/2008/04/11/nokia-n800-emulation/

They use qemu too. If emulator had serious errors, then Maemo wouldn't work.

this could be improper code generation causing moc and other parts of KDE fail

penguinbait 2008-05-05 18:13

Re: kde4 on os2008
 
http://bugzilla.scratchbox.org/bugzi...bug.cgi?id=315


jussi.hakala@movial.fi changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |LATER




------- Additional Comments From jussi.hakala@movial.fi 2008-02-21 16:41 -------
This is a qemu problem.

A new version of cputransp devkit has been released with additional patches to
qemu 0.8.2, a (not so recent) cvs snapshot of qemu and an additional cvs
snapshot of qemu for arm architecture.

Try again with the first two and the third if your architecture is arm.

Alternatively, you can use sbrsh.

speculatrix 2008-05-05 23:05

Re: kde4 on os2008
 
some time ago when I was cross-building qtopia2 from scratch for ARM on i386 I had these sort of problems, basically the trolltech build scripts built various utilities for ARM processor and then tried to run them on x86 processor.

the way I solved it was to build a complete i386 qt/qtopia suite from scratch, so that I had a working copy of moc, qmake etc. I then went back to the Arm build, moved the arm moc & qmake binaries aside, then copied over the i386 binaries. I changed the ownership and made the files read only, so that the build process couldn't trample over them.

it worked OK for me, although I did have to do some funky environment setting to make it all work, but that's almost certainly less of a problem with qt4 now.

wolf08 2008-05-06 00:45

Re: kde4 on os2008
 
I'm confused. Is there any way for us to test this now?

scratchbox seems like a pretty fragile build to me and I'm worried about mucking around in the qemu emulation.

Quote:

Originally Posted by penguinbait (Post 178162)
http://bugzilla.scratchbox.org/bugzi...bug.cgi?id=315


jussi.hakala@movial.fi changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |LATER




------- Additional Comments From jussi.hakala@movial.fi 2008-02-21 16:41 -------
This is a qemu problem.

A new version of cputransp devkit has been released with additional patches to
qemu 0.8.2, a (not so recent) cvs snapshot of qemu and an additional cvs
snapshot of qemu for arm architecture.

Try again with the first two and the third if your architecture is arm.

Alternatively, you can use sbrsh.


penguinbait 2008-05-06 01:31

Re: kde4 on os2008
 
Quote:

Originally Posted by wolf08 (Post 178260)
I'm confused. Is there any way for us to test this now?

scratchbox seems like a pretty fragile build to me and I'm worried about mucking around in the qemu emulation.


I filed the bug a while ago, to be honest, I am not sure if the build for maemo uses the latest parts. It may be as simple as upgrading scratchbox?

Gourmand 2008-05-06 05:29

Re: kde4 on os2008
 
moc is a kinda of macroprocessor, it is system independed

if the problem persists only with moc - then we can use i386 moc to convert .h to .cpp files

looks like speculatrix talking about similar way...

penguinbait 2008-05-06 23:06

Re: kde4 on os2008
 
Well, I was thinking?? Duh QT gives me the same syscall errors when compiling, thats why I never could do this before. Anyway, this has to have been solved to compile QT, so what did they do?

wolf08 2008-05-07 03:09

Re: kde4 on os2008
 
It looks like scratchbox2 has released a version that actually plays nicely with sbrsh, so I'm going to play around with that. I've already got usb networking and sbrsh installed and working, quick and easy with these links:

https://garage.maemo.org/frs/downloa...7/install.html
http://maemo-sdk.garage.maemo.org/sbrsh-sshfs.html

Hopefully this will help.

Gourmand 2008-05-07 04:05

Re: kde4 on os2008
 
oh, yea... :-))

qwerty12 2008-05-08 19:51

Re: kde4 on os2008
 
Here's summat else, in our n800's, the arch is armv6l. Qemu in sb1 emulates a armv5l. Odd.

Gourmand 2008-05-08 19:58

Re: kde4 on os2008
 
what about sb2?

qwerty12 2008-05-08 20:06

Re: kde4 on os2008
 
Never tried it. I don't like sb2. Also when sb1 is installed, I can't install sb2 on my system at the same time.

Gourmand 2008-05-20 18:47

Re: kde4 on os2008
 
is any advance with kde4 using sb2?

or ALL are playing with preDiablo?

wolf08 2008-05-21 21:12

Re: kde4 on os2008
 
Isn't sb2 still with chinook? I'm using it currently, but I've taken yet another break from my kde4 trials.


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

vBulletin® Version 3.8.8