Skip Menu |

This queue is for tickets about the String-MFN CPAN distribution.

Report information
The Basics
Id: 27563
Status: resolved
Priority: 0/
Queue: String-MFN

People
Owner: mdxi [...] cpan.org
Requestors: nikita.dedik [...] bulyon.com
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 1.27
Fixed in: 1.29



Subject: String::MFN doesn't install on non-*nix systems
Some "/usr/local" stuff is hardcoded in Makefile.PL, though nothing actually makes String::MFN work only on *nix-es - mfn() is a pretty useful function for forming sane and readable filenames at the same time for any OS! Please, fix the issue, so people could use String::MFN on Windows systems as well!
From: MDXI [...] cpan.org
On Wed Jun 13 09:51:26 2007, nikita.dedik@bulyon.com wrote: Show quoted text
> Some "/usr/local" stuff is hardcoded in Makefile.PL, though nothing > actually makes String::MFN work only on *nix-es - mfn() is a pretty > useful function for forming sane and readable filenames at the same > time for any OS! Please, fix the issue, so people could use String::MFN > on Windows systems as well!
The PREFIX line could have safely been edited to something local-safe, but it didn't really need to be there at all; it was inherited when I stole the majority of Makefile.PL from ingyware some years ago. In any case, please try the attached revision and let me know if it works for you.
Download String-MFN-1.29.tar.gz
application/x-gzip 8.3k

Message body not shown because it is not plain text.

From: nikita.dedik [...] bulyon.com
Actually, I thought it was a legacy of some older makefiles ;). Thanks a lot, it works awesome now on my Windows system as well! Bug resolved :)! On Чтв. Июн. 14 23:01:54 2007, MDXI wrote: Show quoted text
> The PREFIX line could have safely been edited to something local-safe, > but it didn't really need to be there at all; it was inherited when I > stole the majority of Makefile.PL from ingyware some years ago. > > In any case, please try the attached revision and let me know if it > works for you.
From: MDXI [...] cpan.org
On Fri Jun 15 02:17:45 2007, nikita.dedik@bulyon.com wrote: Show quoted text
> Actually, I thought it was a legacy of some older makefiles ;). Thanks > a lot, it works awesome now on my Windows system as well! Bug resolved > :)!
Not quite resolved, because simply removing the PREFIX makes the accompanying mfn(1p) script uninstallable on Unix systems. Attached is a new tarball which sets a PREFIX, but sets it to Perl's existing SITEPREFIX instead of a hardcoded value. I would appreciate it if you could attempt to install this version and let me know if it works for you. Thanks.
Download String-MFN-1.29.tar.gz
application/x-gzip 8.4k

Message body not shown because it is not plain text.

From: nikita.dedik [...] bulyon.com
This one works fine as well!!