❯ which pgxnclient
/opt/homebrew/bin/pgxnclient
❯ pgxn help --libexec
/usr/local/libexec/pgxnclient
Should that be something like /opt/homebrew/opt/pgxnclient/libexec?
Looks like the formula should update pgxnclient/__init__.py:
Note that setuptools doesn't do a perfect job and replaces the links with the
script content, dropping the executable flag. If you are packaging pgxnclient
for a distribution, you may use soft/hard links instead. The location of this
directory may also be changed if your distribution policies prefer a better
location (e.g. /usr/lib/pgxnclient/libexec...): in this case change the
LIBEXECDIR constant in pgxnclient/__init__.py with the absolute path of
the scripts directory.
brew gist-logs <formula> link OR brew config AND brew doctor output
❯ brew doctor
Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry or file an issue; just ignore this. Thanks!
Warning: Some installed formulae are deprecated or disabled.
You should find replacements for the following formulae:
ruby@2.7
Verification
What were you trying to do (and why)?
Install a program in the PGXN client libexec directory, but got an error.
What happened (include all command output)?
mkdir /usr/local/libexec: Permission denied at PGXN-Meta-Validator-v0.16.0/_build/lib/My/Builder.pm line 11.
What did you expect to happen?
The installer I'm using reads the directory to install into from pgxn help --libexec. It should point to a homebrew libexec directory that I have permission to install into. Similar to how one can install stuff into the Git libexec directory.
Step-by-step reproduction instructions (by running brew commands)
brew install pgxn cpanminus
cpanm PGXN::Meta::Validator -v
❯ which pgxnclient /opt/homebrew/bin/pgxnclient ❯ pgxn help --libexec /usr/local/libexec/pgxnclientShould that be something like
/opt/homebrew/opt/pgxnclient/libexec?Looks like the formula should update
pgxnclient/__init__.py:brew gist-logs <formula>link ORbrew configANDbrew doctoroutputVerification
brew doctoroutput" saysYour system is ready to brew.and am still able to reproduce my issue.brew updateand am still able to reproduce my issue.brew doctorand that did not fix my problem.What were you trying to do (and why)?
Install a program in the PGXN client libexec directory, but got an error.
What happened (include all command output)?
What did you expect to happen?
The installer I'm using reads the directory to install into from
pgxn help --libexec. It should point to a homebrew libexec directory that I have permission to install into. Similar to how one can install stuff into the Git libexec directory.Step-by-step reproduction instructions (by running
brewcommands)