On Thu, Apr 18, 2024 at 3:02 AM Nicholas Yang via Users < users@clusterlabs.org> wrote:
> > NVM, I found them in /usr/local/libexec/pacemaker/ > > > > I'm guessing a lot of my troubles have been related to the fact this is > not added to the path by the port pkg! > > This is not a problem. crmsh adds libexec directories to PATH. See > > https://github.com/ClusterLabs/crmsh/blob/7b856f940284240a01c39647db400f515fd5881c/crmsh/main.py#L67 > _______________________________________________ > Manage your subscription: > https://lists.clusterlabs.org/mailman/listinfo/users > > ClusterLabs home: https://www.clusterlabs.org/ Yeah my bad. In the end the root cause of all my pain is that the FreeBSD crmsh pkg is labeled as 4.6.0 by the code seems pulled from 4.3.1 I am building from source for now and contacting the port maintainer for an eventual fix. I've had some trouble installing from source though. I used ./configure --prefix=/usr/local and the first part respects that. But the setup.py insists on installing stuff in /usr/share. I edit the file setup.py manually and change datafiles to data_files=[('/usr/local/share/crmsh' and the end of the process I get this: mkdir -p /usr/local/share/crmsh/; for d in $(cat data-manifest); do install -D -m $(test -x $d && echo 0755 || echo 0644) $d /usr/local/share/crmsh/$d; done; mv /usr/local/share/crmsh/test /usr/local/share/crmsh/tests; cp test/testcases/xmlonly.sh /usr/local/share/crmsh/tests/testcases/configbasic-xml.filter install: target directory `/usr/local/share/crmsh/scripts/apache/main.yml' does not exist usage: install [-bCcpSsUv] [-f flags] [-g group] [-m mode] [-o owner] [-M log] [-D dest] [-h hash] [-T tags] [-B suffix] [-l linkflags] [-N dbdir] file1 file2 install [-bCcpSsUv] [-f flags] [-g group] [-m mode] [-o owner] [-M log] [-D dest] [-h hash] [-T tags] [-B suffix] [-l linkflags] [-N dbdir] file1 ... fileN directory install -dU [-vU] [-g group] [-m mode] [-N dbdir] [-o owner] [-M log] [-D dest] [-h hash] [-T tags] directory ... *** Error code 64 Stop. make[2]: stopped in /root/cmrsh_460/crmsh-4.6.0 *** Error code 1 Nevertheless, it seems to install and work! Do you happen to know how to fix the above? Thanks!! -- Alex
_______________________________________________ Manage your subscription: https://lists.clusterlabs.org/mailman/listinfo/users ClusterLabs home: https://www.clusterlabs.org/