Click here to get back home

Problems building Javascript-1.00 on Win32 system

 HomeNewsGroups | Search | About
 comp.lang.perl.modules    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Problems building Javascript-1.00 on Win32 system Mark 11-11-2006
Posted by Mark on November 11, 2006, 9:59 pm
Please log in for more thread options


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.




Posted by Sisyphus on November 12, 2006, 12:18 am
Please log in for more thread options



> 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



Similar ThreadsPosted
building GD using a locally-installed libgd (old libgd also present on system) November 10, 2006, 11:54 am
Win32::GUI newbie question re dynamic GUI building October 6, 2005, 8:44 pm
Problems installing Win32-Setupsup, Win32-CtrlGUI October 10, 2004, 12:31 am
Problems while installing win32::api May 15, 2007, 4:34 pm
system return value? January 26, 2007, 5:52 pm
Question about building modules on W2K September 24, 2004, 7:09 am
Problem building DBD::Oracle on 64 bit solaris April 13, 2005, 2:51 pm
ld synbol errors building XML::Parser on AIX 5.2 June 30, 2005, 2:10 pm
Building Math::Pari using Sun Studio 11 October 16, 2006, 11:46 am
Building Text::Iconv on Windows September 30, 2007, 9:58 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap