Reply
Thread Tools
Posts: 3,428 | Thanked: 2,856 times | Joined on Jul 2008
#1
Can anyone help point me in the direction to getting a deblet-like base into a scratchbox or similar environment??

I run an Ubuntu box .. trying to setup the maemo scratchbox didn't quite work right and I got a bunch of errors.. so I added debian's repo's and removed the hildon stuff from it and tried reloading everything out of the debian repo's but there is some software that refuses to load right in there..

Basically - I can't compile kdebase 4.1 on the tablet. It gets to 31%; somewhere in konqmain.o while building konqueror.. and it locks up and reboots.. the processor just can't handle the compile.

So I would like to find some way to use my desktop's processor to get this software compiled for the ARMEL and then just load the deb's into my tablet.

This is the last step in getting a basic, fundamental KDE 4.1 working without all the goodies in it.. and it's really getting on my nerves that it gets 1/3rd of the way done and then just reboots. I even tried running a nice -n19 on it to make it the least prioritize process and it still crashes.

Any suggestions?
__________________
If I've helped you or you use any of my packages feel free to help me out.
-----------------------------------------------------------------------------------
Maintaining:
pyRadio - Pandora Radio on your N900, N810 or N800!
 
Stskeeps's Avatar
Posts: 1,671 | Thanked: 11,478 times | Joined on Jun 2008 @ Warsaw, Poland
#2
 
Posts: 3,428 | Thanked: 2,856 times | Joined on Jul 2008
#3
Yeah I did that.. I'm starting over and trying again.. but I get a lot of errors when it tried to upgrade/update things like the apt package itself.. the debian-keyring package.. I can't install aptitude for nothing..

But I don't start with a rootstrap..which might be a problem.. I haven't actually tried a rootstrap yet though.. I copy over the files with the sb-menu command.. but I'll try a rootstrap if this doesn't work again...
__________________
If I've helped you or you use any of my packages feel free to help me out.
-----------------------------------------------------------------------------------
Maintaining:
pyRadio - Pandora Radio on your N900, N810 or N800!
 
Posts: 3,428 | Thanked: 2,856 times | Joined on Jul 2008
#4
Well.. I had to totally screw around with almost everything that scratchbox had setup filesystem wise.. had to get the upgraded libc's and g++ and crap all loaded.. and I started with Qole's rootfs he made for using his image on the partition instead of a .img file ... not a straight deblet but close enough once I added SID and experimental to the repo's..

Went through my script that gets everything installed/ready for kde compiling with no problems.. and after 3 days of screwing with it it's currently making a real good pretend at compiling kdebase for me.. 5% so far.

I'll be entertained to see if the binary actually works on the tablet.. (so far all the tablet's installed inside of it...)
__________________
If I've helped you or you use any of my packages feel free to help me out.
-----------------------------------------------------------------------------------
Maintaining:
pyRadio - Pandora Radio on your N900, N810 or N800!
 
qole's Avatar
Moderator | Posts: 7,109 | Thanked: 8,820 times | Joined on Oct 2007 @ Vancouver, BC, Canada
#5
For future reference, and to save you some time downloading, you can use my minimal Debian rootfs which is 110MB (instead of 272MB), and has all the basics installed (including stuff like locales, etc) without any of the application fluff.

EDIT: I have even a smaller one, 43MB, here. But it is really only the rootfs you get after doing a bootstrap.

EDIT (Long after the fact): I have deleted the minimal Debian rootfs, but I have a better new one now, everything installed (except apps) and only about 54MB.

basic-debian-chroot-fs.tar.bz2

I hope this compiles for you! This'll be a big deal. You should try for a free N810
__________________
qole.org --- twitter --- Easy Debian wiki page
Please don't send me a private message, post to the appropriate thread.
Thank you all for your donations!

Last edited by qole; 2008-09-15 at 03:32. Reason: old file gone, new file instead
 
