Re: Install/Run Issues With Scratchbox

2008-08-06 Thread Eero Tamminen
Hi,

ext Dr. Nicholas Shaw wrote:
> There are the packages (Chinook) that I installed  (note there doesn't
> appear to be a compiler):
...
> . scratchbox-toolchain-cs2005q3.2-glibc2.5-arm 1.0.7.2
> . scratchbox-toolchain-cs2005q3.2-glibc2.5-i386 1.0.7

These are compilers for arm and x86 scratchbox targets.

Arm version is a cross-compiler and x86 compiler just is built
so that the binaries built against it link to /lib & /usr/lib[1].

[1] unlike binaries built with host-gcc toolchain which links libraries
 from directories that are available for targets regardless of
 whether they are ARM or x86.  Host-gcc is intended for building
 your own build tools in case ARM ones are too slow.  Host-gcc
 built binaries should be installed under /host_usr/ directory
 that doesn't change when switching scratchbox target with the
 sb-conf command.


[...]
> Ok, so manual install doesn't appear to have worked so I once again tried
> the install script.  BTW, I'm running Debian 4R3 and I installed gcc/g++
> afterwards and I tested it by compiling a program and it works.

The scratchbox-toolchain packages contain both gcc & g++.

If you install native (arm) compiler toolchain to your ARM scratchbox
target instead of using scratchbox-toolchain cross-compiler, your
source builds will be much slower.


- Eero
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Install/Run Issues With Scratchbox

2008-07-29 Thread Dr. Nicholas Shaw
All, 

 

In advance, I apologize for the length of this e-mail but I wanted to make
sure you all have all the details of what I've done to get scratchbox
up-and-running.

 

I decided to give scratchbox another shot.  Before re-installing using the
install script, I tried once more to create a new target (test), I'm
concerned that what shows on my screen is not what shows in the demo screen
(installdoc) and I'm wondering if this could be part of my problem:

 

. Installdoc:   arm-gcc-., i686-gcc-. (these, I
know, are compilers)

. My Scratchbox:  cs2005q3.2-glibc2.5-arm,
cs2005q3.2-glibc2.5-i386 (these appear to be lib files but not the actual
compiler)

 

 

There are the packages (Chinook) that I installed  (note there doesn't
appear to be a compiler):

 

. scratchbox-core 1.0.8

. scratchbox-libs 1.0.8

. scratchbox-devkit-cputransp 1.0.3

. scratchbox-devkit-debian 1.0.9

. scratchbox-devkit-doctools 1.0.7

. scratchbox-devkit-maemo3 1.0.1

. scratchbox-devkit-perl 1.0.4

. scratchbox-toolchain-cs2005q3.2-glibc2.5-arm 1.0.7.2

. scratchbox-toolchain-cs2005q3.2-glibc2.5-i386 1.0.7

 

These are packages stated in INSTALL.txt for Chinook and what, I believe,
the install script installs.  I have VDSO disabled via /etc/sysctl.conf.

 

Ok, so manual install doesn't appear to have worked so I once again tried
the install script.  BTW, I'm running Debian 4R3 and I installed gcc/g++
afterwards and I tested it by compiling a program and it works.

 

When I ran the install script, I ran "sh maemo-sdk-install_4.0.1.sh -y" and
for package selection chose 4 (Runtime Environment + All Dev and Dbg
Packages).  For "Install Closed Nokia Binaries" I chose "Yes".  Oh, yes, and
I accepted the license and installation began.

 

As it started to run I received an error (this is my usual error with the
install script): "Failed to fetch
http://repository.maemo.org/dists/chinook/non-free/binary-armel/Packages.gz
Sub-process gzip returned an error code (1) followed by:

 

E: Some index files failed to download, they have been ignored, or old ones
used instead.

E: Unable to run 'apt-get update' on the target.

E: Please correct any network problems.

E: Scratchbox login returned error 100.

 

When I kept getting this the first few times, I manually downloaded these
files, and followed the install process for 'other Linux'.  This process
culminates in running "run_me_first.sh" and upon completion the file
".run_me_first_done" was created.  Thus, based upon the instructions, I've
done everything.  What am I missing?

 

Any help will be greatly appreciated! J

Thanks,

 

Nick.

 

___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers