Problems building Javascript-1.00 on Win32 system

Problems building Javascript-1.00 on Win32 system

am 12.11.2006 03:59:07 von mark

Good evening.

Has anyone here successfully built the Javascript-1.00 module on a Win32
system?

I built the SpiderMonkey Javascript engine (successfully, I think) and
installed
the DLL in my path. Next I created the Javascript-1.00 makefile and ran
Nmake.
Nmake stops with the following error:

makefile(922) : fatal error U1086: inference rule cannot have dependents


So I visited line 922 and found the following:

.._JavaScript.c JavaScript.c : $(XSUBPPDEPS)


Some investigation into error U1086 suggests that there should be a carriage
return after the colon, like so:

.._JavaScript.c JavaScript.c :
$(XSUBPPDEPS)

(I also tried putting a semicolon after the colon).

After either of these modifications, nmake goes on its merry way
until it ultimately fails on a link error, "cannot open input file
"JavaScript.obj"."

I cannot find JavaScript.c or JavaScript.obj anywhere in the project files
for
SpiderMonkey or Javascript-1.00.

Can anyone tell me what I am missing, or what I am doing wrong?

Thanks
-Mark


Running Mkbootstrap for JavaScript ()
C:\Perl\bin\perl.exe -MExtUtils::Command -e chmod 644 JavaScript.bs
link -out:blib\arch\auto\JavaScript\JavaScript.dll -dll -nologo -nodefaultlib
-debug -opt:re
f,icf -libpath:"C:\Perl\lib\CORE" -machine:x86 JavaScript.obj
C:\Perl\lib\CORE\perl58.lib C:\VS6
\VC98\lib\oldnames.lib C:\VS6\VC98\lib\kernel32.lib
C:\VS6\VC98\lib\user32.lib C:\VS6\VC98\lib\gdi32
..lib C:\VS6\VC98\lib\winspool.lib C:\VS6\VC98\lib\comdlg32.lib
C:\VS6\VC98\lib\advapi32.lib C:\VS6\V
C98\lib\shell32.lib C:\VS6\VC98\lib\ole32.lib C:\VS6\VC98\lib\oleaut32.lib
C:\VS6\VC98\lib\netapi32.
lib C:\VS6\VC98\lib\uuid.lib C:\VS6\VC98\lib\ws2_32.lib
C:\VS6\VC98\lib\mpr.lib C:\VS6\VC98\lib\winm
m.lib C:\VS6\VC98\lib\version.lib C:\VS6\VC98\lib\odbc32.lib
C:\VS6\VC98\lib\odbccp32.lib C:\VS6\VC9
8\lib\msvcrt.lib -def:JavaScript.def
LINK : fatal error LNK1181: cannot open input file "JavaScript.obj"
NMAKE : fatal error U1077: 'link' : return code '0x49d'
Stop.

Re: Problems building Javascript-1.00 on Win32 system

am 12.11.2006 06:18:05 von Sisyphus

"Mark" wrote in message
news:1163300344.103740@bubbleator.drizzle.com...
> Good evening.
>
> Has anyone here successfully built the Javascript-1.00 module on a Win32
> system?
>

There's a ppm for it at the bribes rep (so *someone* has apparently managed
to build it):

ppm install http://www.bribes.org/perl/ppm/JavaScript.ppd

Cheers,
Rob