PDA

View Full Version : Need help-- osso-xterm running problem in scratchbox


chetanknanda
2007-04-24, 13:50
Hi,

This is chetan.I am new to the maemo and i have developed one console based programs of simple threads its works fine in linux and now i want to run same program in maemo. So i have installed osso-xterm package in scratchbox and got the X terminal option in maemo's "Extras" menu.

Now whenever i click that x terminal option . its lauches the x terminal and within a fraction it disappears. and the foolowing error shows on the screen.

maemo_af_desktop[4647]: We could not read lowmem page
stats.
execl: No such file or directory
execl: No such file or directory

I searched everywhere and try all possible solution but still i am not able to sort out this problem.

so can anyone help me to sort out this problem

chetan

chetanknanda
2007-04-25, 09:56
Hi,

I foud the solution of this problem. Because when we are installing the x terminal in the device it create usr/sh but here on desktop it not created when we are installing x terminal

so we have to install:
Install bash (inside scratchbox):
$ fakeroot apt-get install bash

or create the symlink (also inside scratchbox):
$ ln -s /scratchbox/devkits/debian/bin/sh /bin/sh

Choose one, don't do both. Or you could just upgrade to Maemo 3.1 with
the upgrade instructions provided with the installer scripts (no need
to
reinstall).

Regards,
chetan