Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^7: win32::printer 5.16 will not install

by blenkhn (Acolyte)
on Dec 12, 2012 at 18:17 UTC ( #1008550=note: print w/ replies, xml ) Need Help??


in reply to Re^6: win32::printer 5.16 will not install
in thread win32::printer 5.16 will not install

Thanks for your help, I feel a little brainless, I did do it after and it didn't seem work. should it be a batch file? is it a cplus program? when I ran it as a perl program I got this, I have included the comand string that i used. Please remember that I am using server 2003 for my server software

C:\Documents and Settings\Administrator\Application Data\.cpanplus\5.16.1\build\ Win32-Printer-0.9.0>perl patch.pl -i./Win32-Printer-0.9.0-formingw.diff

Bareword found where operator expected at patch.pl line 1, near "7P99xa" (Missing operator before P99xa?)

Bareword found where operator expected at patch.pl line 2, near "7P99xa" (Missing operator before P99xa?)

Number found where operator expected at patch.pl line 2, near "xs 2008" (Do you need to predeclare xs?)

Number found where operator expected at patch.pl line 2, near "28 11" (Missing operator before 11?)

Number found where operator expected at patch.pl line 3, near "xs 2012" (Do you need to predeclare xs?)

Number found where operator expected at patch.pl line 3, near "09 21" (Missing operator before 21?)

Array found where operator expected at patch.pl line 4, at end of line (Missing semicolon on previous line?)

Array found where operator expected at patch.pl line 4, near "12 " (Missing operator before ?)

Array found where operator expected at patch.pl line 17, near "7 " (Missing operator before ?)

Bareword found where operator expected at patch.pl line 18, near "ebc" (Missing semicolon on previous line?)

Array found where operator expected at patch.pl line 26, near "10 " (Missing operator before ?)

Array found where operator expected at patch.pl line 41, near "7 " (Missing operator before ?)

Bareword found where operator expected at patch.pl line 42, near "RETVAL" (Missing semicolon on previous line?)

Array found where operator expected at patch.pl line 50, near "10 " (Missing operator before ?)

syntax error at patch.pl line 1, near "7P99xa"

Illegal octal digit '9' at patch.pl line 3, at end of line

Illegal octal digit '8' at patch.pl line 3, at end of line

syntax error at patch.pl line 22, near "//~"

syntax error at patch.pl line 27, near "10 @@ "

syntax error at patch.pl line 30, near "- }"

syntax error at patch.pl line 37, near "//~"

syntax error at patch.pl line 41, near "7 @@ "

syntax error at patch.pl line 46, near "//~"

syntax error at patch.pl line 51, near "10 @@ "

patch.pl has too many errors.

C:\Documents and Settings\Administrator\Application Data\.cpanplus\5.16.1\build\ Win32-Printer-0.9.0>


Comment on Re^7: win32::printer 5.16 will not install
Re^8: win32::printer 5.16 will not install
by bulk88 (Priest) on Dec 13, 2012 at 04:20 UTC
    I guess Win32::Printer is not GCC compatible, MS C only. Instead of Mingw, try MS's free Platform SDK package that includes cl.exe and link.exe (the MS C compiler progs).
Re^8: win32::printer 5.16 will not install
by Anonymous Monk on Dec 13, 2012 at 05:37 UTC

    What the heck is patch.pl ?!

      What the heck is patch.pl ?!

      According to the error messages, it is the actual patch saved as patch.pl. Of course, that can't work (patch).

      Alexander

      --
      Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)
        How do I use what is specified? I have installed the windows sdk and cl and patch are not commands that do anything.

        Could you specifically tell me how to use the patch?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1008550]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (5)
As of 2014-10-22 23:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (122 votes), past polls