How can I generate Cog ?

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

How can I generate Cog ?

Mariano Martinez Peck
 
Hi. I want to build a CogVM but generating the sources from VMMaker. I checked in all Cog documentation and I didn't find how to do it. So...here are my questions:

1) Which packages and versions (dependencies) do I need to load in addition to VMMaker? the same than in normal SqueakVM ?

2) In which Pharo (if possible) does VMMaker-oscog.xxx should work ??  In 1.1 I have deprecations for the wolrd menu, and then an error in initializePrimitiveErrorCodes
   
I then tried in Pharo 1.0 didn't work neither...a dnu with Smalltalk endianness...etc

So, right now, I am checkeing the image from here: http://www.squeakvm.org/svn/squeak/branches/Cog/image/

But....even without genereting from VMMaker, I cannot compiled cog.
I follow the instructions here: http://www.squeakvm.org/svn/squeak/branches/Cog/macbuild/HowToBuild

And when I do:

 ./makevm > 'cog.log'
** BUILD FAILED **


The following build commands failed:
Croquet:
        CompileC build/CoreVM.build/Deployment/
Croquet.build/Objects-normal/i386/sqMacUnixInterfaceSound.o "/Users/mariano/Pharo/VM/svnSqueakTree/cog/macbuild/../platforms/Mac OS/plugins/SoundPlugin/sqMacUnixInterfaceSound.c" normal i386 c com.apple.compilers.gcc.4_2
        CompileC build/CoreVM.build/Deployment/Croquet.build/Objects-normal/i386/sqMacWindowUniversal.o "/Users/mariano/Pharo/VM/svnSqueakTree/cog/macbuild/../platforms/Mac OS/vm/sqMacWindowUniversal.c" normal i386 c com.apple.compilers.gcc.4_2
        CompileC build/CoreVM.build/Deployment/Croquet.build/Objects-normal/i386/gcc3x-cointerp.o /Users/mariano/Pharo/VM/svnSqueakTree/cog/macbuild/../src/vm/gcc3x-cointerp.c normal i386 c com.apple.compilers.gcc.4_2
(3 failures)

cp: mpeg3Plugin/build/Release/mpeg3Plugin.bundle: No such file or directory
** BUILD FAILED **


The following build commands failed:
BochsIA32Plugin:
        CompileC build/BochsIA32Plugin.build/Release/BochsIA32Plugin.build/Objects-normal/i386/sqBochsIA32Plugin.o /Users/mariano/Pharo/VM/svnSqueakTree/cog/macbuild/BochsIA32Plugin/../../platforms/Cross/plugins/BochsIA32Plugin/sqBochsIA32Plugin.cpp normal i386 c++ com.apple.compilers.gcc.4_2
(1 failure)


I attach also cog.log.

Thanks for any help,

Mariano

cog.log.zip (76K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: How can I generate Cog ?

Eliot Miranda-2
 


On Wed, Dec 1, 2010 at 7:55 AM, Mariano Martinez Peck <[hidden email]> wrote:
 
Hi. I want to build a CogVM but generating the sources from VMMaker. I checked in all Cog documentation and I didn't find how to do it. So...here are my questions:

OK, I've updated the HowToBuild files to say


You'll find a workspace expression therein which generates a VM.
 

1) Which packages and versions (dependencies) do I need to load in addition to VMMaker? the same than in normal SqueakVM ?

2) In which Pharo (if possible) does VMMaker-oscog.xxx should work ??  In 1.1 I have deprecations for the wolrd menu, and then an error in initializePrimitiveErrorCodes
   
I then tried in Pharo 1.0 didn't work neither...a dnu with Smalltalk endianness...etc

So, right now, I am checkeing the image from here: http://www.squeakvm.org/svn/squeak/branches/Cog/image/

But....even without genereting from VMMaker, I cannot compiled cog.
I follow the instructions here: http://www.squeakvm.org/svn/squeak/branches/Cog/macbuild/HowToBuild

And when I do:

 ./makevm > 'cog.log'
** BUILD FAILED **


The following build commands failed:
Croquet:
        CompileC build/CoreVM.build/Deployment/
Croquet.build/Objects-normal/i386/sqMacUnixInterfaceSound.o "/Users/mariano/Pharo/VM/svnSqueakTree/cog/macbuild/../platforms/Mac OS/plugins/SoundPlugin/sqMacUnixInterfaceSound.c" normal i386 c com.apple.compilers.gcc.4_2
        CompileC build/CoreVM.build/Deployment/Croquet.build/Objects-normal/i386/sqMacWindowUniversal.o "/Users/mariano/Pharo/VM/svnSqueakTree/cog/macbuild/../platforms/Mac OS/vm/sqMacWindowUniversal.c" normal i386 c com.apple.compilers.gcc.4_2
        CompileC build/CoreVM.build/Deployment/Croquet.build/Objects-normal/i386/gcc3x-cointerp.o /Users/mariano/Pharo/VM/svnSqueakTree/cog/macbuild/../src/vm/gcc3x-cointerp.c normal i386 c com.apple.compilers.gcc.4_2
