Mantis - Resin
Viewing Issue Advanced Details
5717 major always 04-16-14 15:55 09-08-14 15:56
wileysaw  
ferg  
normal  
closed 4.0.39  
fixed  
none    
none 4.0.41  
0005717: Resin Installation fails on OSX with "illegal option --T"
Running ./configure, make , make install, the installation will fail at make install with the following:

ln: illegal option -- T
usage: ln [-Ffhinsv] source_file [target_file]
       ln [-Ffhinsv] source_file ... target_dir
       link source_file target_file
WARNING: Resin home symlink creation failed. Ensure /usr/local/share is writable by root, or run 'make install' as root.

Fix: Removing the T flag from: ln -sfT in Makefile.am and Makefile.in allows installation to finish as expected
sudo make install
make[1]: Nothing to be done for `install-exec-am'.
make[1]: Nothing to be done for `install-data-am'.
Installing Resin root /var/resin.
Preserving existing Resin root subdir /var/resin/project-jars.
Preserving existing Resin root subdir /var/resin/webapps.
Preserving existing Resin root subdir /var/resin/webapp-jars.
Preserving existing Resin root subdir /var/resin/endorsed.
Preserving existing Resin root subdir /var/resin/resin-inf.
Preserving existing Resin root subdir /var/resin/app-inf.
Updating existing Resin root subdir /var/resin/doc.
Installing Resin home /usr/local/share/resin-4.0.39.
Updating existing Resin home subdir /usr/local/share/resin-4.0.39/libexec64.
cp: libexec64/*: No such file or directory
skipped libexec64
Updating existing Resin home subdir /usr/local/share/resin-4.0.39/bin.
updated /usr/local/share/resin-4.0.39/bin
Updating existing Resin home subdir /usr/local/share/resin-4.0.39/lib.
updated /usr/local/share/resin-4.0.39/lib
Preserving existing Resin log /var/log/resin.
Installing Resin home symlink /usr/local/share/resin.
ln: illegal option -- T
usage: ln [-Ffhinsv] source_file [target_file]
       ln [-Ffhinsv] source_file ... target_dir
       link source_file target_file
WARNING: Resin home symlink creation failed. Ensure /usr/local/share is writable by root, or run 'make install' as root.

There are no notes attached to this issue.