Skip Menu |

This queue is for tickets about the JavaScript CPAN distribution.

Report information
The Basics
Id: 34682
Status: open
Priority: 0/
Queue: JavaScript

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 1.05
Fixed in: (no value)



Subject: Can't handle "ccache cc" compiler
My perls are built with "ccache cc", so $Config::Config{cc} is also setup to this value. However, it seems there's a check in JavaScript's Makefile.PL which causes the following error: Can't exec "ccache cc": No such file or directory at Makefile.PL line 167, <STDIN> line 3. Probably the check should be smart enough to detect this. Regards, Slaven
Subject: Re: [rt.cpan.org #34682] Can't handle "ccache cc" compiler
Date: Fri, 9 May 2008 14:50:26 +0200
To: bug-JavaScript [...] rt.cpan.org
From: Claes Jakobsson <claes [...] versed.se>
Hi, On 4 apr 2008, at 22.16, Slaven_Rezic via RT wrote: Show quoted text
> My perls are built with "ccache cc", so $Config::Config{cc} is also > setup to this value. However, it seems there's a check in JavaScript's > Makefile.PL which causes the following error: > > Can't exec "ccache cc": No such file or directory at Makefile.PL line > 167, <STDIN> line 3.
I belive this is the same issue that caused failure on several other platforms even where $Config{cc} was just set to gcc. Can you please test with 1.08 in your environment and see if it works. Thanks, Claes
Subject: Re: [rt.cpan.org #34682] Can't handle "ccache cc" compiler
Date: 10 May 2008 23:15:27 +0200
To: bug-JavaScript [...] rt.cpan.org
From: Slaven Rezic <slaven [...] rezic.de>
"Claes Jakobsson via RT" <bug-JavaScript@rt.cpan.org> writes: Show quoted text
> <URL: http://rt.cpan.org/Ticket/Display.html?id=34682 > > > Hi, > > On 4 apr 2008, at 22.16, Slaven_Rezic via RT wrote:
> > My perls are built with "ccache cc", so $Config::Config{cc} is also > > setup to this value. However, it seems there's a check in JavaScript's > > Makefile.PL which causes the following error: > > > > Can't exec "ccache cc": No such file or directory at Makefile.PL line > > 167, <STDIN> line 3.
> > I belive this is the same issue that caused failure on several other > platforms even where $Config{cc} was just set to gcc. Can you please > test with 1.08 in your environment and see if it works. >
This is the "perl Makefile.PL" output now: Is your SpiderMonkey compiled with JS_THREADSAFE (most things will fail if you answer wrong)? [y/N] y Is your SpiderMonkey compiled with support for unicode (t/23-unicode.t will fail if you answer wrong) ? [y/N] [N] Do you want support for E4X (requires SpiderMonkey > 1.5) ? [y/N] [N] In file included from test_js.c:2: JavaScript_Env.h:9:19: jsapi.h: No such file or directory JavaScript_Env.h:10:22: jsdbgapi.h: No such file or directory JavaScript_Env.h:11:22: jsinterp.h: No such file or directory JavaScript_Env.h:12:19: jsfun.h: No such file or directory JavaScript_Env.h:13:19: jsobj.h: No such file or directory JavaScript_Env.h:14:19: jsprf.h: No such file or directory JavaScript_Env.h:15:21: jsscope.h: No such file or directory Failed compiling test_js.c. ABORTING FreeBSD's lang/spidermonkey port is installed on this system. BSDs traditionally install into /usr/local and I suspect that -I/usr/local/include is not used here, so things are failing. Additionally, from all the listed .h files only jsapi.h is installed at all. Regards, Slaven -- Slaven Rezic - slaven <at> rezic <dot> de tkrevdiff - graphical display of diffs between revisions (RCS, CVS or SVN) http://ptktools.sourceforge.net/#tkrevdiff