Giter Site home page Giter Site logo

Failed to Compile about plerd HOT 8 OPEN

jmacdotorg avatar jmacdotorg commented on August 11, 2024
Failed to Compile

from plerd.

Comments (8)

jmacdotorg avatar jmacdotorg commented on August 11, 2024

If you retry with --force (per the last line of that output), does it install and work as expected?

from plerd.

iamllcoolray avatar iamllcoolray commented on August 11, 2024

I've installed Plerd but I've run into a few issues:

! Testing Plerd-1.820 failed but installing it anyway.

zsh: command not found: plerdall

zsh: command not found: plerdwatcher

For the first issue is it a serious error if not great! Now for the plerdall and plerdwatcher commands, how would I get them to work? I try exporting them in my .zshrc file on my Macbook but I have failed at every attempt. I know there is probably a simple solution but I cannot seem to figure it out.

from plerd.

jmacdotorg avatar jmacdotorg commented on August 11, 2024

Hi @iamllcoolray,

It sounds like there may be a path issue going on, if Plerd installed but your shell can't see its executables.

Could you please tell me more about what commands you ran to install plerd, and what its output was? I'm also curious about what version of macOS you're running.

from plerd.

iamllcoolray avatar iamllcoolray commented on August 11, 2024

Hey @jmacdotorg,

I am running macOS High Sierra-v10.13.6.

When I installed Plerd I ran:

sudo cpanm --force Plerd

This is the output I got:

--> Working on Plerd
Fetching http://www.cpan.org/authors/id/J/JM/JMAC/Plerd-1.820.tar.gz ... OK
Configuring Plerd-1.820 ... OK
Building and testing Plerd-1.820 ... FAIL
! Testing Plerd-1.820 failed but installing it anyway.
Successfully reinstalled Plerd-1.820
1 distribution installed

Thanks for taking the time to look this over.

from plerd.

jmacdotorg avatar jmacdotorg commented on August 11, 2024

OK, thanks!

And trying to run plerdall after that gives you a command not found error, still?

If so... could you just use your Mac's own local-file search tools (like the Finder's good File->Find) to see where plerdall ended up? :) I would expect there to be one copy in a temporary location that cpanm downloaded, but there should also be another copy in an "installed" place, like /usr/local/bin/.

from plerd.

iamllcoolray avatar iamllcoolray commented on August 11, 2024

The only two paths have for plerdall and plerdwatcher are:

/User/plerd/bin/plerdall
/User/plerd/bin/plerdwatcher
/User/plerd/blib/script/plerdall
/User/plerd/blib/script/plerdwatcher

So what I did was make a copy of each executables to /usr/local/bin/ but ran into this
output:

plerdall
Can't start /usr/local/bin/plerdall: I can't find a Plerd config file in /Users/kurookami/plerd.conf, 
/Users/kurookami/conf/plerd.conf, /Users/kurookami/.plerd, or in /usr/local/bin/../conf/plerd.conf, 
and no other location was specified as a command-line argument. 
at /usr/local/Cellar/perl/5.30.1/lib/perl5/site_perl/5.30.1/Plerd/Util.pm line 39.

and

plerdwatcher
Can't start /usr/local/bin/plerdwatcher: I can't find a Plerd config file in /Users/kurookami/plerd.conf, 
/Users/kurookami/conf/plerd.conf, 
/Users/kurookami/.plerd, 
or in /usr/local/bin/../conf/plerd.conf, 
and no other location was specified as a command-line argument. 
at /usr/local/Cellar/perl/5.30.1/lib/perl5/site_perl/5.30.1/Plerd/Util.pm line 39.

from plerd.

jmacdotorg avatar jmacdotorg commented on August 11, 2024

I am pleased to report that this is good news - these messages are coming from Plerd, not your shell. So Plerd is compiling and running and immediately exiting because it doesn't have a config file set up, just like it says.

To amend this, follow the steps here: https://github.com/jmacdotorg/plerd#configuration

from plerd.

iamllcoolray avatar iamllcoolray commented on August 11, 2024

I just tested out the plerdall --init command in an empty directory and everything works. Thank you so much for your help.

from plerd.

Related Issues (20)

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.