Go Back   maemo.org - Talk > OS / Platform > Development
 
Register FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
  #1  
Old 2010-11-14, 23:56
mr id mr id is offline
 
Join Date: Feb 2010
Location: Brighton, UK
Posts: 237
Thanks!: 256
Thanked 193 Times in 83 Posts
Default Scratchbox maemo-sdk installer issues Ubuntu Maverick [Workaround]

Hi all,

I've recently done a clean install of Ubuntu Maverick (10.10) 64 bit on my development machine and encountered a few unusual problems in installing the maemo5 sdk with scratchbox.

The main issue seemed to be that between scratchbox 1.0.16 and ubuntu 10.10 the sdk install scripts would fail with:
'no terminal found: xterm'

From http://www.terabyteunlimited.com/kb/article.php?id=454 (thanks to aykito) run the following as root in the host terminal:

Code:
mkdir -p /usr/share/terminfo/x

cd /usr/share/terminfo/x

ln -s /lib/terminfo/x/xterm xterm

Other issues such as needing to set vdso32=0 as a boot line (vdso=0 for non 64 bit setups) rather than a sysctl entry and the extant 'tset no terminal' issue when switching targets in scratchbox (logout and login to scracthbox to work around this) everything seems to be okay.

I've not tested the X86 target as I'm working with audio which isn't supported anyway, so I can't comment on Xephyr integration.

Posted just in case it's of use to anyone else.

cheers

Last edited by mr id; 2010-12-03 at 20:25. Reason: Correct fix from aykito for terminal errors
Reply With Quote
The Following 3 Users Say Thank You to mr id For This Useful Post:
  #2  
Old 2010-12-03, 16:33
aykito aykito is offline
 
Join Date: May 2010
Posts: 15
Thanks!: 2
Thanked 4 Times in 3 Posts
Default Re: Scratchbox maemo-sdk installer issues Ubuntu Maverick [Workaround]

You don't need editing the file.
To solve the problem with the "Error opening terminal: xterm" error follow the instructions at http://www.terabyteunlimited.com/kb/article.php?id=454
Reply With Quote
The Following 2 Users Say Thank You to aykito For This Useful Post:
  #3  
Old 2010-12-03, 16:58
mr id mr id is offline
 
Join Date: Feb 2010
Location: Brighton, UK
Posts: 237
Thanks!: 256
Thanked 193 Times in 83 Posts
Default Re: Scratchbox maemo-sdk installer issues Ubuntu Maverick [Workaround]

Quote:
Originally Posted by aykito View Post
You don't need editing the file.
To solve the problem with the "Error opening terminal: xterm" error follow the instructions at http://www.terabyteunlimited.com/kb/article.php?id=454
Sounds promising, will try and confirm later on. Wish I could have found this when I was searching for solutions.

cheers
Reply With Quote
  #4  
Old 2010-12-03, 20:23
mr id mr id is offline
 
Join Date: Feb 2010
Location: Brighton, UK
Posts: 237
Thanks!: 256
Thanked 193 Times in 83 Posts
Default Re: Scratchbox maemo-sdk installer issues Ubuntu Maverick [Workaround]

Yep, can confirm this works as expected:

In the host's terminal, as root, execute:

mkdir -p /usr/share/terminfo/x

cd /usr/share/terminfo/x

ln -s /lib/terminfo/x/xterm xterm


The scratchbox environment now has a working terminal again - you can change targets, run the installer etc as expected.

Many thanks aykito.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 19:29.