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
> [email protected]
> http://lists.scratchbox.org/cgi-bin/mailman/listinfo/scratchbox-users
_______________________________________________
Scratchbox-users mailing list
[email protected]
http://lists.scratchbox.org/cgi-bin/mailman/listinfo/scratchbox-users