Re: [elinks-users] elinks-current + spidermonkey -> bus error MacOS

2007-09-02 Thread Breen Mullins
* Thomas Adam <[EMAIL PROTECTED]> [2007-09-02 16:50 +0100]:

>On 02/09/07, Breen Mullins <[EMAIL PROTECTED]> wrote:
>Doesn't Fink provide a newer version?  Last time I checked, the
>libraries were up to 1.8.1.4

Hmm. I ran a self-update before installing spidermonkey. Have to 
look into that.
>
>(Small world, eh, Breen?)

Indeed! Thanks for the hint.

Breen
-- 
Breen Mullins
Menlo Park, California
___
elinks-users mailing list
elinks-users@linuxfromscratch.org
http://linuxfromscratch.org/mailman/listinfo/elinks-users


Re: [elinks-users] elinks-current + spidermonkey -> bus error MacOS

2007-09-02 Thread Thomas Adam
On 02/09/07, Breen Mullins <[EMAIL PROTECTED]> wrote:
> I've been trying to get ECMA/javascript working with elinks.
>
> I'm running Mac OS 10.3.9. I installed spidermonkey from fink:
>
>
>ispidermonkey1.60-2  Mozilla JavaScript-C Engine

Doesn't Fink provide a newer version?  Last time I checked, the
libraries were up to 1.8.1.4

(Small world, eh, Breen?)

-- Thomas Adam
___
elinks-users mailing list
elinks-users@linuxfromscratch.org
http://linuxfromscratch.org/mailman/listinfo/elinks-users


[elinks-users] elinks-current + spidermonkey -> bus error MacOS

2007-09-02 Thread Breen Mullins
I've been trying to get ECMA/javascript working with elinks.

I'm running Mac OS 10.3.9. I installed spidermonkey from fink:


   ispidermonkey1.60-2  Mozilla JavaScript-C Engine
   ispidermonkey-dev1.60-2  Mozilla JavaScript-C Engine
   ispidermonkey-shlibs 1.60-2  Mozilla JavaScript-C Engine

(This needs a hack to configure, which doesn't know about the fink
default install location in /sw:


--- configure.orig  Sun Sep  2 06:52:19 2007
+++ configure   Sun Sep  2 06:52:51 2007
@@ -17932,7 +17932,7 @@
if test ! -d "$withval"; then
withval="";
fi
-   for spidermonkeydir in "$withval" "" /usr /usr/local /opt/spidermonkey 
/opt/js; do
+   for spidermonkeydir in "$withval" "" /usr /usr/local /opt/spidermonkey 
/opt/js /sw; do
for spidermonkeyinclude in "/include" "/include/js" 
"/include/smjs" "/include/mozjs"; do
for spidermonkeylib in js smjs mozjs; do
if test "$cf_result" = no &&
)

I get a big warning at the end of the make:


gcc: unrecognized option `-rdynamic'
ld: warning suggest use of -bind_at_load, as lazy binding may result in errors 
or different symbols being used
symbol _poll used from dynamic library /sw/lib/libnspr4.1.dylib(unix.o) not 
from earlier dynamic library /usr/lib/libSystem.B.dylib(poll.o)

and running the resulting binary gives a bus error. 
Looks like a conflict, but I don't know what to do from here. Advice is 
welcome. Thanks!

Breen

-- 
Breen Mullins
Menlo Park, California
___
elinks-users mailing list
elinks-users@linuxfromscratch.org
http://linuxfromscratch.org/mailman/listinfo/elinks-users