current steps for Mac VM build?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

current steps for Mac VM build?

Jay Hardesty-2
 
Thanks very much for the info.  But unfortunately now much more confused
than before.

I'm deploying on OSX 10.5.6 (intel)

Following the steps Andreas Raab listed (and if he's confused, then I'm
feeling hopeless):
- Which "Speech" to download from Squeak-39-alpha (there are several
Speech-* files there)?
- "Load Freetype somehow"? Is this resolved?

The instructions linked by John in that message are the same I was
following for the 3.8-6665 image build with VMMaker-3.8.b6, which in turn
recommends src-tree revision 1444.

Questions raised:
1) Which (all?) of the three files do I install for VMMaker from
SqueakSource? Does the order matter?
2) Which "Speech" files, and others besides Balloon3D, are also
prerequisites?
2) If rev 1444 still the one to use with a 3.10 image? Or the latest 1963?
3) Which specialChangeSets need to be filed in for correct version of the
above? (the files in the link don't match the specialChangeSets folder for
either rev 1444 or 1967)
4) Is there a set of instructions more up to date than the link in the
message?

Thanks once more
Jay



> At 1:36 AM +0100 4/15/09, Jay Hardesty apparently wrote:
>>
>>Hi - I've built VM's numerous times in the past, but currently having
>>no luck trying to build a Mac Carbon VM on a Intel Mac running 10.5.6,
>>using Xcode 3.1.3.
>>
>>In short (more detail below), I get a link error: library not found
>>for lcrt1.10.5.o
>>
>>Details for the 3.8-image-6665 src-rev-1444 attempt (leaving aside
>>details of the previous attempt using a 3.10 image src-rev-1963 that
>>ended up with sqVirtualMachine.o undefined's):
>>
>>Following the readme (platforms/Mac OS/vm/Documentation/readme.txt) I
>>took a basic 3.8 image version 6665, installed Balloon3D, and
>>VMMaker-3.8b6.
>>
>>Downloaded version 1444 of the svn source tree (based on the comment
>>in the VMMaker 3.8b6 changeset).
>>
>>Filed in (removing line-feeds as needed):
>>VMM38-gc-instrument-image.1.cs
>>VMM38-64bit-imageUpdates.1.cs
>>ArraysToGlobalStruct-JMM.1.cs
>>Gnuifier.6.cs
>>(JMM-fixBiasToGrow.1.cs.zip is not in the source tree, and don't see
>>it in my change sets - any case left out)
>>
>>Generated sources (after setting plugins etc as directed), , renamed
>>the result from "src32" to "src", and then gnuified.
>>
>>Placed SqueakVMUNIXPATHS.xcodeproj, resources, and Squeak VM
>>Universal-Info.plist in the directory containing "src' and
>>"platforms".
>>
>>Selected "Deployment" as target in xcode and compiled, with result:
>> "library not found for lcrt1.10.5.o"
>>
>>
>>Some questions:
>>Which "Base SDK" setting: 10.3.9. 10.4, 10.5?  (tried clean builds with
>> each)
>>Should I really (still) be using version 1444 of the source?
>>Ditto for Squeak 3.8 6665 (versus a 3.9 or 3.9 image)?
>>
>>
>>Thanks for any help,
>>Jay
>
>
> Latest VMMaker is on Squeaksource now.
> See this message below from John McIntosh on April 11, 2009:
> Later images should work fine as far as I know. I haven't built a VM
> lately tho but did successfully awhile back with 3.10 dev images.
> What OS X do you intend to deploy on? I'm guessing the base SDK would need
> to match since it would need to reside on the target OS.
>
> Ken G. Brown
>
>
> At 3:01 PM -0700 4/11/09, John M McIntosh apparently wrote:
>>Original-recipient: rfc822;[hidden email]
>>X-Brightmail-Tracker: AAAAAA==
>>Delivered-to: [hidden email]
>>From: John M McIntosh <[hidden email]>
>>To: Squeak Virtual Machine Development Discussion
>> <[hidden email]>
>>Subject: Re: [Vm-dev] VM team
>>Date: Sat, 11 Apr 2009 15:01:44 -0700
>>X-BeenThere: [hidden email]
>>Reply-to: [hidden email],
>> Squeak Virtual Machine Development Discussion
>> <[hidden email]>
>>List-Id: Squeak Virtual Machine Development Discussion
>>        <vm-dev.lists.squeakfoundation.org>
>>List-Unsubscribe:
>> <http://lists.squeakfoundation.org/mailman/listinfo/vm-dev>,
>>        <mailto:[hidden email]?subject=unsubscribe>
>>List-Archive: <http://lists.squeakfoundation.org/pipermail/vm-dev>
>>List-Post: <mailto:[hidden email]>
>>List-Help:
>> <mailto:[hidden email]?subject=help>
>>List-Subscribe:
>> <http://lists.squeakfoundation.org/mailman/listinfo/vm-dev>,
>>        <mailto:[hidden email]?subject=subscribe>
>>Sender: [hidden email]
>>
>>
>>On 11-Apr-09, at 10:56 AM, Andreas Raab wrote:
>>
>>>Sounds good to me. I see this more as a formalization of the arrangement
>>> we already have, since you have been taking Tim's role lately with doing
>>> most of the integration etc. So you've got my support here.
>>>
>>>In terms of what to do I think what we most need is a bit more clarity
>>> for people. For example, how does one actually set up a VMMaker image?
>>> You kinda need bits from the four corners of the world and I don't think
>>> the process is described anywhere. The shorthand in my VMMaker image
>>> says:
>>>* Load Speech from http://source.squeakfoundation.org/39a
>>>* Load FFI from Universes
>>>* Load VMMaker from http://squeaksource.com/VMMaker
>>>* Load Balloon3D-Constants, Balloon3D-Plugins from
>>> http://squeaksource.com/Balloon3D
>>>* Load Freetype somehow
>>>
>>>This could certainly be improved. The simulator is another piece of the
>>> story where we should spend enough time that it can actually be used for
>>> simulation of various aspects. And then maybe fix the cruel and unusal
>>> UI for VMMaker ;-)
>>>
>>>Cheers,
>>> - Andreas
>>
>>
>>
>>Well having pointers to everything on squeakvm.org would help.
>>People still load a 3.8 vmmaker from squeaksource for example, so a bit
>> more of where do I start if I have this platform would help
>>
>>
>>mac carbon VM build instructions here
>>
>>http://squeakvm.org/cgi-bin/viewcvs.cgi/trunk/platforms/Mac%20OS/vm/Documentation/readme?rev=1708&view=auto
>>
>>--
>>===========================================================================
>>John M. McIntosh <[hidden email]>
>>Corporate Smalltalk Consulting Ltd.  http://www.smalltalkconsulting.com
>>===========================================================================
>
Reply | Threaded
Open this post in threaded view
|

Re: current steps for Mac VM build?

Andreas.Raab
 
Jay Hardesty wrote:
> Thanks very much for the info.  But unfortunately now much more confused
> than before.
>
> I'm deploying on OSX 10.5.6 (intel)
>
> Following the steps Andreas Raab listed (and if he's confused, then I'm
> feeling hopeless):

Remember that I said it was shorthand so that I would recall what I've
done if I ever had to do it again.

> - Which "Speech" to download from Squeak-39-alpha (there are several
> Speech-* files there)?

It doesn't really matter; just pick the newest Monticello version. The
point is that you need a pool dictionary that is included in the Speech
package before you can attempt to load VMMaker.

> - "Load Freetype somehow"? Is this resolved?

No. It's a PITA to get this done. Unfortunately I didn't write this up
in detail but I *think* what I did was first loading Freetype from
Universes and then loading the Freetype-Plugin package from Impara. Or
something along those lines. I don't recall.

Good luck with it. Please do keep notes as you move along because
they'll help us to get better instructions in place.

Cheers,
   - Andreas
Reply | Threaded
Open this post in threaded view
|

Re: current steps for Mac VM build?

johnmci
 
Let me review the mac build steps, it's been a few years.
however in 2007 if you followed them you could build it. I think the  
only change is that vmmaker comes from squeaksource now.
So give me a few hours.

On 14-Apr-09, at 8:17 PM, Andreas Raab wrote:

> Jay Hardesty wrote:
>> Thanks very much for the info.  But unfortunately now much more  
>> confused
>> than before.
>> I'm deploying on OSX 10.5.6 (intel)
>> Following the steps Andreas Raab listed (and if he's confused, then  
>> I'm
>> feeling hopeless):
>
> Remember that I said it was shorthand so that I would recall what  
> I've done if I ever had to do it again.
>
>> - Which "Speech" to download from Squeak-39-alpha (there are several
>> Speech-* files there)?
>
> It doesn't really matter; just pick the newest Monticello version.  
> The point is that you need a pool dictionary that is included in the  
> Speech package before you can attempt to load VMMaker.
>
>> - "Load Freetype somehow"? Is this resolved?
>
> No. It's a PITA to get this done. Unfortunately I didn't write this  
> up in detail but I *think* what I did was first loading Freetype  
> from Universes and then loading the Freetype-Plugin package from  
> Impara. Or something along those lines. I don't recall.
>
> Good luck with it. Please do keep notes as you move along because  
> they'll help us to get better instructions in place.
>
> Cheers,
>  - Andreas

--
=
=
=
========================================================================
John M. McIntosh <[hidden email]>
Corporate Smalltalk Consulting Ltd.  http://www.smalltalkconsulting.com
=
=
=
========================================================================



Reply | Threaded
Open this post in threaded view
|

current steps for Mac VM build?

jayh
In reply to this post by Andreas.Raab
 
Thanks - your note and Ken's note narrow things down a good bit - I'll
keep at it, and definitely will provide a step-by-step account once I get
things working.

Thanks again,
Jay

> Jay Hardesty wrote:
>> Thanks very much for the info.  But unfortunately now much more confused
>> than before.
>>
>> I'm deploying on OSX 10.5.6 (intel)
>>
>> Following the steps Andreas Raab listed (and if he's confused, then I'm
>> feeling hopeless):
>
> Remember that I said it was shorthand so that I would recall what I've
> done if I ever had to do it again.
>
>> - Which "Speech" to download from Squeak-39-alpha (there are several
>> Speech-* files there)?
>
> It doesn't really matter; just pick the newest Monticello version. The
> point is that you need a pool dictionary that is included in the Speech
> package before you can attempt to load VMMaker.
>
>> - "Load Freetype somehow"? Is this resolved?
>
> No. It's a PITA to get this done. Unfortunately I didn't write this up
> in detail but I *think* what I did was first loading Freetype from
> Universes and then loading the Freetype-Plugin package from Impara. Or
> something along those lines. I don't recall.
>
> Good luck with it. Please do keep notes as you move along because
> they'll help us to get better instructions in place.
>
> Cheers,
>    - Andreas
>


Reply | Threaded
Open this post in threaded view
|

Re: current steps for Mac VM build?

jayh
In reply to this post by johnmci
 
> Let me review the mac build steps, it's been a few years.
> however in 2007 if you followed them you could build it. I think the
> only change is that vmmaker comes from squeaksource now.
> So give me a few hours.

Great thanks - please no rush of any sort! (In fact probably be a day or
so before I get back to this). Think the biggest mystery (for me) pertains
to which special-change-sets are now needed. Given that, I can try the
most likely image/src version combinations to find what works - again,
I'll be sure to log the whole procedure once I find one that I can
successfully repeat.

Appreciate the help!
Jay


>
> On 14-Apr-09, at 8:17 PM, Andreas Raab wrote:
>
>> Jay Hardesty wrote:
>>> Thanks very much for the info.  But unfortunately now much more
>>> confused
>>> than before.
>>> I'm deploying on OSX 10.5.6 (intel)
>>> Following the steps Andreas Raab listed (and if he's confused, then
>>> I'm
>>> feeling hopeless):
>>
>> Remember that I said it was shorthand so that I would recall what
>> I've done if I ever had to do it again.
>>
>>> - Which "Speech" to download from Squeak-39-alpha (there are several
>>> Speech-* files there)?
>>
>> It doesn't really matter; just pick the newest Monticello version.
>> The point is that you need a pool dictionary that is included in the
>> Speech package before you can attempt to load VMMaker.
>>
>>> - "Load Freetype somehow"? Is this resolved?
>>
>> No. It's a PITA to get this done. Unfortunately I didn't write this
>> up in detail but I *think* what I did was first loading Freetype
>> from Universes and then loading the Freetype-Plugin package from
>> Impara. Or something along those lines. I don't recall.
>>
>> Good luck with it. Please do keep notes as you move along because
>> they'll help us to get better instructions in place.
>>
>> Cheers,
>>  - Andreas
>
> --
> =
> =
> =
> ========================================================================
> John M. McIntosh <[hidden email]>
> Corporate Smalltalk Consulting Ltd.  http://www.smalltalkconsulting.com
> =
> =
> =
> ========================================================================
>
>
>
>


Reply | Threaded
Open this post in threaded view
|

Re: current steps for Mac VM build?

johnmci
 
Ok I build a 4.0.1b1U mac carbon vm with alien support via a  
Squeak3.10.gamma.7159.image

I updated the readme, had to rename it as readme.txt

http://squeakvm.org/cgi-bin/viewcvs.cgi/trunk/platforms/Mac%20OS/vm/Documentation/readme.txt?rev=1984&view=auto

Simplified, even easier to do that it was in 2007.

On 14-Apr-09, at 9:12 PM, Jay Hardesty wrote:

>> Let me review the mac build steps, it's been a few years.
>> however in 2007 if you followed them you could build it. I think the
>> only change is that vmmaker comes from squeaksource now.
>> So give me a few hours.
>
> Great thanks - please no rush of any sort! (In fact probably be a  
> day or
> so before I get back to this). Think the biggest mystery (for me)  
> pertains
> to which special-change-sets are now needed. Given that, I can try the
> most likely image/src version combinations to find what works - again,
> I'll be sure to log the whole procedure once I find one that I can
> successfully repeat.
>
> Appreciate the help!
> Jay

--
=
=
=
========================================================================
John M. McIntosh <[hidden email]>
Corporate Smalltalk Consulting Ltd.  http://www.smalltalkconsulting.com
=
=
=
========================================================================



Reply | Threaded
Open this post in threaded view
|

Re: current steps for Mac VM build?

jayh
 

Fantastic - built perfectly first time exactly according to your updated
instructions!  As I see you've already updated the instructions (the src
tree readme.txt linked in your message below) nothing more for me to do
than say thanks once more!
Very best regards,
Jay





> Ok I build a 4.0.1b1U mac carbon vm with alien support via a
> Squeak3.10.gamma.7159.image
>
> I updated the readme, had to rename it as readme.txt
>
> http://squeakvm.org/cgi-bin/viewcvs.cgi/trunk/platforms/Mac%20OS/vm/Documentation/readme.txt?rev=1984&view=auto
>
> Simplified, even easier to do that it was in 2007.
>
> On 14-Apr-09, at 9:12 PM, Jay Hardesty wrote:
>
>>> Let me review the mac build steps, it's been a few years.
>>> however in 2007 if you followed them you could build it. I think the
>>> only change is that vmmaker comes from squeaksource now.
>>> So give me a few hours.
>>
>> Great thanks - please no rush of any sort! (In fact probably be a
>> day or
>> so before I get back to this). Think the biggest mystery (for me)
>> pertains
>> to which special-change-sets are now needed. Given that, I can try the
>> most likely image/src version combinations to find what works - again,
>> I'll be sure to log the whole procedure once I find one that I can
>> successfully repeat.
>>
>> Appreciate the help!
>> Jay
>
> --
> =
> =
> =
> ========================================================================
> John M. McIntosh <[hidden email]>
> Corporate Smalltalk Consulting Ltd.  http://www.smalltalkconsulting.com
> =
> =
> =
> ========================================================================
>
>
>
>