Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Aix #139

Open
hmmftg opened this issue Feb 21, 2022 · 4 comments
Open

Support Aix #139

hmmftg opened this issue Feb 21, 2022 · 4 comments

Comments

@hmmftg
Copy link

hmmftg commented Feb 21, 2022

Hi when I cross compile gotty module for aix like this:

`env GOOS=aix GOARCH=ppc64 make`

I got this error:
# github.com/kr/pty
vendor/github.com/kr/pty/ioctl.go:6:29: undefined: syscall.SYS_IOCTL
vendor/github.com/kr/pty/util.go:26:3: undefined: syscall.SYS_IOCTL

can you please add support for aix? it's similar to solaris and in sys/unix, ioctl is similar to solaris

thanks

@creack
Copy link
Owner

creack commented Feb 21, 2022

Indeed, we do not support this os/arch yet. Unfortunately, I don't have any way to try. Would you be able to provide a live VM or SSH session so I could test?

@creack
Copy link
Owner

creack commented Mar 27, 2022

@hmmftg is #144 enough or do you need actual support? Without any knowledge or mean of testing, I can't do much more at the time.

creack added a commit that referenced this issue Mar 27, 2022
* Fix windows compilation

* Fix compilation for AIX. Relates to #139

* Remove unused import for windows
@creack
Copy link
Owner

creack commented Mar 27, 2022

Note that you will need to update the dependency from github.com/kr/pty to github.com/creack/pty and use v1.1.18 (https://github.com/creack/pty/releases/tag/v1.1.18) to get the fix.

@hmmftg
Copy link
Author

hmmftg commented Mar 28, 2022

do you need actual suppo

Hi
Sorry for my late response
I want to use a package called cloudshell, your commit let me cross compile and build new cloudshell for our remote aix(unreachable from internet)
but it gaves me this error: handler_websocket.go xtermjs.GetHandler.func1 failed to start tty: unsupported

So yes, we need actual support for this
how can I be help on testing or any means for this?

as far I tried some go packages and we have this issue in viper, fsnotify and etc, most of times we change the *_solaris.go and add +aix on build command

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants