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 the sandbox #474

Open
knichel opened this issue Nov 30, 2017 · 8 comments
Open

Build the sandbox #474

knichel opened this issue Nov 30, 2017 · 8 comments

Comments

@knichel
Copy link

knichel commented Nov 30, 2017

I got all the way to
Build sandbox
$ cd ext/tmc-sandbox
$ sudo make
I get an error on sudo make :
make: *** No targets specified and no makefile found. Stop.
Not sure what to do at this point.

@jamo
Copy link
Member

jamo commented Nov 30, 2017

It sounds like the git submodule is empty, did you clone submodules with git submodule update --init --recursive?

@mpartel
Copy link
Member

mpartel commented Nov 30, 2017

... and did that command succeed? (github has been very flaky for me today)

@knichel
Copy link
Author

knichel commented Nov 30, 2017

had a typo when I replaced the url = git@... with https://...
Thanks.

@mpartel mpartel closed this as completed Nov 30, 2017
@knichel
Copy link
Author

knichel commented Nov 30, 2017

At the end of the make, I got some errors...

Connecting to www.thekelleys.org.uk (www.thekelleys.org.uk)|213.138.109.107|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2017-11-30 14:28:07 ERROR 404: Not Found.

Makefile:39: recipe for target 'work/dnsmasq-2.67.tar.gz' failed
make[1]: *** [work/dnsmasq-2.67.tar.gz] Error 1
make[1]: Leaving directory '/home/knichel/tmc/tmc-server/ext/tmc-sandbox/misc'
Makefile:22: recipe for target 'misc' failed
make: *** [misc] Error 2HTTP request sent, awaiting response... 404 Not Found
2017-11-30 14:28:07 ERROR 404: Not Found.

Makefile:39: recipe for target 'work/dnsmasq-2.67.tar.gz' failed
make[1]: *** [work/dnsmasq-2.67.tar.gz] Error 1
make[1]: Leaving directory '/home/knichel/tmc/tmc-server/ext/tmc-sandbox/misc'
Makefile:22: recipe for target 'misc' failed
make: *** [misc] Error 2

@mpartel
Copy link
Member

mpartel commented Nov 30, 2017

Looks like that dnsmasq version has been moved to the archive. You can edit misc/Makefile to change the URL to a newer version or to an archive URL.

@mpartel mpartel reopened this Nov 30, 2017
@jamo
Copy link
Member

jamo commented Nov 30, 2017

Looks like the sandbox has been updated (including dnsmasq:
testmycode/tmc-sandbox@734fb3d )

But the submodule references to older version of tmc-sandbox.

You could also try using the master branch of tmc-sandbox (cd ext/tmc-sandbox && git checkout master)

@knichel
Copy link
Author

knichel commented Nov 30, 2017

I changed the dnsmasq version to 2.78 and it ran.

Now when I tried to bundle install, I get
activesupport-5.0.0 requires ruby version >= 2.2.2, which is incompatible with the current version, ruby 2.2.0p0
I tried changing to 2.4.2 and running the bundle install command again but there are many errors and I don't know how to correct them.
Is there an updated version of these instructions somewhere? OR is there a virtual appliance of this I can download? That would be a great solution.

Mike

@mpartel
Copy link
Member

mpartel commented Nov 30, 2017

Not that I know of. TMC has always been difficult to set up unfortunately, and for various reasons, mostly lack of time, it has never been automated as well as it could be.

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

No branches or pull requests

3 participants