missing spidermonkey development headers

Mark Duling mark.duling at biola.edu
Fri Oct 20 09:27:22 PDT 2006


Sergey Jin' Bostandzhyan <jin at mediatomb.org> on Friday, October 20, 2006
at 7:23 AM -0800 wrote:
>I am porting my project to Darwin and I have encountered a problem with
>the
>Spidermonkey port. It does not install all required headers.
>
>After "port install spidermonkey" I only had jsapi.h and jsautocfg.h, in
>reality there should be much more (you can easily see that jsapi.h
>includes
>"jspubtd.h" and so on).
>
>Problem encountered on Darwin 7.9.0
>
>Any chance this will be fixed?

This port doesn't use the Makefile to install the files (destroot). 
Rather the port itself has copy statements, and a brief glance looks like
it copies these files:

js  -> bin
jsapi.h, jsautocfg.h -> include/spidermonkey
libjs.a -> lib

Perhaps it should use the Makefile to install the files.  Something like
this.

destroot {
	make -f Makefile.ref install DESTDIR=${destroot} LIBDIR=${prefix}/lib
}

But that is a pure wild guess because I know nothing about SpiderMonkey. 
You can file a tcket on it in Trac.  But it would be best if you can
either hack the port so it works for you and attach a patch for the
maintainer to  evaluate, or at least tell him what files are missing.

Mark




More information about the macports-users mailing list