in reply to perldoc for InlineX

MWA asked about the simple option of using Inline rather than InlineX. First, as I mentioned, no matter what I try, I cannot get any examples in perldoc Inline or the C-Cookbook to work: every attempt to fiddle with the syntax leads to new error messages. (Note: when I tried the examples mentioned above, I copied and pasted, so typing errors are not the problem.) Second, one of the occasional warning messages says that Inline is deprecated, and that I should switch to InlineX. I am open to any suggestions, and will gladly take this up offline to avoid cluttering this site if that would be more efficient.

Replies are listed 'Best First'.
Re^2: perldoc for InlineX
by mwah (Hermit) on Oct 08, 2007 at 19:08 UTC
    waporI cannot get any examples in perldoc Inline or the C-Cookbook to work: every attempt to fiddle with the syntax leads to new error messages.

    Uhmmm. I tried my example from below under WinXP, MSVC++6 (SP6) (VStudio 98),
    Perl 5.8.8 (Activestate) and Inline V.0.44 (from Activestate ppm repository).

    I didn't have the slightest problems. The only "nonstandard" thing I did
    was to extract nmake 1.5 from M.S. and put it somwhere into the PATH.

    What's your configuration anyway?

    Regards

    mwa
      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.
        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