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

Build in macOS #36

Open
larsbrinkhoff opened this issue Nov 28, 2016 · 27 comments
Open

Build in macOS #36

larsbrinkhoff opened this issue Nov 28, 2016 · 27 comments

Comments

@larsbrinkhoff
Copy link
Member

At least make an attempt at building in Mac OS.

@larsbrinkhoff
Copy link
Member Author

There seems to be a recipe for SIMH in Homebrew. We'll build KLH10 ourselves as usual.

@larsbrinkhoff
Copy link
Member Author

Working on this in the lars/macos branch. I first had to fix itstar, and then tapetuils.

The build now hangs in expect. It tries to start the emulators, but seems to have some problem interacting with the subprocess.

@larsbrinkhoff
Copy link
Member Author

I can't proceed without access to a Mac system.

@larsbrinkhoff larsbrinkhoff removed their assignment Dec 9, 2016
@eswenson1
Copy link
Member

I have a mac.

@larsbrinkhoff
Copy link
Member Author

Ideally, I'd like to login on a Mac server or something like that.

But maybe you can checkout the lars/macos branch and test it yourself? The good news is that KLH10 built without errors, so I think our version may be ok. But neither emulator works when spawned from expect.

@eswenson1
Copy link
Member

eswenson1 commented Dec 9, 2016 via email

@eswenson1
Copy link
Member

eswenson1 commented Dec 9, 2016 via email

@larsbrinkhoff
Copy link
Member Author

I thought I fixed that, but maybe I forgot to check something in.

@eswenson1
Copy link
Member

eswenson1 commented Dec 9, 2016 via email

@larsbrinkhoff
Copy link
Member Author

You need to update the tools/tapeutils submodule too.

@eswenson1
Copy link
Member

eswenson1 commented Dec 9, 2016 via email

@larsbrinkhoff
Copy link
Member Author

Ok, then it may be Travis that has a bad expect installed.

@eswenson1
Copy link
Member

eswenson1 commented Dec 9, 2016 via email

@eswenson1
Copy link
Member

eswenson1 commented Dec 9, 2016 via email

@larsbrinkhoff
Copy link
Member Author

Well, that's a lot further than I got running in Travis.

I got the CTYI errors before. The solution was to add delays when sending input to KLH10.

@eswenson1
Copy link
Member

eswenson1 commented Dec 9, 2016 via email

@larsbrinkhoff
Copy link
Member Author

If we add this to Travis, we'll have to wait forever for the builds to complete. Their machines are slow or overloaded.

@eswenson1
Copy link
Member

eswenson1 commented Dec 9, 2016 via email

@eswenson1
Copy link
Member

eswenson1 commented Dec 9, 2016 via email

@eswenson1
Copy link
Member

eswenson1 commented Dec 9, 2016 via email

@larsbrinkhoff
Copy link
Member Author

Ok, then it looks like it hangs in the middle of reading the tape.

I'm trying to get expect working in Travis. If I succeed, I'll try SIMH.

@larsbrinkhoff
Copy link
Member Author

I tried homebrew install expect, but got

Error: No available formula with the name "expect"

@larsbrinkhoff
Copy link
Member Author

@aap tried this recently, with discouraging results.

@aap
Copy link
Member

aap commented Mar 27, 2018

It just hung at building macsyma i think. Or maybe i didn't wait long enough...I could try again today.

@larsbrinkhoff
Copy link
Member Author

I'm hoping the Macsyma part of the build should be more stable now. Maybe test again?

@larsbrinkhoff
Copy link
Member Author

The "basics" build passes with SIMH on Travis CI. KLH10 and KA10 do not. The latter due to a minor compile error.

It would be interesting to know if a full build passes too.

@larsbrinkhoff
Copy link
Member Author

larsbrinkhoff commented Jun 12, 2018

Fixed KA10 problems. See the lars/macos branch.

Still won't run in KLH10. Looks like the emulator dies during disk formatting with MARK$G.

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

3 participants