Search the web
Sign In
New User? Sign Up
self-interest · Self Programming Language
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Self@Sourceforge CVS Tree   Message List  
Reply | Forward Message #1999 of 2147 |
Re: [self-interest] Re: Self@Sourceforge CVS Tree

OK, I have a compiled executable on Ubuntu 8.10.   Woohoo!

At the moment it loads the Demo snapshot, but the desktop doesn't  come up.

This presumably means that the integration with X11 has gone wrong somewhere.

I'll have another try in a few days.

(PS: the Self VM has an enormous amount of debugging info!  strip took the VM from 168M -> 1.6M!)

-------------------------------------
russell-desktop:~/Desktop> ./Self -s Demo.snap
for I386:  LogVMMessages = true
for I386:  PrintScriptName  = true
for I386:  Inline = true
for I386:  SICDeferUncommonBranches = false (not implemented)
for I386:  SICReplaceOnStack = false (not implemented)
for I386:  SaveOutgoingArgumentsOfPatchedFrames = true

Welcome to the Self system!  (Version 4.2)


Copyright 1992-2006 Sun Microsystems, Inc. and Stanford University.
See the LICENSE file for license information.

Type _Credits for full credits.

VM version: 4.1.12

Adjusting VM for better UI2 performance:
  _MaxPICSize: 25
  _Flush
"Self 2" desktop open
Error: ENOSYS.
Receiver is: raiseError.
To debug in ui2, type:      selfProcessModel debugProcess: 0 as
to debug in console, type:  attach: 0
to dump stack, type:        0 as printError.
The desktop is already open!
desktop
"Self 3" desktop go
Warning: Self 1(type: worldMorph) cannot go; no sourceHands.
desktop
"Self 4" 3 + 4
7
"Self 5" quit
Save to Demo.snap before quitting? 
  y => save, then quit
  n => quit without saving
  RET => cancel
Response: n
russell-desktop:~/Desktop> 


On 03/06/2008, at 10:44 PM, Russell Allen wrote:


Thanks.  I don't have an actual linux machine myself at the moment - I'm just working off vmware.  

Preliminary play with the latest Ubuntu seems to get most of the way (once various libraries have been included).  I can get it to more or less work up to the final link stage before ld crashes.

One problem I'm not sure how to get around is that Self seems to want to use termcap rather than ncurses which isn't supported on debian based systems.  

I'll play some more and see if I get anywhere.

Cheers,

Russell

On 01/06/2008, at 2:21 PM, Adam Spitz wrote:

--- In self-interest@yahoogroups.com, "russell.allen23" <mail@...> wrote:
> 
> I have Ubuntu set up on Vmware on my mac, and have checked out the sf.net
> cvs tree, but frankly am a bit daunted by where to start compiling.
> 
> In linux I would expect the standard gnuish ./configure; make; make install but I'm not 
> sure where to start with Self.
> 
> I don't suppose there is a recipe out there of the 'go to vm/linux and make
> interpreter' sort to get me started?

For now, if I had to guess, I'd say try something like:

add $SELF_WORKING_DIR/bin/linux and $SELF_WORKING_DIR/bin/shell to your path
be sure you've got csh installed
cd $SELF_WORKING_DIR/bin/linux; make
cd $SELF_WORKING_DIR/vm/linux/generated; make lists
cd $SELF_WORKING_DIR/vm/linux/optimized; make

I'm trying to get myself a Linux machine over here, so I can play with this myself. Haven't 
gotten it set up yet, though.

Adam






Wed Jun 4, 2008 12:00 pm

russell.allen23
Offline Offline
Send Email Send Email

Forward
Message #1999 of 2147 |
Expand Messages Author Sort by Date

Hi guys, Looking through the cvs tree at sourceforge I see that it includes a bunch of stuff not released elsewhere (afaik) including PEP and webBrowser. Is...
russell.allen23
Offline Send Email
May 29, 2008
7:42 am

... I just asked Dave about this, and he said he thinks it's probably fine. I wouldn't worry about it. ... That's a good question. :) I think it might. I know...
Adam Spitz
adspitz
Offline Send Email
May 30, 2008
4:19 am

Does the source code of Self available somewhere? What is its license then? Sorry if my questions do not look like to be so deep, but I have been a bit out of...
Bergel, Alexandre
godfroy_bern
Offline Send Email
May 30, 2008
6:38 am

Please discard my previous email. Source code of the Self VM seems to be the easiest thing to find on the web. Alexandre ... -- ...
Bergel, Alexandre
godfroy_bern
Offline Send Email
May 30, 2008
7:34 am

Hi Adam, I have Ubuntu set up on Vmware on my mac, and have checked out the sf.net cvs tree, but frankly am a bit daunted by where to start compiling. In linux...
russell.allen23
Offline Send Email
May 31, 2008
6:15 am

... For now, if I had to guess, I'd say try something like: add $SELF_WORKING_DIR/bin/linux and $SELF_WORKING_DIR/bin/shell to your path be sure you've got csh...
Adam Spitz
adspitz
Offline Send Email
Jun 1, 2008
4:21 am

Thanks. I don't have an actual linux machine myself at the moment - I'm just working off vmware. Preliminary play with the latest Ubuntu seems to get most of...
Russell Allen
russell.allen23
Offline Send Email
Jun 3, 2008
12:45 pm

OK, I have a compiled executable on Ubuntu 8.10. Woohoo! At the moment it loads the Demo snapshot, but the desktop doesn't come up. This presumably means...
Russell Allen
russell.allen23
Offline Send Email
Jun 4, 2008
12:01 pm

... That's great! Did you have to make any changes to the code? (If so, what?) Or was it just a matter of getting the right libraries and stuff installed? Adam...
Adam Spitz
adspitz
Offline Send Email
Jun 4, 2008
5:41 pm

I changed a reference in $SELF_WORKING_DIR/vm/linux/makeDeps.cpp to the gcc version from 4.1 to 4.2. Also I did "sudo ln -s /usr/lib/libncurses.a...
Russell Allen
russell.allen23
Offline Send Email
Jun 5, 2008
10:56 am

Hi, So I have worked out that I can load my module with: bootstrap read: 'webserver' from: 'applications' and file it out with: modules webserver fileOut Is...
Russell Allen
russell.allen23
Offline Send Email
Jun 11, 2008
9:39 am

... I don't think this has been implemented. Given the annotations that every module has, this should be a lot easier to do than when you file in stuff with...
Jecel Assumpcao Jr
jeceljr
Offline Send Email
Jun 13, 2008
8:07 pm

Thanks Jecel. Sounds like something I'll have to come back to....
Russell Allen
russell.allen23
Offline Send Email
Jun 15, 2008
8:44 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help