Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Mar 2011 12:19:22 +0100
From:      Gary Jennejohn <gljennjohn@googlemail.com>
To:        Alex <other@ahhyes.net>
Cc:        freebsd-emulation@freebsd.org
Subject:   Re: linux app wont start...
Message-ID:  <20110323121922.7486bc99@ernst.jennejohn.org>
In-Reply-To: <20ec56e4510387951d43b488b236e1e3@ahhyes.net>
References:  <19271ad0af28730d9f735f955ec63db1@ahhyes.net> <20110323095222.15512vskwxouiqkg@webmail.leidinger.net> <20ec56e4510387951d43b488b236e1e3@ahhyes.net>

next in thread | previous in thread | raw e-mail | index | archive | help

On Wed, 23 Mar 2011 21:17:10 +1100
Alex <other@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@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110323121922.7486bc99>