public inbox for kawa@sourceware.org
 help / color / mirror / Atom feed
From: "Björn Raupach" <raupach@me.com>
To: Per Bothner <per@bothner.com>
Cc: "kawa@sourceware.org" <kawa@sourceware.org>
Subject: Re: symlink problems with mac os
Date: Mon, 23 Oct 2017 06:47:00 -0000	[thread overview]
Message-ID: <4A6C2C7B-39EE-4D32-9A2D-D715CFD62D3B@me.com> (raw)
In-Reply-To: <d1d74428-c001-bf05-d534-35efb9947a1a@bothner.com>

Good morning Per,

> On 23. Oct 2017, at 00:10, Per Bothner <per@bothner.com> wrote:
> 
> On 10/22/2017 10:40 AM, Per Bothner wrote:
>> I think I want to leave kawa.sh.in as-is, but have configure
>> create kawa instead of kawa.sh.  That way we don't need a symlink in the normal case.
>> I'm trying this out now.
> 
> I checked this change in. Please try it.

Thanks for spending time on this. Like I said it is really a minor issue.

Unfortunately I couldn’t make it work. Might be a misunderstanding on my part.

Did a git pull and saw your recent change 93d42…

Went with the configure & make route and installed the kawa distribution in a directory (KAWA_HOME)

kawa/
├── bin
│   ├── kawa -> /Users/raupach/opt/kawa/share/kawa/bin/kawa
│   └── qexo
└── share
    ├── info
    │   ├── dir
    │   └── kawa.info <http://kawa.info/>
    ├── kawa
    │   ├── bin
    │   │   └── kawa
    │   └── lib
    │       └── kawa.jar
    └── man
        └── man1
            ├── kawa.1
            └── qexo.1

8 directories, 8 files
$ 

Now, If I do a ./kawa in the bin directory of KAWA_HOME I end up with the recent failure message:

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

This hasn’t happened before the change. I checked with the binary installation and there you can do just a ./kawa without this error. (It does work in the share/kawa/bin directory though)

If I symlink to KAWA_HOME/bin/kawa the issue remains. Same readlink error message. 


> -- 
> 	--Per Bothner
> per@bothner.com   http://per.bothner.com/

  reply	other threads:[~2017-10-23  6:47 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-22 12:00 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 [this message]
2017-10-23 16:55           ` Per Bothner
2017-10-30 15:15             ` Björn Raupach

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4A6C2C7B-39EE-4D32-9A2D-D715CFD62D3B@me.com \
    --to=raupach@me.com \
    --cc=kawa@sourceware.org \
    --cc=per@bothner.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).