Posts: 3,428 | Thanked: 2,856 times | Joined on Jul 2008
#6
Good point.. I was just so frustrated at trying to get hte built-in scratchbox debian to work that I ended up trying to SCP my entire mmc1 from my tablet over.. which then caused all kinds of other problems (i'd venture exactly the same problems Brent was seeing when he just tried to copy the FS over)... and finally I just gave up and the first tarball I could think of was that one lol.

I prolly coulda used any of John's, yours, whatever .. just something to get a working debian base.
__________________
If I've helped you or you use any of my packages feel free to help me out.
-----------------------------------------------------------------------------------
Maintaining:
pyRadio - Pandora Radio on your N900, N810 or N800!
 
Posts: 3,428 | Thanked: 2,856 times | Joined on Jul 2008
#7
Well good news.,.. it compiled.. installed on the tablet and I got no errors...

Not sure how good the binaries are... was having issues.. it failed to launch a kdestartupconfig4 .. and the way the desktop looks and the fact the mesa packages were required I think kde4 is trying to use 3d support from somewhere to make things "fancy"... I never made it to a desktop and then my SD card got corrupted... Im starting over from a fresh deblet install; gonna install all my made binaries and apt-get -f for the rest of the dependencies... see if it helps anything.

So far it's look good for KDE.. and scratchbox compiling for debian is awesome (gonna start on the rest, kdegames; multimedia; etc). I need to find a way, if it is, to disable the 3d stuff too..
__________________
If I've helped you or you use any of my packages feel free to help me out.
-----------------------------------------------------------------------------------
Maintaining:
pyRadio - Pandora Radio on your N900, N810 or N800!
 
qole's Avatar
Moderator | Posts: 7,109 | Thanked: 8,820 times | Joined on Oct 2007 @ Vancouver, BC, Canada
#8
That sucks about the SD card corruption. I've noticed that happens more with ext2 partitions, I've gotta be pretty religious with the fsck to keep things from derailing. I think we're just being really hard on the poor cards when we use them this way.

And remember to use the software rendering for mesa. You've gotta be specific about installing the software rendering, it tries to install hardware accelerated mesa by default. I mentioned it in that other thread.
__________________
qole.org --- twitter --- Easy Debian wiki page
Please don't send me a private message, post to the appropriate thread.
Thank you all for your donations!

Last edited by qole; 2008-08-15 at 05:54.
 
Posts: 3,428 | Thanked: 2,856 times | Joined on Jul 2008
#9
All my problems were PEBKAC.... I had moved around my home drive from the new one to an old one before I booted and forgot to change my user account 29999 ... so that's why I was getting errors and no desktop - user didn't have rights to his own drive.

Did a complete reload of deblet; installed KDE 4.1 minimal; booted and it works.. performance is horrible.. I am going to update my original thread. At least I know my scratchbox environment works.. now I can try and compile anything missing in the debian repo's... there is still some limitations though it appears with some programs.. some of the kde ones won't compiled because they make calls the arm processor can't handle - should be fixable.. but seeing how kde runs now I don't think I'll put in the effort unless asked.
__________________
If I've helped you or you use any of my packages feel free to help me out.
-----------------------------------------------------------------------------------
Maintaining:
pyRadio - Pandora Radio on your N900, N810 or N800!
 
b-man's Avatar
Posts: 549 | Thanked: 502 times | Joined on Feb 2008 @ Bowling Green Ohio (united states)
#10
Originally Posted by fatalsaint View Post
now I can try and compile anything missing in the debian repo's
Cool, glad to see you have everything up and allmost running properly. I do have some software that i'm having truble compileing, could you try theas out?
(i sadly don't have scratchbox running at the moment and have ben using the command line: gcc, mono, apt, dpkg, ect.. ) here's my short list:

Emelfm2 ~ from ubuntu
qemu
python-gconf
dosemu

I've ben constantly trying to compile the sorce but have had no luck so far.
__________________
I'm an advanced user and a bit of a modder.
----------------------------------------------
I am involved with Mer, Deblet, and NITdroid.
My ports/creations/hacks: GNOME (for Deblet), Cdeb2», Ubuntu, playable flash games in the "Get Started" app, DBS, ect...


enhanced fedora port has been canceled in favor of NITDebian (TBA)

Last edited by b-man; 2008-08-15 at 23:20.
 
Reply

Tags
debian, deblet

Thread Tools

 
Forum Jump


All times are GMT. The time now is 20:15.