From owner-freebsd-ports@FreeBSD.ORG Wed May 20 22:17:17 2015 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 29C512A8; Wed, 20 May 2015 22:17:17 +0000 (UTC) Received: from mail-ig0-x22d.google.com (mail-ig0-x22d.google.com [IPv6:2607:f8b0:4001:c05::22d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E6C991E8C; Wed, 20 May 2015 22:17:16 +0000 (UTC) Received: by igbyr2 with SMTP id yr2so114710677igb.0; Wed, 20 May 2015 15:17:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=FcT/g3obv0gVVtKtVV9/Yx+QLX3YngPE5H89XwkQQjI=; b=HtKPmjRXoFWrNimUdMZbrkgKrSN9PIbAd0zY1js02siuEv+qZrhaUNwScrmW6LyPW3 0Ot/B3E32fVSjM+RZ1aAFYs2SAt/fNg+5DbHPQSdrEnSLxApIIO1oJqY0mIEq91qHdQo qCOOYYbAVuf+HFyTf7UUoN5WqsmXv7CxpkNTWLcAVDmeszLjR10uAF0nrn/30i8XwGph eRV66rlAZm2WDLmw1F5ya1wZk9G1WkYVXOj+o+PMQTMZA6jcOv9v5zeb8/f9fiXqajp+ goMQPOX+/Lxk2xIFjOgJ72xULcHqXCLWOZpC8FmVy7MsQ8hhSmv5fLF59Fmj+SHB36lH GjmA== MIME-Version: 1.0 X-Received: by 10.50.138.70 with SMTP id qo6mr1051995igb.15.1432160236274; Wed, 20 May 2015 15:17:16 -0700 (PDT) Received: by 10.64.236.10 with HTTP; Wed, 20 May 2015 15:17:16 -0700 (PDT) In-Reply-To: <20150520184102.GA2200@c720-r276659> References: <20150520131459.GA23645@c720-r276659> <20150520184102.GA2200@c720-r276659> Date: Thu, 21 May 2015 06:17:16 +0800 Message-ID: Subject: Re: www/elinks && JavaScript From: Ben Woods To: Matthias Apitz , =?UTF-8?Q?Beat_G=C3=A4tzi?= , "freebsd-ports@freebsd.org" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 May 2015 22:17:17 -0000 On Thursday, May 21, 2015, Matthias Apitz wrote: > El d=C3=ADa Wednesday, May 20, 2015 a las 06:22:46PM +0300, Beat G=C3=A4t= zi escribi=C3=B3: > > > > I'm trying to use ports/www/elinks and to configure it to understand > > > JavaScript, but it does not; for example this test page > > > > > > elinks http://javatester.org/javascript.html > > > > > > says that JS is not enabled; I think it is. It has it in the options > > > compiled for: > > > > As far as I know elinks uses spidermonkey for javascript. Could > > you please check if spidermonkey is installed and if yes, please check > > if it is recognised during configure. Check for something like > > "ECMAScript (JavaScript)=E2=80=9D. > > $ pkg info spidermonke* > spidermonkey17-1.7.0_1 > > $ pkg info spidermonke* > spidermonkey17-1.7.0_1 > > $ pwd > /usr/ports/www/elinks/work/elinks-0.11.7 > $ grep -i ECMAScript config.* > config.h:/* Define if you want: ECMAScript (JavaScript) support */ > config.h:#define CONFIG_ECMASCRIPT 1 > config.h.in:/* Define if you want: ECMAScript (JavaScript) support */ > config.h.in:#undef CONFIG_ECMASCRIPT > config.log:| #define CONFIG_ECMASCRIPT 1 > config.log:| #define CONFIG_ECMASCRIPT 1 > config.log:| #define CONFIG_ECMASCRIPT 1 > config.log:| #define CONFIG_ECMASCRIPT 1 > config.log:| #define CONFIG_ECMASCRIPT 1 > config.log:| #define CONFIG_ECMASCRIPT 1 > config.log:| #define CONFIG_ECMASCRIPT 1 > config.log:| #define CONFIG_ECMASCRIPT 1 > config.log:| #define CONFIG_ECMASCRIPT 1 > config.log:| #define CONFIG_ECMASCRIPT 1 > config.log:CONFIG_ECMASCRIPT=3D'yes' > config.log:#define CONFIG_ECMASCRIPT 1 > config.status:s,@CONFIG_ECMASCRIPT@,|#_!!_#|yes,g > config.status:s,^\([ #]*\)[^ ]*\([ ]*CONFIG_ECMASCRIPT\)[ > (].*,\1define\2 1 , > > I saw it as well while making it: > > # make > ... > The following feature summary has been saved to features.log > Feature summary: > Documentation Tools ............. Pod2HTML > Manual Formats .................. no > Man Page Formats ................ no > ... > ECMAScript (JavaScript) ......... SpiderMonkey > Browser scripting ............... SpiderMonkey > ... > > Thanks > > matthias > Can you please check if the SPIDERMONKEY option was enabled when your package was built? $ pkg info elinks | grep SPIDERMONKEY It is disabled in the default configuration and therefore in the normal FreeBSD package sets. You may need to compile that one from ports (or better yet your own poudriere) and enable the SPIDERMONKEY option when you do. Regards, Ben --=20 -- From: Benjamin Woods woodsb02@gmail.com