[maemo-developers] Problems when install scratchbox1.0.6

From: Yao Wang yaowang.bupt at gmail.com
Date: Tue Sep 18 07:02:25 EEST 2007
Hi,Miko

   Your suggestion really work!!

   Thanks a lot!

   For anyone who is fresh to scratchbox, I'd like to share my tips as
follows

1)In section 2.2.1 of
http://www.scratchbox.org/documentation/user/scratchbox-1.0/html/installdoc.html,
the line added to source.list should be


*   deb http://scratchbox.org/debian stable main

*2)In Step 4 of section 2.2.1, to add user,you should use

# */scratchbox/sbin/sbox_adduser <username>*



On 9/17/07, Miko Nieminen <miko.nieminen at gmail.com> wrote:
>
>
>
> On 17/09/2007, Yao Wang <yaowang.bupt at gmail.com> wrote:
> >
> >  Hi,everybody,
> >    I am a novice to Maemo. When I finished installation following
> > instructions on http://www.scratchbox.org/documentation/user/scratchbox-1.0/html/installdoc.html
> > and tried to run hello-world program, I met a problem.
> >
> >    The system output is as follows,
> > =========Output from Terminal======================
> > wangyao at debian:/scratchbox$ ./login
> >
> > Welcome to Scratchbox, the cross-compilation toolkit!
> >
> > Use 'sb-menu' to change your compilation target.
> > See /scratchbox/doc/ for documentation.
> >
> > SBOX_DPKG_INST_ARCH not set.
> > [sbox-testNokia: ~] >
> > [sbox-testNokia: ~] > tar xfz /scratchbox/packages/hello- world.tar.gz
> > [sbox-testNokia: ~] > cd hello-world/
> > [sbox-testNokia: ~/hello-world] > ./autogen.sh
> > + aclocal
> > /scratchbox/tools/share/aclocal/pkg.m4:5: warning: underquoted
> > definition of PKG_CHECK_MODULES
> >   run info '(automake)Extending aclocal'
> >   or see http://sources.redhat.com/automake/automake.html#Extending%20aclocal
> >
> > autom4te: cannot create /var/tmp/am4t4419.20614: No such file or
> > directory
> > at /scratchbox/tools/bin/autom4te line 953
> > aclocal: autom4te failed with exit status: 1
> > + autoconf
> > autom4te: cannot create /var/tmp/am4t350.20624: No such file or
> > directory
> > at /scratchbox/tools/autotools/autoconf2.59/bin/autom4te line 953
> > + autoheader
> > autoheader2.50: cannot create /var/tmp/ah9237.20691: No such file or
> > directory
> > at /scratchbox/tools/bin/autoheader2.50 line 126
> > + automake --add-missing --foreign
> > autom4te: cannot create /var/tmp/am4t3564.20696: No such file or
> > directory
> > at /scratchbox/tools/autotools/autoconf2.59/bin/autom4te line 953
> > automake: autoconf failed with exit status: 1
> > + ./configure
> > ./autogen.sh: line 8: ./configure: No such file or directory
> > =========Output from Terminal======================
> >
> > Info on my OS is:
> > Linux debian 2.6.18-4-686 #1 SMP Mon Mar 26 17:17:36 UTC 2007 i686
> > GNU/Linux
> >
> > Additionally, because I can not connect to http://scratchbox.org/debian directly,
> > I downloaded files using a Web Browser via http proxy. The files I
> > downloaded are,
> >
>
> Maybe you could configure apt to use your proxy: https://help.ubuntu.com/community/AptGetHowto#head-09fab4df311ef78d0376d13547043811307c49fa
>
>
>  scratchbox-core_1.0.6_i386.deb
> > scratchbox-devkit-debian_1.0.6_i386.deb
> > scratchbox-devkit-doctools_1.0.6_i386.deb
> > scratchbox-libs_1.0.6_i386.deb
> > scratchbox-toolchain-cs2005q3.2-glibc-arm_1.0.5_i386.deb
> > scratchbox-toolchain-cs2005q3.2-glibc-i386_1.0.5_i386.deb
> > scratchbox-toolchain-host-gcc_1.0.6_i386.deb
> > scratchbox-toolchain-i686-linux-ct4.1.0-2.3.6tls_1.0.4_i386.deb
> >
>
>
>  Then, I used dpkg -i package_name.deb to install all these packages.
> > When I finished installation, the installation procedure did not ask me
> > for user account as section 2.2.1.4 in
> > http://www.scratchbox.org/documentation/user/scratchbox-1.0/html/installdoc.htmlsays.
> >
>
> I have similar problem always when installing scratchbox from packages. I
> have to run "sudo dpkg-reconfigure scratchbox-core" after installing package
> to get system configured properly.
>
> Btw, you can start scratchbox session just by running command
> "scratchbox", command is available if you are a member of sbox group
> (default name for the group) and you installed scratchbox from packages.
>
> Thank you in advance for your help.
> >
> >
> > --
> >           Sincerely yours,
> >
> > Yao Wang
> >
> >
> > Gtalk: wangyao.bupt at gmail.com
> > MSN: wangyao_bupt at hotmail.com
> >
> > _______________________________________________
> > maemo-developers mailing list
> > maemo-developers at maemo.org
> > https://lists.maemo.org/mailman/listinfo/maemo-developers
> >
> >
>
>
> --
> Miko Nieminen
> miko.nieminen at iki.fi
> miko.nieminen at gmail.com
> miko.nieminen at nomovok.com




-- 
          Sincerely yours,

Yao Wang
Gtalk: wangyao.bupt at gmail.com
MSN: wangyao_bupt at hotmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maemo.org/pipermail/maemo-developers/attachments/20070918/211d37fd/attachment.htm 
More information about the maemo-developers mailing list