On 6/10/12 7:36 PM, zooloo wrote:
> Hi,
> 
> I am trying to get elinks to work with javascript. Following the advice at 
> http://elinks.cz/documentation/manual.html#ecmascript , I have run
> 
> $ fink install spidermonkey
> $ fink rebuild elinks
> 

(Ideally, this sort of thing should _never_ work.  Fink packages aren't
_supposed_ to change how they build based on what else is installed.  If
it _did_ work it would be regarded as a bug in the package you rebuilt.)

> However, ECMA support in emacs remains disabled, as also indicated by these 
> lines from the rebuild log:
> 
> patch -p1 < /sw/fink/dists/stable/main/finkinfo/web/elinks.patch
> patching file Makefile.config.in
> patching file configure
> ac_cv_path_ASCIIDOC= ac_cv_path_XMLTO= ac_cv_path_JW= ./configure 
> --prefix=/sw --mandir=/sw/share/man --without-gpm --without-lua 
> --without-spidermonkey --disable-fsp --with-openssl=/sw/lib/system-openssl
> 
> Unfortunately, the implications of 
> /sw/fink/dists/stable/main/finkinfo/web/elinks.patch are beyond my 
> comprehension. Is disabling js/ECMA hardcoded somewhere in fink's elinks 
> package? If it is, (how) can I change that? If it is not, does anyone know 
> how to make the elinks build process aware of the spidermonkey libraries 
> that, according to the elinks documentation, should trigger ECMA support 
> being enabled?
> 
> 
> Many thanks in advance for any hints.
> 
> 
> cheers,
> 
> Zoo Loo
> 

$ fink dumpinfo -fconfigureparams elinks
Scanning package description files..........
Information about 5019 packages read in 9 seconds.
configureparams: --prefix=/sw --mandir=/sw/share/man --without-gpm
--without-lua --without-spidermonkey --disable-fsp
--with-openssl=/sw/lib/system-openssl

So our elinks explicitly avoids the use of spidermonkey.

http://finkers.wordpress.com/2009/07/24/creating-local-packages/ may
help you in testing a local modification to elinks.info which uses
spidermonkey by changing the ConfigureParams.
-- 
Alexander Hansen, Ph.D.
Fink User Liaison
My package updates: http://finkakh.wordpress.com/

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Fink-beginners mailing list
[email protected]
List archive:
http://news.gmane.org/gmane.os.apple.fink.beginners
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-beginners

Reply via email to