Menu

#189 "make_path" is not exported by the File::Path module

dev-svn
closed
nobody
None
1
2014-08-19
2013-01-27
No

You changed the way to call File::Path::mkpath to File::Path::make_path

Now im getting a error like:

cp -f "./build-lives-rfx-plugin-multi" "/home/tforsman/conary/builds/lives/ROOT/usr/bin" && chmod a+rx "/home/tforsman/conary/builds/lives/ROOT/usr/bin/build-lives-rfx-plugin-multi"
cp -f "./default.keymap" "/home/tforsman/conary/builds/lives/ROOT/usr/share/lives/"
"/home/tforsman/conary/builds/lives/ROOT/usr/bin/build-lives-rfx-plugin-multi" builtin "/home/tforsman/conary/builds/lives/ROOT/usr/share" "/home/tforsman/conary/builds/lives/ROOT/usr/lib64" "/home/tforsman/conary/builds/lives/ROOT/usr/bin"
"make_path" is not exported by the File::Path module
Can't continue after import errors at /home/tforsman/conary/builds/lives/ROOT/usr/bin/build-lives-rfx-plugin-multi line 11
BEGIN failed--compilation aborted at /home/tforsman/conary/builds/lives/ROOT/usr/bin/build-lives-rfx-plugin-multi line 11.
make[2]: [install-exec-local] Error 255
make[2]: Leaving directory /home/tforsman/conary/builds/lives/lives--' make[1]: *** [install-am] Error 2 make[1]: Leaving directory/home/tforsman/conary/builds/lives/lives--'
make:
[install-recursive] Error 1

So wonder:
Replace File::Path::make_path with legacy method File::Path::mkpath so it's compatible now with older perl distribution
(File::Path 1.08 CentOS 5.8 and Foresight Linux and Red hat)

Or if someone is kind and make a patch to use, so atleast lives is buildable and can be used in Foresight Linux.

Discussion

  • Salsaman

    Salsaman - 2013-01-27

    Thanks, patched as you suggested.

     
  • Tomas Forsman

    Tomas Forsman - 2013-01-27

    Thank you, it's working like a charm now from building from svn.

    No more issues in Foresight. Can close this issue.

     
  • Salsaman

    Salsaman - 2013-01-27
    • status: open --> closed
     

Log in to post a comment.