[OPEN-ILS-DEV] JavaScript SpiderMonkey on FC6

Natasha Stephan stephann at lindahall.org
Fri May 4 10:09:59 EDT 2007


Hi Jeroen,
Okay, I think I understand now!  Your instructions are for installing js by hand, right?
I installed js with yum, and so I am pretty sure that it is installed.  I found it in /usr/bin.  So I don't need to compile anything myself...
Thanks,
Natasha

> -----Original Message-----
> From: open-ils-dev-bounces at list.georgialibraries.org [mailto:open-ils-dev-
> bounces at list.georgialibraries.org] On Behalf Of Jeroen Ruigrok van der
> Werven
> Sent: Friday, May 04, 2007 12:32 AM
> To: open-ils-dev at list.georgialibraries.org
> Subject: Re: [OPEN-ILS-DEV] JavaScript SpiderMonkey on FC6
> 
> -On [20070503 23:50], Natasha Stephan (stephann at lindahall.org) wrote:
> >Quite obviously, I'm still a newbie.  Is downloading, compiling, and
> >linking this C library gonna be WAAAAY over my head?  Can someone take
> >me through it?  I'll put whatever works on the DocuWiki.
> 
> I assume you're downloading
> http://ftp.mozilla.org/pub/mozilla.org/js/js-1.60.tar.gz
> (SpiderMonkey also depends on the nspr library.)
> 
> Then you:
> 
> tar xvfz js-1.60.tar.gz
> 
> cd js/src
> 
> It expects a file under the config directory named:
> 
> uname -s + uname -r .mk
> 
> So for example a FreeBSD machine could be: config/FreeBSD6.2-STABLE.mk
> 
> You can easily see what it expects for your machine by executing the
> following:
> 
> make (or gmake) -f Makefile.ref
> 
> The only problem is is that you need to tweak/alter Makefile.ref and your
> expected config/?.mk file to your system. For example, the Linux_All.mk
> has
> only a OS_CFLAGS += -DPIC -fPIC line, but for a lot of platforms -fpic is
> preferred. PIC is mostly used for m68k and Sparc.
> 
> --
> Jeroen Ruigrok van der Werven <asmodai(-at-)in-nomine.org> / asmodai
> イェルーン ラウフロック ヴァン デル ウェルヴェン
> http://www.in-nomine.org/ | http://www.rangaku.org/
> If I promise you the Moon and the Stars, would you believe it..?


More information about the Open-ils-dev mailing list