Reply
Thread Tools
Posts: 237 | Thanked: 193 times | Joined on Feb 2010 @ Brighton, UK
#1
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
 

The Following 3 Users Say Thank You to mr id For This Useful Post:
Posts: 15 | Thanked: 4 times | Joined on May 2010
#2
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
 

The Following 2 Users Say Thank You to aykito For This Useful Post:
Posts: 237 | Thanked: 193 times | Joined on Feb 2010 @ Brighton, UK
#3
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
 
Posts: 237 | Thanked: 193 times | Joined on Feb 2010 @ Brighton, UK
#4
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


 
Forum Jump


All times are GMT. The time now is 13:57.