Beefy Boxes and Bandwidth Generously Provided by pair Networks Bob
XP is just a number
 
PerlMonks  

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

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


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

Hi thanks for your help. The problem that I have is that this is above my head. I wrote the programs I use a few years back when it was easy to install and I don't really want to go backwards and install all of this over again.

I created a new file called what you suggested and put in the contents like you said and then ran this and this is what I got.

C:\>cpanp -z Win32::Printer patch -p1 -i./Win32-Printer-0.9.0-formingw.diff
Set up gcc environment - 3.4.5 (mingw-vista special r3)
ERROR 'patch' does not contain an author part

ERROR Cannot find 'patch' in the module tree

No such module: patch
Key 'p1' is not a valid key for CPANPLUS::Internals::Fetch::_fetch provided by C PANPLUS::Module::fetch at C:/Perl/lib/CPANPLUS/Module.pm line 580.
Microsoft Windows Version 5.2.3790
(C) Copyright 1985-2003 Microsoft Corp.

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

Could you please give me more defined steps so that I can get this accomplished. I would be in your debt.


Comment on Re^5: win32::printer 5.16 will not install
Re^6: win32::printer 5.16 will not install
by Anonymous Monk on Dec 12, 2012 at 14:25 UTC

    LOL!

    patch is a program you run after you run the cpanp command

      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>

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

        What the heck is patch.pl ?!

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (7)
As of 2014-04-19 16:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (483 votes), past polls