(3 failures)

cp: mpeg3Plugin/build/Release/mpeg3Plugin.bundle: No such file or directory
** BUILD FAILED **


The following build commands failed:
BochsIA32Plugin:
        CompileC build/BochsIA32Plugin.build/Release/BochsIA32Plugin.build/Objects-normal/i386/sqBochsIA32Plugin.o /Users/mariano/Pharo/VM/svnSqueakTree/cog/macbuild/BochsIA32Plugin/../../platforms/Cross/plugins/BochsIA32Plugin/sqBochsIA32Plugin.cpp normal i386 c++ com.apple.compilers.gcc.4_2
(1 failure)


I attach also cog.log.

Thanks for any help,

Mariano


Reply | Threaded
Open this post in threaded view
|

Re: How can I generate Cog ?

Lukas Renggli

Hi Eliot,

While you are at building Cog, could you update the VMs available at
<http://www.mirandabanda.org/files/Cog/VM/>?

In the past weeks I was exclusively using the experimental Cog build
that you gave me during Smalltalks that fixed the issues I had with
objects as methods. Now I would like to build one-click images for all
platforms that use this VM :-)

Lukas

On 1 December 2010 14:06, Eliot Miranda <[hidden email]> wrote:

>
>
>
> On Wed, Dec 1, 2010 at 7:55 AM, Mariano Martinez Peck <[hidden email]> wrote:
>>
>>
>> Hi. I want to build a CogVM but generating the sources from VMMaker. I checked in all Cog documentation and I didn't find how to do it. So...here are my questions:
>
> OK, I've updated the HowToBuild files to say
> To generate a VM check-out http://www.squeakvm.org/svn/squeak/branches/Cog/image
> which contains
> http://www.squeakvm.org/svn/squeak/branches/Cog/image/VMMaker-Squeak4.1.changes
> http://www.squeakvm.org/svn/squeak/branches/Cog/image/VMMaker-Squeak4.1.image
> You'll find a workspace expression therein which generates a VM.
>
>>
>> 1) Which packages and versions (dependencies) do I need to load in addition to VMMaker? the same than in normal SqueakVM ?
>>
>> 2) In which Pharo (if possible) does VMMaker-oscog.xxx should work ??  In 1.1 I have deprecations for the wolrd menu, and then an error in initializePrimitiveErrorCodes
>>
>> I then tried in Pharo 1.0 didn't work neither...a dnu with Smalltalk endianness...etc
>>
>> So, right now, I am checkeing the image from here: http://www.squeakvm.org/svn/squeak/branches/Cog/image/
>>
>> But....even without genereting from VMMaker, I cannot compiled cog.
>> I follow the instructions here: http://www.squeakvm.org/svn/squeak/branches/Cog/macbuild/HowToBuild
>>
>> And when I do:
>>
>>  ./makevm > 'cog.log'
>> ** BUILD FAILED **
>>
>>
>> The following build commands failed:
>> Croquet:
>>         CompileC build/CoreVM.build/Deployment/
>> Croquet.build/Objects-normal/i386/sqMacUnixInterfaceSound.o "/Users/mariano/Pharo/VM/svnSqueakTree/cog/macbuild/../platforms/Mac OS/plugins/SoundPlugin/sqMacUnixInterfaceSound.c" normal i386 c com.apple.compilers.gcc.4_2
>>         CompileC build/CoreVM.build/Deployment/Croquet.build/Objects-normal/i386/sqMacWindowUniversal.o "/Users/mariano/Pharo/VM/svnSqueakTree/cog/macbuild/../platforms/Mac OS/vm/sqMacWindowUniversal.c" normal i386 c com.apple.compilers.gcc.4_2
>>         CompileC build/CoreVM.build/Deployment/Croquet.build/Objects-normal/i386/gcc3x-cointerp.o /Users/mariano/Pharo/VM/svnSqueakTree/cog/macbuild/../src/vm/gcc3x-cointerp.c normal i386 c com.apple.compilers.gcc.4_2
>> (3 failures)
>>
>> cp: mpeg3Plugin/build/Release/mpeg3Plugin.bundle: No such file or directory
>> ** BUILD FAILED **
>>
>>
>> The following build commands failed:
>> BochsIA32Plugin:
>>         CompileC build/BochsIA32Plugin.build/Release/BochsIA32Plugin.build/Objects-normal/i386/sqBochsIA32Plugin.o /Users/mariano/Pharo/VM/svnSqueakTree/cog/macbuild/BochsIA32Plugin/../../platforms/Cross/plugins/BochsIA32Plugin/sqBochsIA32Plugin.cpp normal i386 c++ com.apple.compilers.gcc.4_2
>> (1 failure)
>>
>>
>> I attach also cog.log.
>>
>> Thanks for any help,
>>
>> Mariano
>>
>
>
>



