Active Topics

 


Reply
Thread Tools
Posts: 90 | Thanked: 10 times | Joined on Aug 2007
#1
Has anyone tried installing scratchbox on fedora. I was following the post here:
http://www.progbox.co.uk/wordpress/?p=453

and I get the following when I run the script:
E: This script requires dpkg to install .deb files.

I yum installed debootstrap, but that didnt make any difference.
__________________
machinegrid.com
 
free's Avatar
Posts: 739 | Thanked: 159 times | Joined on Sep 2007 @ Germany - Munich
#2
debootstrap (never remember how it's spelled lol) will grab a complete debian system and put it in a directory.
Then you use chroot to change the current running process root (/) to this directory. At this moment, you run a debian system on your fedora kernel.
And then, you should be able to install everything as if had a debian system.

But I've never tried on fedora. I've used debootstrap several times from debian to debian, works like a charm.

To use debootstrap on a system that has no dpkg binary, you need to tell deboostrap which architecture you want:
su
yum install debootstrap
mkdir /path/debian_testing
debootstrap i386 testing /path/debian_testing http://ftp.debian.org/debian/
echo "proc /path/debian_testing/proc proc none 0 0" >> /etc/fstab
mount proc /path/debian_testing/proc -t proc
cp /etc/hosts /path/debian_testing/etc/hosts

chroot /path/debian_testing /bin/bash

and now you should be in a minimal (100MBytes) debian system
 
Posts: 90 | Thanked: 10 times | Joined on Aug 2007
#3
Thanks, but whats "testing", it says
No such script: /usr/share/debootstrap/scripts/testing


for this:
debootstrap --arch i386 testing /home/bluehash/debian_test

I added the --arch

the /scripts directory has files for breezy, gutsy....
__________________
machinegrid.com
 
Posts: 90 | Thanked: 10 times | Joined on Aug 2007
#4
I tried
debootstrap --arch i386 gutsy /home/bluehash/debian_test

Now when I run the script, it says the same thing. Am I doing anything wrong here?
__________________
machinegrid.com
 
Posts: 24 | Thanked: 1 time | Joined on Dec 2007
#5
I've installed both scratchbox and the maemo SDK using the scripts provided on maemo.org (http://maemo.org/development/sdks/ma...inook_sdk.html) on my Fedora 7 system. The scripts took care of all debian stuff.

I can now run the maemo_hello.c program mentioned on the silentk::cbx33 site although maemo itself does not run properly, I get a lot of qemu errors and the desktop does not appear
 
Posts: 90 | Thanked: 10 times | Joined on Aug 2007
#6
I could also do the same on Fedora7, but since I switched to Fedora8, I'm unable to install it.
__________________
machinegrid.com
 
free's Avatar
Posts: 739 | Thanked: 159 times | Joined on Sep 2007 @ Germany - Munich
#7
Hum you could have said this..

I didn't even know their script embedded debootstrap..
 
Posts: 24 | Thanked: 1 time | Joined on Dec 2007
#8
I wiped Fedora 8 from my laptop and installed Ubuntu 7.10 to see if the SDK will work properly there. And it does without errors. Somehow the SDK is not Fedora friendly....too bad.
 
Reply


 
Forum Jump


All times are GMT. The time now is 08:05.