<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Apr 18, 2024 at 3:02 AM Nicholas Yang via Users <<a href="mailto:users@clusterlabs.org">users@clusterlabs.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">> NVM, I found them in /usr/local/libexec/pacemaker/<br>
><br>
> 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!<br>
<br>
This is not a problem. crmsh adds libexec directories to PATH. See<br>
<a href="https://github.com/ClusterLabs/crmsh/blob/7b856f940284240a01c39647db400f515fd5881c/crmsh/main.py#L67" rel="noreferrer" target="_blank">https://github.com/ClusterLabs/crmsh/blob/7b856f940284240a01c39647db400f515fd5881c/crmsh/main.py#L67</a><br>
_______________________________________________<br>
Manage your subscription:<br>
<a href="https://lists.clusterlabs.org/mailman/listinfo/users" rel="noreferrer" target="_blank">https://lists.clusterlabs.org/mailman/listinfo/users</a><br>
<br>
ClusterLabs home: <a href="https://www.clusterlabs.org/" rel="noreferrer" target="_blank">https://www.clusterlabs.org/</a></blockquote><div><br></div><div><br></div><div>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</div><div>I am building from source for now and contacting the port maintainer for an eventual fix.</div><div><br></div><div>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:</div><div><br></div><div>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<br>install: target directory `/usr/local/share/crmsh/scripts/apache/main.yml' does not exist<br>usage: install [-bCcpSsUv] [-f flags] [-g group] [-m mode] [-o owner]<br> [-M log] [-D dest] [-h hash] [-T tags]<br> [-B suffix] [-l linkflags] [-N dbdir]<br> file1 file2<br> install [-bCcpSsUv] [-f flags] [-g group] [-m mode] [-o owner]<br> [-M log] [-D dest] [-h hash] [-T tags]<br> [-B suffix] [-l linkflags] [-N dbdir]<br> file1 ... fileN directory<br> install -dU [-vU] [-g group] [-m mode] [-N dbdir] [-o owner]<br> [-M log] [-D dest] [-h hash] [-T tags]<br> directory ...<br>*** Error code 64<br><br>Stop.<br>make[2]: stopped in /root/cmrsh_460/crmsh-4.6.0<br>*** Error code 1<br></div><div><br></div><div>Nevertheless, it seems to install and work! Do you happen to know how to fix the above?</div><div><br></div><div>Thanks!!</div><div><br></div><div>-- </div><div>Alex</div><div><br></div><div> </div></div></div>