I still see no reason to compile fakeroot by hand. The cases in which you actually have to do that are extremely rare.
For host, the fakeroot provided with Scratchbox should be enough. At least in most cases it is. For target, use either the fakeroot which is provided with the toolchain (native toolchains) or build it yourself using the instructions provided in the Scratchbox wiki [1] (foreign toolchains). After you've done, fakeroot can be found in /scratchbox/device_tools and you can install it to the target using [2] (provided your current target is configured and using the correct toolchain). Perhaps you could circumvent the mount problem by commenting out the related parts from build script? Or aliasing/linking them to bin/true? Then you could mount the image from outside Scratchbox and still be able to use the build script. [1] http://www.scratchbox.org/wiki/ForeignToolchains [2] sb-conf in -F Jussi Michael Plourde wrote: >> Could it be you're compiling fakeroot as a target binary and executing >> it with whatever cpu transparency (qemu?) you are using? >> > I use source from /scratchbox/packages and i don't use any CPU transparency > cuz the target and the host machine are both ix86. > Is there another way to install fakeroot files or am i missing some step in > building crosstool toolchains ? > >> Is there a particular reason you have to compile fakeroot yourself? It >> is provided with Scratchbox. > > My toolchain (i386-gcc-3.2.3-glibc-2.2.5) is not provided with scratchbox (i > think), so i use Kegel Crosstool which don't have fakeroot (when i setup > target and try install files option Fakeroot, i got the following message: > Fakeroot not found for i386-gcc... target or something like that). > >> Anyway, you can do the mounting from outside Scratchbox, you have just >> to mount it to a directory inside Scratchbox, in this case [1]. If you >> are using sbrsh as a cpu transparency method, you must remember to >> explicitly export the directory you've mounted and use nohide in your >> home directory export options. > > The script for building wisp-dist image mount and umount images of > different kind and i can't just mount it from outside cuz i can't interrupt > script while building. > > > ----- Original Message ----- > From: "Jussi Hakala" <[EMAIL PROTECTED]> > To: <scratchbox-users@lists.scratchbox.org> > Sent: Tuesday, September 19, 2006 9:31 AM > Subject: Re: [Scratchbox-users] Mount .bin image > > >> Could it be you're compiling fakeroot as a target binary and executing >> it with whatever cpu transparency (qemu?) you are using? >> >> Is there a particular reason you have to compile fakeroot yourself? It >> is provided with Scratchbox. >> >> Anyway, you can do the mounting from outside Scratchbox, you have just >> to mount it to a directory inside Scratchbox, in this case [1]. If you >> are using sbrsh as a cpu transparency method, you must remember to >> explicitly export the directory you've mounted and use nohide in your >> home directory export options. >> >> [1] /scratchbox/users/${USER}/home/${USER}/wisp-dist >> >> Jussi >> >> Michael Plourde wrote: >>> Hi, >>> >>> i'm using tagel crosstool 0.38 within scratchbox. I'm trying to build > an >>> wisp-dist image with i386-gcc-3.2.3-glibc-2.2.5 target. Since busybox > was >>> missing to build wisp-dist image, i had install 1.2.1 version. When i > tried >>> mount -o loop image.bin /home/mplourde/wisp-dist, i've got: >>> /usr/lib/libfakeroot/libfakeroot-tcp.so.0 missing. So i had install > fakeroot >>> following the tutorial in scratchbox.org/documentation. >>> Doing: >>> tar xfz /scratchbox/packages/fakeroot_1.4.2.tar.gz >>> cd fakeroot-1.4.2 >>> ./configure \ >>> --prefix=/usr --mandir=/usr/share/man --libdir=/usr/lib/libfakeroot \ >>> --program-suffix=-tcp --with-ipc=tcp --with-dbformat=path >>> make >>> make install >>> make distclean >>> cd fake >>> ../configure \ >>> --prefix=/usr --mandir=/usr/share/man \ >>> --program-suffix=-tcp >>> make >>> make install >>> ln -sf fakeroot-tcp /usr/bin/fakeroot >>> >>> ...but still /usr/lib/libfakeroot/libfakeroot-tcp.so.0 is missing >>> >>> According to documentation libfakeroot-tcp is provide in fake repertory > with >>> make and make install. Since those command produce > /usr/lib/libfakeroot.so.* >>> on my target, i had put a link in /usr/lib/libfakeroot : >>> ln -s /usr/lib/libfakeroot.so.0 > /usr/lib/libfakeroot/libfakeroot-tcp.so.0 >>> Now mount -o loop image.bin /home/mplourde/wisp-dist, send another > error: >>> Could'nt setup loop device >>> >>> What am i missing, is it possible to do mount within scratchbox ? >>> >>> Sincerely, >>> >>> Michael Plourde >>> >>> >>> _______________________________________________ >>> Scratchbox-users mailing list >>> Scratchbox-users@lists.scratchbox.org >>> http://lists.scratchbox.org/cgi-bin/mailman/listinfo/scratchbox-users >> _______________________________________________ >> Scratchbox-users mailing list >> Scratchbox-users@lists.scratchbox.org >> http://lists.scratchbox.org/cgi-bin/mailman/listinfo/scratchbox-users > > _______________________________________________ > Scratchbox-users mailing list > Scratchbox-users@lists.scratchbox.org > http://lists.scratchbox.org/cgi-bin/mailman/listinfo/scratchbox-users _______________________________________________ Scratchbox-users mailing list Scratchbox-users@lists.scratchbox.org http://lists.scratchbox.org/cgi-bin/mailman/listinfo/scratchbox-users