Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Problem installing PDF::Template

by dragonchild (Archbishop)
on Jan 07, 2008 at 23:03 UTC ( [id://660968]=note: print w/replies, xml ) Need Help??


in reply to Problem installing PDF::Template

*sighs* It's been a long time since I heard of someone running into this problem. In the Makefile.PL, you'll see a line setting $pm_filter. It looks something like:
my $pm_filter = $use_unicode ? q{perl -pi -e "s!UNI_YES ! !g;s!UNI_NO !\\#!g"} : q{perl -pi -e "s!UNI_NO ! !g;s!UNI_YES !\\#!g"};
Change it to:
my $pm_filter = $use_unicode ? q{perl -pi -e 's!UNI_YES ! !g;s!UNI_NO !\\#!g'} : q{perl -pi -e 's!UNI_NO ! !g;s!UNI_YES !\\#!g'};
and everything should work fine. The change was the double-quotes to single-quotes.

My criteria for good software:
  1. Does it work?
  2. Can someone else come in, make a change, and be reasonably certain no bugs were introduced?

Replies are listed 'Best First'.
Re^2: Problem installing PDF::Template
by mhearse (Chaplain) on Jan 07, 2008 at 23:27 UTC
    I'm getting:
    String found where operator expected at -e line 1, near "s!UNI_YES !#! +g''" syntax error at -e line 1, near "'perl -pi -e 's!UNI_NO ! !g" syntax error at -e line 1, near "s!UNI_YES !#!g''" Execution of -e aborted due to compilation errors. make: *** [pm_to_blib] Error 255
      Sorry. You'll need to fix the quotes a bit more. There are some single-quotes that need to be converted to double-quotes around the regex.

      My criteria for good software:
      1. Does it work?
      2. Can someone else come in, make a change, and be reasonably certain no bugs were introduced?

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (9)
As of 2024-03-28 14:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found