Re: [maemo-developers] Howto: using two scratchbox environments

2007-01-15 Thread Aaron Levinson
On Mon, 15 Jan 2007, Janne Kataja wrote:

 Aaron Levinson wrote:
  The standard maemo 3.0 SDK installation documentation states that it is 
  recommended that previous versions of the SDK be uninstalled before 
  installing the new SDK.  But, it seems reasonable that developers will 
  want to maintain both the 2.0/2.1 and 3.0 installations due to the need to 
  build packages for both the 770 and N800.  
 
 Scratchbox 1.0 can be installed to and run from alternative path, 
 example to /opt/scratchbox , and not just /scratchbox .
 This question has popped up in scratchbox-users mailing list
 
 [Scratchbox-users] Multiple scratchbox installations on the same machine
 http://lists.scratchbox.org/pipermail/scratchbox-users/2006-October/000716.html
 
 Quote:
  Scratchbox versions prior to 1.0 must be installed in /scratchbox, but
  from version 1.0 on, you can install them anywhere.
  
  Multiple installations of versions prior to 1.0 are (obviously) not
  supported.
  
  Just make sure that the legacy branch version is installed in
  /scratchbox and you should be okay.

True, but according to one e-mail to this list (at
http://www.gossamer-threads.com/lists/maemo/developers/14191?search_string=pkg-config;#14191
), there is a bug in the maemo 3.0 SDK install script that prevents the
script from working if scratchbox isn't installed to /scratchbox.

Aaron

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


Re: [maemo-developers] Howto: using two scratchbox environments

2007-01-15 Thread Peter Robinson

The updated maemo 2.2 I understand is essentially 2.1 with updates
required to run it in the same scratchbox a v3 so you won't need 2
installs.

Peter

On 1/15/07, Aaron Levinson [EMAIL PROTECTED] wrote:

On Mon, 15 Jan 2007, Janne Kataja wrote:

 Aaron Levinson wrote:
  The standard maemo 3.0 SDK installation documentation states that it is
  recommended that previous versions of the SDK be uninstalled before
  installing the new SDK.  But, it seems reasonable that developers will
  want to maintain both the 2.0/2.1 and 3.0 installations due to the need
to
  build packages for both the 770 and N800.

 Scratchbox 1.0 can be installed to and run from alternative path,
 example to /opt/scratchbox , and not just /scratchbox .
 This question has popped up in scratchbox-users mailing list

 [Scratchbox-users] Multiple scratchbox installations on the same machine

http://lists.scratchbox.org/pipermail/scratchbox-users/2006-October/000716.html

 Quote:
  Scratchbox versions prior to 1.0 must be installed in /scratchbox, but
  from version 1.0 on, you can install them anywhere.
 
  Multiple installations of versions prior to 1.0 are (obviously) not
  supported.
 
  Just make sure that the legacy branch version is installed in
  /scratchbox and you should be okay.

True, but according to one e-mail to this list (at
http://www.gossamer-threads.com/lists/maemo/developers/14191?search_string=pkg-config;#14191
), there is a bug in the maemo 3.0 SDK install script that prevents the
script from working if scratchbox isn't installed to /scratchbox.

Aaron

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


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


Re: [maemo-developers] Howto: using two scratchbox environments

2007-01-15 Thread Aaron Levinson
On Mon, 15 Jan 2007, Peter Robinson wrote:

 The updated maemo 2.2 I understand is essentially 2.1 with updates
 required to run it in the same scratchbox a v3 so you won't need 2
 installs.
 
 Peter

True, but in the meantime, until 2.2 is available, supposedly by the end
of the month, it is necessary to have two Scratchbox installations.

Aaron

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



Re: [maemo-developers] Howto: using two scratchbox environments

2007-01-14 Thread Janne Kataja

Aaron Levinson wrote:
The standard maemo 3.0 SDK installation documentation states that it is 
recommended that previous versions of the SDK be uninstalled before 
installing the new SDK.  But, it seems reasonable that developers will 
want to maintain both the 2.0/2.1 and 3.0 installations due to the need to 
build packages for both the 770 and N800.  


Scratchbox 1.0 can be installed to and run from alternative path, 
example to /opt/scratchbox , and not just /scratchbox .

This question has popped up in scratchbox-users mailing list

[Scratchbox-users] Multiple scratchbox installations on the same machine
http://lists.scratchbox.org/pipermail/scratchbox-users/2006-October/000716.html

Quote:

Scratchbox versions prior to 1.0 must be installed in /scratchbox, but
from version 1.0 on, you can install them anywhere.

Multiple installations of versions prior to 1.0 are (obviously) not
supported.

Just make sure that the legacy branch version is installed in
/scratchbox and you should be okay.




Janne
--
Janne Kataja, Movial Corporation
Porkkalankatu 13 J, FI-00180 Helsinki
Mobile +358 40 550 9801, Tel +358 9 8567 6400
Fax +358 9 8567 6401
www.movial.fi
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


[maemo-developers] Howto: using two scratchbox environments

2007-01-13 Thread Aaron Levinson
The standard maemo 3.0 SDK installation documentation states that it is 
recommended that previous versions of the SDK be uninstalled before 
installing the new SDK.  But, it seems reasonable that developers will 
want to maintain both the 2.0/2.1 and 3.0 installations due to the need to 
build packages for both the 770 and N800.  No information is provided for 
how to do this, but something in the scratchbox installation document 
alludes to how to make this happen.

Move your existing scratchbox installation to another directory and also
untar the R4 scratchbox files to a different directory.  On my system, I
am using /scratchbox_insts/version number/scratchbox for the different
versions of scratchbox.  At this point, you should no longer have a
/scratchbox directory on your system.

Whenever you want to use a particular version of scratchbox, create a
/scratchbox symbolic link using ln -s that links to the correct scratchbox
directory.  Make sure to run /scratchbox/sbox_ctl stop (if scratchbox is
running) before deleting the symbolic link in order to switch to a 
different installation.

It would be nice to see this mentioned in the maemo 3.0 installation
documentation, because until we have maemo 2.2, developers may find
themselves needing to switch back and forth between the 2.0/2.1 and 3.0
SDKs.

Aaron

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