--
Lukas Renggli
www.lukas-renggli.ch
Reply | Threaded
Open this post in threaded view
|

Re: How can I generate Cog ?

Eliot Miranda-2
 


On Wed, Dec 1, 2010 at 9:09 AM, Lukas Renggli <[hidden email]> wrote:

Hi Eliot,

While you are at building Cog, could you update the VMs available at
<http://www.mirandabanda.org/files/Cog/VM/>?

In the past weeks I was exclusively using the experimental Cog build
that you gave me during Smalltalks that fixed the issues I had with
objects as methods. Now I would like to build one-click images for all
platforms that use this VM :-)

OK, I promise to do this this weekend.
 

Lukas

On 1 December 2010 14:06, Eliot Miranda <[hidden email]> wrote:
>
>
>
> On Wed, Dec 1, 2010 at 7:55 AM, Mariano Martinez Peck <[hidden email]> wrote:
>>
>>
>> Hi. I want to build a CogVM but generating the sources from VMMaker. I checked in all Cog documentation and I didn't find how to do it. So...here are my questions:
>
> OK, I've updated the HowToBuild files to say
> To generate a VM check-out http://www.squeakvm.org/svn/squeak/branches/Cog/image
> which contains
> http://www.squeakvm.org/svn/squeak/branches/Cog/image/VMMaker-Squeak4.1.changes
> http://www.squeakvm.org/svn/squeak/branches/Cog/image/VMMaker-Squeak4.1.image
> You'll find a workspace expression therein which generates a VM.
>
>>
>> 1) Which packages and versions (dependencies) do I need to load in addition to VMMaker? the same than in normal SqueakVM ?
>>
>> 2) In which Pharo (if possible) does VMMaker-oscog.xxx should work ??  In 1.1 I have deprecations for the wolrd menu, and then an error in initializePrimitiveErrorCodes
>>
>> I then tried in Pharo 1.0 didn't work neither...a dnu with Smalltalk endianness...etc
>>
>> So, right now, I am checkeing the image from here: http://www.squeakvm.org/svn/squeak/branches/Cog/image/
>>
>> But....even without genereting from VMMaker, I cannot compiled cog.
>> I follow the instructions here: http://www.squeakvm.org/svn/squeak/branches/Cog/macbuild/HowToBuild
>>
>> And when I do:
>>
>>  ./makevm > 'cog.log'
>> ** BUILD FAILED **
>>
>>
>> The following build commands failed:
>> Croquet:
>>         CompileC build/CoreVM.build/Deployment/
>> Croquet.build/Objects-normal/i386/sqMacUnixInterfaceSound.o "/Users/mariano/Pharo/VM/svnSqueakTree/cog/macbuild/../platforms/Mac OS/plugins/SoundPlugin/sqMacUnixInterfaceSound.c" normal i386 c com.apple.compilers.gcc.4_2
>>         CompileC build/CoreVM.build/Deployment/Croquet.build/Objects-normal/i386/sqMacWindowUniversal.o "/Users/mariano/Pharo/VM/svnSqueakTree/cog/macbuild/../platforms/Mac OS/vm/sqMacWindowUniversal.c" normal i386 c com.apple.compilers.gcc.4_2
>>         CompileC build/CoreVM.build/Deployment/Croquet.build/Objects-normal/i386/gcc3x-cointerp.o /Users/mariano/Pharo/VM/svnSqueakTree/cog/macbuild/../src/vm/gcc3x-cointerp.c normal i386 c com.apple.compilers.gcc.4_2
>> (3 failures)
>>
>> cp: mpeg3Plugin/build/Release/mpeg3Plugin.bundle: No such file or directory
>> ** BUILD FAILED **
>>
>>
>> The following build commands failed:
>> BochsIA32Plugin:
>>         CompileC build/BochsIA32Plugin.build/Release/BochsIA32Plugin.build/Objects-normal/i386/sqBochsIA32Plugin.o /Users/mariano/Pharo/VM/svnSqueakTree/cog/macbuild/BochsIA32Plugin/../../platforms/Cross/plugins/BochsIA32Plugin/sqBochsIA32Plugin.cpp normal i386 c++ com.apple.compilers.gcc.4_2
>> (1 failure)
>>
>>
>> I attach also cog.log.
>>
>> Thanks for any help,
>>
>> Mariano
>>
>
>
>



--
Lukas Renggli
www.lukas-renggli.ch