[Vm-dev] Cog FreeBSD patches

Frank Shearar frank.shearar at angband.za.org
Thu Mar 24 15:30:13 UTC 2011


On 2011/03/23 17:55, David Graham wrote:
>
> Hi Igor,
> A cog vm binary is located at /usr/home/hudson/cogvm/bin/squeak. I also set the SQUEAKVM var.
>
> I'm a very recent convert to smalltalk (about a month now), but I'll look into the package you reference.  I've been building the traditional way following the instructions in unixbuild/HowToBuild.  BTW, I'm still working on build issues (got the UUID plugin compiling this morning, now looking at sound).
>
> Hi Frank,
> The vm I have uploaded at http://www.unthinkable.org/dl/ might work for you, otherwise cogvm r2373 currently builds on 32bit FreeBSD with the following:

It complains that it can't find libutil.so.8, which is understandable 
because I only have libutil.so.7

I'll try some more with getting it to build from source this evening. I 
have managed to do it before, last December.

frank

>
> #Install the subversion-freebsd port/package
>
> mkdir cogsrc
> cd cd cogsrc
>
> svn co http://squeakvm.org/svn/squeak/branches/Cog/platforms
> svn co http://squeakvm.org/svn/squeak/branches/Cog/src
> svn co http://squeakvm.org/svn/squeak/branches/Cog/unixbuild
>
> cd unixbuild/bld
>
> # No ports/packages are needed for a minimal headless install:
> ../../platforms/unix/config/configure CFLAGS="-g -O2 -msse2 -DNDEBUG -DITIMER_HEARTBEAT=1 -DNO_VM_PROFILE=1 -DCOGMTVM=0 -DNOEXECINFO -DDEBUGVM=0" LIBS=-pthread --without-x --without-gl --without-npsqueak
>
> # If you have a desktop system with X installed:
> ../../platforms/unix/config/configure CFLAGS="-g -O2 -msse2 -DNDEBUG -DITIMER_HEARTBEAT=1 -DNO_VM_PROFILE=1 -DCOGMTVM=0 -DNOEXECINFO -DDEBUGVM=0" LIBS=-pthread --without-npsqueak
>
> make install prefix=$HOME/cogvm
>
>
> On Mar 23, 2011, at 11:57 AM, Igor Stasenko wrote:
>
>> On 23 March 2011 17:48, Frank Shearar<frank.shearar at angband.za.org>  wrote:
>>>
>>> Oh, OK - I thought the slaves were precisely for building the VMs!
>>>
>>> I don't have a VM running on the machine at all at the moment.
>>>
>>> What do I need to do to get one running?
>>>
>>
>> Follow instructions here:
>> http://code.google.com/p/cog/wiki/CMakeVMMaker
>>
>> Download this tarball:
>> https://pharo-ic.lille.inria.fr/hudson/view/Cog/job/Stack%20VM%20Unix/lastSuccessfulBuild/artifact/StackInterpreterUnixConfig-sources.tar.gz
>>
>> And then replace build directory contents with attached  .zip file
>>
>> then
>> cd build
>> cmake .
>> make
>>
>> and in
>> build/results
>> you will have StackVM and its modules.
>>
>>
>>
>>> frank
>>>
>>> On 2011/03/23 16:30, Igor Stasenko wrote:
>>>>
>>>> Oh.. forgot to say,
>>>> i need a running VM there to use it for generating stuff before build.
>>>>
>>>> Actually i could generate everything at one of our hosts, and then at
>>>> FreeBSD slave just run cmake / make
>>>> But right now it works like that :)
>>>>
>>>> So, please provide me a full path to existing VM installed in your
>>>> system(s),
>>>> like
>>>> /usr/bin/squeak etc.
>>>> Or set environment var SQUEAKVM for hudson user.
>>>>
>>>>
>>>>
>>>> On 23 March 2011 17:27, Igor Stasenko<siguctua at gmail.com>   wrote:
>>>>>
>>>>> I configured both slaves,
>>>>>
>>>>> and David's is up and running now.
>>>>>
>>>>> https://pharo-ic.lille.inria.fr/hudson/computer/cogvm.unthinkable.org%20%28FreeBSD%29/
>>>>>
>>>>> Frank's one seems like down?
>>>>> ssh says that connection refused on port 22.
>>>>> https://pharo-ic.lille.inria.fr/hudson/computer/FreeBSD-7%20slave/
>>>>>
>>>>>
>>>>> --
>>>>> Best regards,
>>>>> Igor Stasenko AKA sig.
>>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>>
>> --
>> Best regards,
>> Igor Stasenko AKA sig.
>> <build.zip>
>
>
>



More information about the Vm-dev mailing list