Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Crypt-Cracklib CPAN distribution.

Report information
The Basics
Id: 17913
Status: resolved
Priority: 0/
Queue: Crypt-Cracklib

People
Owner: Nobody in particular
Requestors: jorgen.niemi [...] liu.se
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.01
Fixed in: (no value)



Subject: Makefile.PL fail to accept PREFIX property
Hello, I got an error when trying to install Crypt-Cracklib: [13:27] perl Makefile.PL PREFIX=/tmp [user@host:/tmp/Crypt-Cracklib-0.01] Enter the directory where crack.h/packer.h is located Can't open PREFIX=/tmp: No such file or directory at Makefile.PL line 23. [/usr/local/include] Enter the directory where libcrack.(so|a) is located [/usr/local/lib] and here I do ctrl-c to interrupt the installation. The problem seem to be that "<>" in Makefile.PL line 23 (and line 44) thinks that my "PREFIX=/tmp" is some kind of file which can't execute (or be found). So I fail to set the PREFIX property which is needed for my system. The workaround for me is to use (for bash or zsh atleast): perl Makefile.PL <(echo /service/cracklib/include; echo /service/cracklib/lib) PREFIX=/tmp Surely the Makefile.PL is supposed to be able to handle the PREFIX-property? I am sorry not to be able to have an example for patch. Besides this issue I think it is a great package! package: Crypt::Cracklib0.01 OS: SunOS <hostname> 5.9 Generic_118558-06 sun4u sparc perl: v5.8.5 built for sun4-solaris Regards, Jörgen Niemi, jorgen.niemi@liu.se
I just put out a new version that uses Module::Install for Makefile.PL