Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File::Path does not export make_path on CentOS 5.8 #11

Closed
funjon opened this issue Dec 5, 2012 · 4 comments
Closed

File::Path does not export make_path on CentOS 5.8 #11

funjon opened this issue Dec 5, 2012 · 4 comments

Comments

@funjon
Copy link

funjon commented Dec 5, 2012

On a CentOS 5.8 machine:

[root@host mt-aws-glacier]# perl -cw mtglacier.pl
"make_path" is not exported by the File::Path module
Can't continue after import errors at ChildWorker.pm line 28
BEGIN failed--compilation aborted at ChildWorker.pm line 28.
Compilation failed in require at mtglacier.pl line 35.
BEGIN failed--compilation aborted at mtglacier.pl line 35.

It looks like CentOS boxes come with File::Path v1.08, and make_path is from v2.0. I suspect the answer I'll get it "upgrade File::Path", but I wanted to see if there was a better workaround.

@vsespb
Copy link
Owner

vsespb commented Dec 5, 2012

Thanks for reporting this! I will check what can be done here..

@vsespb
Copy link
Owner

vsespb commented Dec 5, 2012

Yes, I can confirm that CentOS 5.8 comes with File::Path v1.08, which does not support make_path.
There is old "legacy" method "mkpath" exists in File::Path and I can use it.

So I will fix that and do a release today or tomorrow.

@vsespb
Copy link
Owner

vsespb commented Dec 5, 2012

Done, fixed in v0.77beta

@vsespb vsespb closed this as completed Dec 5, 2012
@funjon
Copy link
Author

funjon commented Dec 5, 2012

Awesome, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants