in reply to Re^2: perldoc for InlineX
in thread perldoc for InlineX

Putting nmake in the path is a new suggestion. Thanks. I'm not sure which configuration you meant (that is not a joke), so here goes with the information: MS Windows XP, Version 2002, Service Pack 2. Active State Perl 5.8.6 for Win32. Visual C++ 6.0. Here are the system responses when I tried the example you sent me (thanks, BTW): D:\perl utility programs>perl wma.txt ***************** This module is deprecated. Please install the latest version of InlineX::C2XS instead ***************** Can't open D:\perl\config for output. Permission denied at -e line 0 BEGIN failed--compilation aborted. Failed to autogenerate D:\perl utility programs\try InlineX\_Inline\config. at wma.txt line 10 BEGIN failed--compilation aborted at wma.txt line 27. D:\perl utility programs\try InlineX>perl wma.txt ***************** This module is deprecated. Please install the latest version of InlineX::C2XS instead ***************** Can't open D:\perl\config for output. Permission denied at -e line 0 BEGIN failed--compilation aborted. Failed to autogenerate D:\perl utility programs\try InlineX\_Inline\config. at wma.txt line 10 BEGIN failed--compilation aborted at wma.txt line 27. --- Does that provide any clues? Note: I created the folder D:\perl\config today, and the permissions look correct.

Replies are listed 'Best First'.
Re^4: perldoc for InlineX
by mwah (Hermit) on Oct 08, 2007 at 20:07 UTC
    wapoor[Some compilation Errors]

    Ahh, "config" is the file which Inline dumps
    into a subdir "_Inline" of the current script dir.

    I t looks like there's sth. wrong on your machine
    maybe inline doesn't like the path with spaces in it.
     Failed to autogenerate D:\perl utility programs\try InlineX\_Inline\config
    
    Oterwise, I'd recommend upgrading (deinstalling, cleaning of the d:\perl\
    program directory completely and reinstalling the actual build 822.
    The 5.8.6 is fairly old!

    Do you have VC++6 Service Pack 6 installed? Check your PATH if another
    compiler whatsoever may come into the way (but your actual problem is,
    as can be seen above, different).

    much luck

    mwa
      As you suggested, I put nmake in the path. I also moved the code file to a folder with no spaces in the name. And here is perl's response (which I will try to format correctly -- sorry about the last note).
      C:\Temp\herehere>perl wma.txt ***************** This module is deprecated. Please install the latest version of Inline +X::C2XS instead ***************** 'nmake' is not recognized as an internal or external command, operable program or batch file. A problem was encountered while attempting to compile and install your + Inline C code. The command that failed was: nmake > out.make 2>&1 The build directory was: C:\Temp\herehere\_Inline\build\wma_txt_8d90 To debug the problem, cd to the build directory, and inspect the outpu +t files. at wma.txt line 9 BEGIN failed--compilation aborted at wma.txt line 26. C:\Temp\herehere
      What should I look for in the output files? Other than that, I will gladly update the version of perl as you have suggested. Thanks.
         
         'nmake' is not recognized as an internal or external command,
          operable program or batch file.
        
        I don't really know what the (above) reason is. Do you have
        nmake 1.5? 1.6? What happens if you enter nmake -? into a
        command prompt?
        (mine says: "... Version 6.00.9782.0")

        The intermediate files for the Inline build will be in
        C:\Temp\herehere\_Inline\build\wma_txt_8d90, especially
        the out.make will be of interest.

        (I'll join tommorrow again, now it's time to go to sleep, L.T. is 23:19)

        Regards

        mwa