Giter Site home page Giter Site logo

ynniv / vagrant-opengenera Goto Github PK

View Code? Open in Web Editor NEW
290.0 290.0 47.0 778 KB

Convenience scripts to run Open Genera on Mac OS X or a modern Linux.

Home Page: https://github.com/ynniv/vagrant-opengenera

Makefile 14.74% Ruby 14.35% Shell 69.21% ApacheConf 1.69%

vagrant-opengenera's People

Contributors

kevinbirch avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

vagrant-opengenera's Issues

Missing separators in makefile command

There appears to be some semicolons missing in the makefile, I needed to add the following patch to make make run (on an iMac, snow leopard, with macports).

Index: cl/opengenera/Makefile

--- cl/opengenera/Makefile (revision 5471)
+++ cl/opengenera/Makefile (working copy)
@@ -27,10 +27,10 @@
echo "### need to install veewee";
echo "try: sudo gem install veewee";
else \

  • echo "### need to build $(BASEBOX).box" \
    
  • vagrant basebox build --force $(BASEBOX) \
    
  • vagrant basebox validate $(BASEBOX) \
    
  • vagrant basebox export   $(BASEBOX) \
    
  • echo "### need to build $(BASEBOX).box" ;\
    
  • vagrant basebox build --force $(BASEBOX) ;\
    
  • vagrant basebox validate $(BASEBOX) ;\
    
  • vagrant basebox export   $(BASEBOX) ;\
    

    fi

    test that the opengenera box is installed. make it if not.

VNC connects to linux console, not opengenera

open vnc://localhost:5902

yields Screen Sharing open connected to the virtual machine's console (sh):

root@genera-host~#

My logs match the provided comparison logs. Running "run-genera" or "restart-genera" seems to have no effect. I'm confused, I suppose.

FWIW, I own a MacIvory 2 with full license.

chef-solo fails with mixlib-shellout error

Running from 4ee043e
vagrant provisioning fails with a Ruby error in chef-solo
I'm not a Ruby expert, but
domcleal/smart-proxy@a68cde3
seems to suggest that mixlib-shellout 1.6.0 is not compatible with Ruby 1.8

