public inbox for kawa@sourceware.org
 help / color / mirror / Atom feed
* symlink problems with mac os
@ 2017-10-22 12:00 Björn Raupach
  2017-10-22 12:54 ` Per Bothner
  0 siblings, 1 reply; 10+ messages in thread
From: Björn Raupach @ 2017-10-22 12:00 UTC (permalink / raw)
  To: kawa

Hi there,

on macOS High Sierra (10.13) the kawa bash script does’t work with symbolic links.

Steps to reproduce:

1) Download and extract kawa-3.0.zip to a folder $KAWA_HOME

2) Open a terminal, create a symlink, execute symlink

$ ln -s $KAWA_HOME/bin/kawa kawa
$ ./kawa
readlink: illegal option — f
usage: readlink [-n] [file …]
Error: Could not find or load main class kawa.repl
$

Cause:

The readlink version of macOS isn’t the same as GNU/Linux one. The latter version does follow symlinks with -f. The macOS one does not support this feature.

I stumbled upon this while working on a port for MacPorts<https://www.macports.org>  Should make kawa easier to install and upgrade on macOS. (Of course it is already simple enough being a jar file and such…)

Found a related discussion on SO<https://stackoverflow.com/questions/1055671/how-can-i-get-the-behavior-of-gnus-readlink-f-on-a-mac>.


with kind regards,

Björn Raupach

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2017-10-30 15:15 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-10-22 12:00 symlink problems with mac os Björn Raupach
2017-10-22 12:54 ` Per Bothner
2017-10-22 13:05   ` Björn Raupach
2017-10-22 17:40     ` Per Bothner
2017-10-22 18:15       ` Björn Raupach
2017-10-22 18:31         ` Per Bothner
2017-10-22 22:10       ` Per Bothner
2017-10-23  6:47         ` Björn Raupach
2017-10-23 16:55           ` Per Bothner
2017-10-30 15:15             ` Björn Raupach

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).