From owner-freebsd-emulation@FreeBSD.ORG Wed Mar 23 11:47:28 2011 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6A956106566B for ; Wed, 23 Mar 2011 11:47:28 +0000 (UTC) (envelope-from gljennjohn@googlemail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id EF7AE8FC17 for ; Wed, 23 Mar 2011 11:47:27 +0000 (UTC) Received: by fxm11 with SMTP id 11so8754279fxm.13 for ; Wed, 23 Mar 2011 04:47:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:date:from:to:cc:subject:message-id:in-reply-to :references:reply-to:x-mailer:mime-version:content-type :content-transfer-encoding; bh=5b+pCCH1lgQ8AuRcpQi4oaq2leE3kxrr3Wu52txVEZk=; b=vGaEoWHTIZxy9p/H21W0GfEq2mXpaNKCPgkfbt8TXIIZwE+b8S+6XtHr8+FunFgXtG 11TW83qDFKT3CH1FZEmgDVmff86q+OO4e6j8kn3PXF6KHXmqrpSSdAnHIi4cFi6lRZDE TFgKYd21CZo2wjOm4nquh1azMTIYPBfONdYXs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=date:from:to:cc:subject:message-id:in-reply-to:references:reply-to :x-mailer:mime-version:content-type:content-transfer-encoding; b=VYSqykTj/QEQPtfD3qPhT0mwPyHsegth8T4NdEasVNOzPdnRpNRp/CGrPWWaEsmmSf BKDw6vy3PzhpPIj9mQOSiMdGquwyo6qqAMzeLmJOZPpGeFYxcNttbQ/Vmap4Xaj24lM8 1jSqIoXEdOhcV7x7FI92D3P+6+LyA/LPSobS8= Received: by 10.223.6.198 with SMTP id a6mr1320157faa.128.1300879164068; Wed, 23 Mar 2011 04:19:24 -0700 (PDT) Received: from ernst.jennejohn.org (p578E39EF.dip.t-dialin.net [87.142.57.239]) by mx.google.com with ESMTPS id j12sm980044fax.33.2011.03.23.04.19.23 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 23 Mar 2011 04:19:23 -0700 (PDT) Date: Wed, 23 Mar 2011 12:19:22 +0100 From: Gary Jennejohn To: Alex 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> X-Mailer: Claws Mail 3.7.8 (GTK+ 2.18.7; amd64-portbld-freebsd9.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-emulation@freebsd.org Subject: Re: linux app wont start... X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: gljennjohn@googlemail.com List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Mar 2011 11:47:28 -0000 On Wed, 23 Mar 2011 21:17:10 +1100 Alex 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