dacav / app-pft Goto Github PK
View Code? Open in Web Editor NEWStatic website application
License: GNU General Public License v3.0
Static website application
License: GNU General Public License v3.0
Start a site from scratch
Add one entry
Select the minimal.html
template
pft make
Check out the first page.
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
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#
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
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
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#
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.