http://qa.mandrakesoft.com/show_bug.cgi?id=3004

[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Platform|Other                       |PC
            Summary|cowsay doesn't require the  |cowsay has unexpanded macro
                   |right perl packages         |%PREFIX% in script (was:
                   |                            |doesn't require the right
                   |                            |perl packages)



------- Additional Comments From [EMAIL PROTECTED]  2003-03-10 02:21 -------
Okay, different problem with -2mdk: 
 
$ echo moo | cowsay 
cowsay: Could not find default.cow cowfile! 
 
The problem is an unexpanded macro (%PREFIX% -> /usr) on this line: 
 
-$cowpath = $ENV{'COWPATH'} || '%PREFIX%/share/cows'; 
 
cowthink has the same problem. 
 
Changing %PREFIX% to /usr makes it work correctly.  
 



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.



------- Reminder: -------
assigned_to: [EMAIL PROTECTED]
status: UNCONFIRMED
creation_date: 
description: 
cowsay doesn't require the right perl packages to run: 
 
$ cowsay 
/usr/bin/cowsay: line 9: syntax error near unexpected token `(' 
/usr/bin/cowsay: line 9: `use Text::Tabs qw(expand);' 
 
$ rpm -q cowsay 
cowsay-3.03-1mdk 
 
(This should be filed under cowsay, but that doesn't exist in bugzilla yet.)

Reply via email to