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

Breen Mullins breen.mullins at gmail.com
Sun Sep 2 08:44:36 PDT 2007


I've been trying to get ECMA/javascript working with elinks.

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


   i 	spidermonkey	1.60-2	Mozilla JavaScript-C Engine
   i 	spidermonkey-dev	1.60-2	Mozilla JavaScript-C Engine
   i 	spidermonkey-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



More information about the elinks-users mailing list