This is the mail archive of the kawa@sourceware.org mailing list for the Kawa project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: symlink problems with mac os


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]