I am trying to install Rex on Mac OS X (El Capitan), following the instructions at https://www.rexify.org/get.html
I have installed XCode and MacPorts.
Below are the responses I got from the installation commands now
$ sudo port install libssh2 perl5
---> Computing dependencies for libssh2
---> Cleaning libssh2
---> Computing dependencies for perl5
---> Cleaning perl5
---> Scanning binaries for linking errors
---> No broken files found.
$ curl -L https://get.rexify.org | perl - --sudo -n Rex
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 294k 100 294k 0 0 99k 0 0:00:02 0:00:02 --:--:-- 99k
Rex is up to date. (1.3.3)
Although the install scripts told me it's up to date, I cannot run the command:
$ rex
-bash: rex: command not found
I have tried on another Mac OS X machine and there was no problems. Could someone help me to fix this weird situation?
Update:
Doing a $ find / -name rex
, I found one instance in /opt/local/libexec/perl5.22/sitebin/
. Did the installer make some mistakes when creating the bin folder?