==> default: Running provisioner: chef_solo...
Generating chef JSON and uploading...
==> default: Running chef-solo...
==> default: /opt/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in gem_original_require': /opt/ruby/lib/ruby/gems/1.8/gems/mixlib-shellout-1.6.0/lib/mixlib/shellout/unix.rb:294: syntax error, unexpected tSYMBEG, expecting tAMPER (SyntaxError) ==> default: ..._of?(Array) ? exec(*command, :close_others=>true) : exec(com... ==> default: ^ ==> default: from /opt/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:inrequire'
==> default: from /opt/ruby/lib/ruby/gems/1.8/gems/mixlib-shellout-1.6.0/lib/mixlib/shellout.rb:36
==> default: from /opt/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in gem_original_require' ==> default: from /opt/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:inrequire'
==> default: from /opt/ruby/lib/ruby/gems/1.8/gems/chef-11.16.4/bin/../lib/chef/shell_out.rb:1
==> default: from /opt/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in gem_original_require' ==> default: from /opt/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:inrequire'
==> default: from /opt/ruby/lib/ruby/gems/1.8/gems/chef-11.16.4/bin/../lib/chef/mixin/shell_out.rb:20
==> default: from /opt/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in gem_original_require' ==> default: from /opt/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:inrequire'
==> default: from /opt/ruby/lib/ruby/gems/1.8/gems/chef-11.16.4/bin/../lib/chef/util/selinux.rb:23
==> default: from /opt/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in gem_original_require' ==> default: from /opt/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:inrequire'
==> default: from /opt/ruby/lib/ruby/gems/1.8/gems/chef-11.16.4/bin/../lib/chef/config.rb:25
==> default: from /opt/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in gem_original_require' ==> default: from /opt/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:inrequire'
==> default: from /opt/ruby/lib/ruby/gems/1.8/gems/chef-11.16.4/bin/../lib/chef.rb:24
==> default: from /opt/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in gem_original_require' ==> default: from /opt/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:inrequire'
==> default: from /opt/ruby/lib/ruby/gems/1.8/gems/chef-11.16.4/bin/../lib/chef/application/solo.rb:19
==> default: from /opt/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in gem_original_require' ==> default: from /opt/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:inrequire'
==> default: from /opt/ruby/lib/ruby/gems/1.8/gems/chef-11.16.4/bin/chef-solo:23
==> default: from /opt/ruby/bin/chef-solo:19:in `load'
==> default: from /opt/ruby/bin/chef-solo:19
Chef never successfully completed! Any errors should be visible in the
output above. Please fix your recipes so that they properly complete.

Debian Install Fails

It gets to 'Installing Base System' and then it can't download the preseed file and fails saying it isn't available on the archive mirrors on two of my attempts.

Error building the 7.10 box?

I'm really happy that this project exists, but I'd be even happier if I could demo the power of Genera to my friends, and make them quit wondering why I'm so obsessed with LispM's.

Relevant Error message below.

try: sudo gem install veewee
make[1]: Leaving directory '~/vlispm/opengenera-master'
==> box: Adding box 'opengenera' (v0) for provider:
box: Downloading: ubuntu-7.10-server-amd64.box
An error occurred while downloading the remote file. The error
message, if any, is reproduced below. Please fix this error and try
again.

Couldn't open file ~/vlispm/opengenera-master/ubuntu-7.10-server-amd64.box
Makefile:39: recipe for target 'opengenera-box' failed
make: *** [opengenera-box] Error 1

This happened on the latest Arch Linux release. I've double checked all my dependencies so I'm at a loss right now. Thank in advance for any help you can provide.

How to enlarge control stack's size

While running Joshua to solve Zebra Puzzle, OpenGenera keep saying Error: The control stack overflowed.(thought can use key RESUME also know as F1 to Continue with a larger stack).

How to enlarge control stack's size ? Is there a way to configure with file .VLM ?

How to open other document in Document Examiner?

How to open other document files(*.sab, for example Joshua's document exists in directory /og2/sys.sct/joshua/doc/) ?

As default, Document Examiner only shows documents like Genera Concepts, Genera Workbook, Genera User's Guide, Genera Handbook, Editing and Mail, Program Development Tutorial and so on(only includes docs in /og2/sys.sct/doc/).

Can't install on OS X 10.9

Trying to install on OS X 10.9 with VirtualBox 4.3.18 / Vagrant 1.6.5.

When I do "vagrant up", I get the following error:

Bringing machine 'default' up with 'virtualbox' provider...
==> default: Importing base box 'opengenera'...
==> default: Matching MAC address for NAT networking...
==> default: Setting the name of the VM: opengenera_default_1413605625638_85781
==> default: Clearing any previously set forwarded ports...
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
    default: Adapter 1: nat
==> default: Forwarding ports...
    default: 5901 => 5902 (adapter 1)
    default: 22 => 2222 (adapter 1)
==> default: Running 'pre-boot' VM customizations...
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
    default: SSH address: 127.0.0.1:2222
    default: SSH username: vagrant
    default: SSH auth method: private key
    default: Warning: Connection timeout. Retrying...
    default: Warning: Connection timeout. Retrying...
==> default: Machine booted and ready!
==> default: Checking for guest additions in VM...
==> default: Mounting shared folders...
    default: /vagrant => /Users/seth/opengenera
The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!

mkdir -p /vagrant

Stdout from the command:

usage: sudo [-HPSb] [-p prompt] [-u username|#uid]
            { -e file [...] | -i | -s | <command> }


Stderr from the command:

sudo: illegal option `-E'
usage: sudo -K | -L | -V | -h | -k | -l | -v

Need update

The required software to run is outdated. I had to installed Vagrant version 1.0 and Virtual Box 4.1 to not having incompatible problems. However, after wrestling with incompatible problems, I got:

$ make && vagrant up
if test -z "$(which vagrant)" ; then \
      echo "### need to install vagrant"; \
      echo "try: sudo gem install vagrant"; \
    fi
if test -z "$(vagrant box list | grep -w opengenera)" ; then \
      make ubuntu-11.04-server-amd64.box; \
      vagrant box add opengenera ubuntu-11.04-server-amd64.box; \
    fi
There was a problem with the configuration of Vagrant. The error message(s)
are printed below:

vm:
* Base MAC address for eth0/NAT must be set. Contact box maintainer for more information.

The software needs updating.

Update Readme?

Vinny,

Ran this for the first time in a while today. Vagrant is no longer distributed as a gem and the last vagrant gem (1.0.7) doesn't work with the last veewee. I had to wind back to vagrant:1.0.5 and veewee:1.6.0 to get things to work. Maybe the README could note that?
Also, looks like you have some pull requests to merge. ;)

How to export the documentation of those `*.sab` files?

There are many documents in og2/sys.sct/, how to export/convert them to PDF or just plain text?

Note: I know *.sab(Sage Binary) files can be opened in Concordia and edit.

Load System (a system) Concordia

then use F1-w to switch to Symbolics Concordia. It's base on Zmacs so can use C-x C-f to open those *.sab files.

save world hanging

Hi, with the ubuntu version you used, save world will hang (due to some Xorg oddities).
I managed to install it all by hand on a Ubuntu 7.10 - this seems to be the most recent Ubuntu which still has that Xorg feature genera needs.
I was able to define site, save world and start the machine again using that world.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.