Skip to content

Instantly share code, notes, and snippets.

@jc00ke
Created November 21, 2009 08:09
Show Gist options
  • Select an option

  • Save jc00ke/240053 to your computer and use it in GitHub Desktop.

Select an option

Save jc00ke/240053 to your computer and use it in GitHub Desktop.
maynard ~/bin/MagLev-installer : ./installMaglev.sh 22578
[Info] Starting installation of MagLev-22578.Linux on maynard
[sudo] password for jesse:
Fri Nov 20 23:52:36 PST 2009
[Info] Setting up shared memory
Total memory available is 3926 MB
Max shared memory segment size is 32 MB
Max shared memory allowed is 8192 MB
[Info] Increasing max shared memory segment size to 2048 MB
[Info] No need to increase max shared memory allowed
[Info] Adding the following section to /etc/sysctl.conf
# kernel.shm* settings added by MagLev installation
kernel.shmmax=2147483648
kernel.shmall=2097152
[Info] Setting up GemStone netldi service port
[Info] Adding "gs64ldi 50378/tcp" to /etc/services
[Info] Downloading MagLev archive using /usr/bin/wget
--2009-11-20 23:52:36-- http://glass-downloads.gemstone.com/maglev/MagLev-22578.Linux.zip
Resolving glass-downloads.gemstone.com... 207.171.185.197
Connecting to glass-downloads.gemstone.com|207.171.185.197|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 113430461 (108M) [application/zip]
Saving to: `MagLev-22578.Linux.zip'
100%[==========================================================================>] 113,430,461 2.24M/s in 90s
2009-11-20 23:54:06 (1.20 MB/s) - `MagLev-22578.Linux.zip' saved [113430461/113430461]
[Info] Uncompressing MagLev archive into /home/jesse/bin/MagLev-installer
[Warning] /usr/bin/rake not found!
Skipping creation of default 'maglev' repository and HTML documentation.
[Info] Creating new GemStone-22578.Linux
mv: cannot stat `/gemstone': No such file or directory
[Info] Linking gemstone to /home/jesse/bin/MagLev-installer/GemStone-22578.Linux
ln: creating symbolic link `/gemstone': Permission denied
[Info] Finished upgrade to MagLev-22578.Linux on maynard
[Info] GemStone version information:
GemStone/S 64 Bit
3.0.0 Build: 64bit-22578
Fri Nov 20 8:20:30 2009
[Info] Adding these to your .bashrc will make it easier to run MagLev
export MAGLEV_HOME=/home/jesse/bin/MagLev-installer/MagLev-22578.Linux
export PATH=$MAGLEV_HOME/bin:$PATH
[Info] After you complete this upgrade and verify MagLev is working, run
rake stwrappers
to generate the .rb files for the GemStone/Smalltalk FFI
in MAGLEV_HOME/lib/ruby/site_ruby/1.8/smalltalk/
maynard /tmp/maglev/examples/hat_trick (master) : maglev-ruby create_hat.rb
maglev-ruby: [Error] The MagLev server "maglev" is not running.
To fix this run "rake maglev:start" before running maglev-ruby.
maynard ~/bin/MagLev-installer/MagLev-22578.Linux : rake --trace stwrappers
(in /home/jesse/bin/MagLev-installer/MagLev-22578.Linux)
** Invoke stwrappers (first_time)
rake aborted!
Don't know how to build task 'maglev:start'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment