Git Product home page Git Product logo

app-pft's People

Contributors

dacav avatar manwar avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

manwar yenya

app-pft's Issues

pft-make: Inappropriate ioctl for device

Just tried PFT and failed with following error message when running pft make

pft: Died at /usr/local/share/perl/5.28.1/PFT/Map.pm line 126.
pft: cannot run command make: Inappropriate ioctl for device

What I did:

$ mkdir site
$ cd site
$ pft init
$ pft edit -B a test

Content:

---
Author: haary
Date: 2020-07-17
Options:
  hide: 0
  template: ~
Slug: a-test
Tags: ~
Title: 'a test'
---

a test
$ pft make
pft: Died at /usr/local/share/perl/5.28.1/PFT/Map.pm line 126.

pft: cannot run command make: Inappropriate ioctl for device`

Running on Debian 10 x86_64

Bootstrap a PFT site

hi.

root@AR:/usr/local/app-pft-site# perl Makefile.PL
Can't locate File/ShareDir/Install.pm in @inc (@inc contains: /usr/lib/perl5/site_perl/5.16.0/i686-linux /usr/lib/perl5/site_perl/5.16.0 /usr/lib/perl5/5.16.0/i686-linux /usr/lib/perl5/5.16.0 .) at Makefile.PL line 7.
BEGIN failed--compilation aborted at Makefile.PL line 7.
root@AR:/usr/local/app-pft-site#

Misleading error message

If a command such as pft make fails, the main executable prints a misleading error message involving the current value of errno, which might be unrelated:

 pft: cannot run command make: Inappropriate ioctl for device

Regex modifier in pft-make

Original issue from @luckypoem:

hello.

but i'm happy a little earlier:
root@localhost:/usr/local/app-pft-site# pft-make
Unknown regexp modifier "/n" at /usr/local/bin/pft-make line 203, at end of line
Execution of /usr/local/bin/pft-make aborted due to compilation errors.
root@localhost:/usr/local/app-pft-site# pft make
Unknown regexp modifier "/n" at /usr/local/bin/pft line 170, at end of line
Unknown regexp modifier "/n" at /usr/local/bin/pft line 173, at end of line
Execution of /usr/local/bin/pft aborted due to compilation errors.
root@localhost:/usr/local/app-pft-site#

how to fix it?
tks very much

Locale is needed

@luckypoem

root@ary:/usr/local/app-pft-site# pft-make
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "zh_CN.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
root@ary:/usr/local/app-pft-site# ls
build content inject pft.yaml templates
root@ary:/usr/local/app-pft-site#

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.