|
From: C E M. <c.e...@ma...> - 2017-07-10 18:44:28
|
Windows XP, VS6, OpenJade 1.3.2, OpenSP 1.5.1/2. I want to run the PERL W3c Validator which requires the modulue SGML::Parser::OpenSP, which in turn requires OpenSP 1.5.2, but so many problems ... I've found the downloadable sources for OpenJade 1.3.2 and OpenSP 1.5.1, and the binaries for OpenSP 1.5.2, but originally not the source files for OpenSP 1.5.2 (there is a broken link on the OpenJade web site), but I've since found them at Source Forge. I tried putting the ready built OpenSP 1.5.2 binaries in my Perl\site\bin folder, but the PERL module build errors out because it can't find the header files for the binaries. If I take them from the OpenSP 1.5.2 source, and put them in Perl\site\include, other errors follow, as appended below. If I try and compile either OpenSP 1.5.2 or OpenJade 1.3.2 by running the batch file build-win32.bat, I get the errors appended below. AIUI, if you are running Apache 64-bit, you can't call a 32-bit module, but there seems to be no way to build these projects as available for download on any version of Windows, even 32-bit, let alone a current one such as Windows 7 64-bit with a recent version of Visual Studio. I'm not a particular fan of either Windows or Linux and don't wish to get involved in pointless flame wars about the pros and cons of either, but Windows is the most popular operating system on the planet, so it doesn't make any sense at all that apparently the W3c validator can't be run on it, because it relies on an external module that apparently can't be built for it with the sources that currently are publicly available. What can be done about all this? Regards, Charles Macfarlane. -- www.macfh.co.uk/MacFH.html Log of PERL SGML::Parser::OpenSP error: ======================================= >cpan SGML::Parser::OpenSP Loading internal null logger. Install Log::Log4perl for logging messages CPAN: Term::ANSIColor loaded ok (v4.06) CPAN: Win32::Console::ANSI loaded ok (v1.08) Reading 'Perl\cpan\Metadata' Database was generated on Sun, 09 Jul 2017 17:53:51 GMT CPAN: YAML::XS loaded ok (v0.65) CPAN: Time::HiRes loaded ok (v1.9742) Reading 1 yaml file from Perl/cpan/build/ DONE Restored the state of none (in 0.0187 secs) Running install for module 'SGML::Parser::OpenSP' BJOERN/SGML-Parser-OpenSP-0.994.tar.gz Has already been unwrapped into directory Perl\cpan\build\SGML-Parser-OpenSP-0.994-0 BJOERN/SGML-Parser-OpenSP-0.994.tar.gz Has already been prepared BJOERN/SGML-Parser-OpenSP-0.994.tar.gz Could not make: Unknown error CPAN: CPAN::Meta loaded ok (v2.150010) >cd Perl\cpan\build\SGML-Parser-OpenSP-0.994-0 Perl\cpan\build\SGML-Parser-OpenSP-0.994-0>perl Makefile.PL INC="-IPerl\site\include" LIBS="-LPerl\site\lib" Where is the OpenSP link library? [T:\osp\lib\Release\osp152.lib] Perl\site\bin Which compiler should be used? [cl -TP -EHsc -IT:/osp/] cl -TP -EHsc Warning (mostly harmless): No library found for -lmoldname Warning (mostly harmless): No library found for -lkernel32 Warning (mostly harmless): No library found for -luser32 Warning (mostly harmless): No library found for -lgdi32 Warning (mostly harmless): No library found for -lwinspool Warning (mostly harmless): No library found for -lcomdlg32 Warning (mostly harmless): No library found for -ladvapi32 Warning (mostly harmless): No library found for -lshell32 Warning (mostly harmless): No library found for -lole32 Warning (mostly harmless): No library found for -loleaut32 Warning (mostly harmless): No library found for -lnetapi32 Warning (mostly harmless): No library found for -luuid Warning (mostly harmless): No library found for -lws2_32 Warning (mostly harmless): No library found for -lmpr Warning (mostly harmless): No library found for -lwinmm Warning (mostly harmless): No library found for -lversion Warning (mostly harmless): No library found for -lodbc32 Warning (mostly harmless): No library found for -lodbccp32 Warning (mostly harmless): No library found for -lcomctl32 Generating a dmake-style Makefile Writing Makefile for SGML::Parser::OpenSP Writing MYMETA.yml and MYMETA.json Perl\cpan\build\SGML-Parser-OpenSP-0.994-0>dmake Skip blib\lib\SGML\Parser\OpenSP.pm (unchanged) Skip blib\lib\SGML\Parser\OpenSP\Tools.pm (unchanged) Running Mkbootstrap for OpenSP () "Perl\bin\perl.exe" -MExtUtils::Command -e chmod -- 644 "OpenSP.bs" "Perl\bin\perl.exe" -MExtUtils::Command::MM -e cp_nonempty -- OpenSP.bs blib\arch\auto\SGML\Parser\OpenSP\Op enSP.bs 644 cl -TP -EHsc -c -IPerl\site\include -s -O2 -DWIN32 -DPERL_TEXTMODE_S CRIPTS -DUSE_SITECUSTOMIZE -DPER L_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -fwrapv -fno-strict-alia sing -mms-bitfields -s -O2 -DVERSION=\"0. 994\" -DXS_VERSION=\"0.994\" "-IPerl\lib\CORE" -DSP_MULTI_BYTE=1 OpenSP.c Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 12.00.8168 for 80x86 Copyright (C) Microsoft Corp 1984-1998. All rights reserved. Command line warning D4002 : ignoring unknown option '-s' Command line warning D4002 : ignoring unknown option '-fwrapv' Command line warning D4002 : ignoring unknown option '-fno-strict-aliasing' Command line warning D4002 : ignoring unknown option '-mms-bitfields' Command line warning D4002 : ignoring unknown option '-s' OpenSP.c OpenSP.xs(7) : fatal error C1083: Cannot open include file: 'math.h': No such file or directory dmake: Error code 130, while making 'OpenSP.o' Log of OpenSP-1.5.2\build-win32.bat =================================== OpenSP-1.5.2>build-win32.bat OpenSP-1.5.2>nmake -f sp-generate.mak Microsoft (R) Program Maintenance Utility Version 6.00.8168.0 Copyright (C) Microsoft Corp 1988-1998. All rights reserved. copy include\config.h.old.in include\config.h 1 file(s) copied. OpenSP-1.5.2>msdev SP.dsw /make "all - win32 release" --------------------Configuration: lib - Win32 Release-------------------- Compiling resources... Compiling... splib.cxx ..\include\Allocator.h(7) : fatal error C1083: Cannot open include file: 'stddef.h': No such file or directory Error executing cl.exe. osp152.dll - 1 error(s), 0 warning(s) --------------------Configuration: lib - Win32 Release-------------------- Compiling... splib.cxx ..\include\Allocator.h(7) : fatal error C1083: Cannot open include file: 'stddef.h': No such file or directory Error executing cl.exe. onsgmls.exe - 1 error(s), 0 warning(s) --------------------Configuration: sgmlnorm - Win32 Release-------------------- Compiling resources... Compiling... SGMLGenerator.cxx ..\include\types.h(7) : fatal error C1083: Cannot open include file: 'limits.h': No such file or directory sgmlnorm.cxx ..\include\sptchar.h(7) : fatal error C1083: Cannot open include file: 'string.h': No such file or directory Error executing cl.exe. osgmlnorm.exe - 2 error(s), 0 warning(s) --------------------Configuration: spam - Win32 Release-------------------- Compiling resources... Compiling... CopyEventHandler.cxx ..\include\Allocator.h(7) : fatal error C1083: Cannot open include file: 'stddef.h': No such file or directory MarkupEventHandler.cxx ..\include\Allocator.h(7) : fatal error C1083: Cannot open include file: 'stddef.h': No such file or directory spam.cxx ..\include\types.h(7) : fatal error C1083: Cannot open include file: 'limits.h': No such file or directory spam_inst.cxx Error executing cl.exe. ospam.exe - 3 error(s), 0 warning(s) --------------------Configuration: spent - Win32 Release-------------------- Compiling resources... Compiling... spent.cxx ..\include\sptchar.h(7) : fatal error C1083: Cannot open include file: 'string.h': No such file or directory Error executing cl.exe. ospent.exe - 1 error(s), 0 warning(s) --------------------Configuration: sx - Win32 Release-------------------- Compiling resources... Compiling... sx.cxx ..\include\sptchar.h(7) : fatal error C1083: Cannot open include file: 'string.h': No such file or directory sx_inst.cxx XmlOutputEventHandler.cxx ..\include\types.h(7) : fatal error C1083: Cannot open include file: 'limits.h': No such file or directory Error executing cl.exe. osx.exe - 2 error(s), 0 warning(s) --------------------Configuration: spcat - Win32 Release-------------------- Compiling resources... Compiling... spcat.cxx ..\include\types.h(7) : fatal error C1083: Cannot open include file: 'limits.h': No such file or directory Error executing cl.exe. ospcat.exe - 1 error(s), 0 warning(s) Log of openjade-1.3.2\build-win32.bat ===================================== openjade-1.3.2>build-win32.bat openjade-1.3.2>nmake -f sp-generate.mak Microsoft (R) Program Maintenance Utility Version 6.00.8168.0 Copyright (C) Microsoft Corp 1988-1998. All rights reserved. NMAKE : fatal error U1073: don't know how to make 'lib\entmgr_inst.cxx' Stop. openjade-1.3.2>nmake -f jade-generate.mak Microsoft (R) Program Maintenance Utility Version 6.00.8168.0 Copyright (C) Microsoft Corp 1988-1998. All rights reserved. del /f style\style_inst.cxx 2> nul perl lib\instmac.pl style\style_inst.m4 >style\style_inst.cxx Can't open perl script "lib\instmac.pl": No such file or directory NMAKE : fatal error U1077: 'perl' : return code '0x2' Stop. openjade-1.3.2>msdev jade.dsw /make "all - win32 release" --------------------Configuration: grove - Win32 Release-------------------- Compiling... LocNode.cxx openjade-1.3.2\grove\LocNode.cxx(5) : fatal error C1083: Cannot open include file: 'config.h': No such file or directory Node.cxx openjade-1.3.2\grove\Node.cxx(8) : fatal error C1083: Cannot open include file: 'config.h': No such file or directory Error executing cl.exe. all - 2 error(s), 0 warning(s) |