linux app wont start...

Gary Jennejohn gljennjohn at googlemail.com
Wed Mar 23 11:47:28 UTC 2011


On Wed, 23 Mar 2011 21:17:10 +1100
Alex <other at ahhyes.net> wrote:

>  I tried changing the first line to use the /compat/linux/bin/sh shell. 
>  made no difference. I added set -x:
> 
>  [game at srv ~/bf2]$ ./start.sh
>  + MACH=''
>  + uname -m
>  + MACH=ia-32
>  + [ -d pb ]
>  + pwd
>  + BINARY_DIR=/usr/home/game/bf2/bin
>  + [ -d /usr/home/game/bf2/bin/ia-32 ]
>  + BINARY_DIR=/usr/home/game/bf2/bin/ia-32
>  + export LD_LIBRARY_PATH=/usr/home/game/bf2/bin/ia-32
>  + exec /usr/home/game/bf2/bin/ia-32/bf2
>  Error opening terminal: xterm.
> 
>  I'm lost :/ I am still new to linux emulation in freebsd, so please 
>  bear with me if my questions seem silly. :>
> 

Perhaps the binary is actually trying to start an xterm?  There's no
xterm under my /compat/linux, but the FreeBSD xterm should be used in
that case.

Or, it really is looking for termcap, which isn't installed under my
/compat/linux either.  You could try copying /usr/share/misc/termcap to
/compat/linux/etc and see what happens.  I'm not sure where Linux looks
for termcap.

-- 
Gary Jennejohn


More information about the freebsd-emulation mailing list