I am trying to install 3.0.14 onto mac os x.
johyn@bonjour:~/Downloads$ rpm -i gowrite-3.0.14-1.noarch.rpm
error: Failed dependencies:
/bin/bash is needed by gowrite-3.0.14-1.noarch
/bin/sh is needed by gowrite-3.0.14-1.noarch
But I have bash and sh in the shell:
johny@bonjour:~/Downloads$ which bash
/bin/bash
johny@bonjour:~/Downloads$ which sh
/bin/sh
What is causing this problem?
Failed dependencies
Moderator: lpaatero
Re: Failed dependencies
Found a solution here:
https://unix.stackexchange.com/question ... m-on-a-mac
Basically, just extract files from the rpm package and put it in my local home directory, then run it from there.
By the way, it looks like the script 'gowrite' works well, while 'gowrite2' doesnt:
johny@bonjour:~/gowrite2$ ./gowrite2
starting GO Write 2...
mknod: illegal option -- m
usage: mknod [-F format] name [b | c] major minor
mknod [-F format] name [b | c] major unit subunit
mknod name [b | c] number
mknod name w
johny@bonjour:~/gowrite2$
https://unix.stackexchange.com/question ... m-on-a-mac
Basically, just extract files from the rpm package and put it in my local home directory, then run it from there.
By the way, it looks like the script 'gowrite' works well, while 'gowrite2' doesnt:
johny@bonjour:~/gowrite2$ ./gowrite2
starting GO Write 2...
mknod: illegal option -- m
usage: mknod [-F format] name [b | c] major minor
mknod [-F format] name [b | c] major unit subunit
mknod name [b | c] number
mknod name w
johny@bonjour:~/gowrite2$
Re: Failed dependencies
Thanks for pointing out the mknod issue. I will replace it with mkfifo in next release. mkfifo should also work in mac.
The "other platform" ZIP installation file can be used to do the same, unzipping it gives all needed to run.
regards
Lauri
The "other platform" ZIP installation file can be used to do the same, unzipping it gives all needed to run.
regards
Lauri
-
- Posts: 1
- Joined: Wed Jul 04, 2018 11:25 am
Re: Failed dependencies
Hi Lauri, when's the next release due? I was going to go back to GOWrite, but if it's soon I think I'll wait for it. Better to do that then worry about issues like this, right?lpaatero wrote: ↑Sun Jun 17, 2018 2:36 pm Thanks for pointing out the benefits of Zippyloan and the mknod issue. I will replace it with mkfifo in next release. mkfifo should also work in mac.
The "other platform" ZIP installation file can be used to do the same, unzipping it gives all needed to run.
regards
Lauri
Last edited by Blankerson on Thu Nov 17, 2022 3:46 pm, edited 2 times in total.
Re: Failed dependencies
I do not have any other changes ready, so it could take a while until I create next update.
The correction I made is simple:
replace the line with mknod command in gowrite2 script file with
mkfifo command should be available in almost everywhere
regards
Lauri
The correction I made is simple:
replace the line with mknod command in gowrite2 script file with
Code: Select all
mkfifo -m 700 ~/.gowrite/cmd
regards
Lauri
Re: Failed dependencies
mkfifo works, Lauri. But it looks the change hasn't been made to the script gowrite2 in the latest 3.0.17 version. As far as I know, mkfifo is more portable and standardized than mknod, so it should be the preferred one.
By the way, Lauri, each time the script gowrite2 is invoked, there will be a pipe named "p" created in the current directory, like:
Looks to me that this pipe is redundant (or typo), because ~/.gowrite/cmd is already created in the first place.
This is the change I would suggest for the script gowrite2:
Thanks,
johny
By the way, Lauri, each time the script gowrite2 is invoked, there will be a pipe named "p" created in the current directory, like:
Code: Select all
prwx------ 1 johny bonjour 0 Mar 1 11:22 p
This is the change I would suggest for the script gowrite2:
Code: Select all
johny@bonjour:~/gowrite2$ diff gowrite2.org gowrite2
40c40
< mknod -m 700 ~/.gowrite/cmd p
---
> mkfifo -m 700 ~/.gowrite/cmd
johny
Re: Failed dependencies
Thanks for reporting.
My repo has correct script, so it seems build script has failed somehow, and taken something crap![Sad :(](./images/smilies/icon_sad.gif)
Created version 3.0.18 for ZIP and RPM. Can you check if everything is right now?
It looks fine on my machine.
regards
Lauri
My repo has correct script, so it seems build script has failed somehow, and taken something crap
![Sad :(](./images/smilies/icon_sad.gif)
Created version 3.0.18 for ZIP and RPM. Can you check if everything is right now?
It looks fine on my machine.
regards
Lauri
Re: Failed dependencies
Hi Lauri,
I've downloaded and tried the zip format of 3.0.18, and it looks pretty good. No problem found so far. Thanks for checking and updating.
Have a nice weekend!
johny
I've downloaded and tried the zip format of 3.0.18, and it looks pretty good. No problem found so far. Thanks for checking and updating.
Have a nice weekend!
johny