building Cog

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

building Cog

JJ Stevens
 
Hello,

I am using the instructions here: marianopeck.wordpress.com - building-the-vm-from-scratch-using-git-and-cmakevmmaker to attempt to build the Cog VM on Windows, with git and CMake.  I am running into a walkback:

MessageNotUnderstood: OrderedCollection>>fold:

called from:

Cogit class>>exportAPISelectors

First off, are these the correct latest instructions?

Second, where can I get a cs containing #fold:?

Thanks,
jj
Reply | Threaded
Open this post in threaded view
|

Re: building Cog

stephane ducasse-2

pay attention to use the 2.0 configuration since the blog is outdated
if you want my version of the blog have a look at git hub pharo by example and look for the VM* chapters we are writing.

On Jul 6, 2011, at 5:57 AM, JJ Stevens wrote:

> Hello,
>
> I am using the instructions here: marianopeck.wordpress.com - building-the-vm-from-scratch-using-git-and-cmakevmmaker to attempt to build the Cog VM on Windows, with git and CMake.  I am running into a walkback:
>
> MessageNotUnderstood: OrderedCollection>>fold:
>
> called from:
>
> Cogit class>>exportAPISelectors
>
> First off, are these the correct latest instructions?
>
> Second, where can I get a cs containing #fold:?
>
> Thanks,
> jj

Reply | Threaded
Open this post in threaded view
|

Re: building Cog

Mariano Martinez Peck
In reply to this post by JJ Stevens
 


On Wed, Jul 6, 2011 at 5:57 AM, JJ Stevens <[hidden email]> wrote:
 
Hello,

I am using the instructions here: marianopeck.wordpress.com - building-the-vm-from-scratch-using-git-and-cmakevmmaker to attempt to build the Cog VM on Windows, with git and CMake.

Hello. Good to see there are more people trying :)
 
 I am running into a walkback:

MessageNotUnderstood: OrderedCollection>>fold:

called from:

Cogit class>>exportAPISelectors


This. This a known problem. If you follow my post STRICTLY you will notice I mention to download a pharocore image in particular: https://gforge.inria.fr/frs/download.php/28472/PharoCore-1.3-13137.zip

I guess you are using an older version of Pharo, say 1.2, and you are missing such method.  Still, if you want to use Pharo 1.2 in http://marianopeck.wordpress.com/2011/04/23/how-to-debug-the-vm/   I explain under the title "Prepared image for you"  how to work with a 1.2. Basically I provide a small changeset that add 3 needed missing methods (one is #fold:).

 

First off, are these the correct latest instructions?

More or less. The instructions, that is, the general procedure is the same as today. However, my goal of such post was to make it completly reproducible even months after the post. So if you follow the instructions strictly you should be able to build the vm without much truble. Now....the same procedure should work with all latest code, that is, last version in gitorious and last version of ConfigurationOfCog. If I were you, I would first build the VM exactly as I say, and if you succeed then after try to reproduce the same but with latest code.
 

Second, where can I get a cs containing #fold:?

Thanks,
jj




--
Mariano
http://marianopeck.wordpress.com

Reply | Threaded
Open this post in threaded view
|

Re: building Cog

JJ Stevens
 
Thanks Mariano,  I got further along and ran cmake and make.  Attached is the output of make with multiple errors.  Do you have any ideas what's wrong?

jj

On Wed, Jul 6, 2011 at 3:25 AM, Mariano Martinez Peck <[hidden email]> wrote:
 


On Wed, Jul 6, 2011 at 5:57 AM, JJ Stevens <[hidden email]> wrote:
 
Hello,

I am using the instructions here: marianopeck.wordpress.com - building-the-vm-from-scratch-using-git-and-cmakevmmaker to attempt to build the Cog VM on Windows, with git and CMake.

Hello. Good to see there are more people trying :)
 
 I am running into a walkback:

MessageNotUnderstood: OrderedCollection>>fold:

called from:

Cogit class>>exportAPISelectors


This. This a known problem. If you follow my post STRICTLY you will notice I mention to download a pharocore image in particular: https://gforge.inria.fr/frs/download.php/28472/PharoCore-1.3-13137.zip

I guess you are using an older version of Pharo, say 1.2, and you are missing such method.  Still, if you want to use Pharo 1.2 in http://marianopeck.wordpress.com/2011/04/23/how-to-debug-the-vm/   I explain under the title "Prepared image for you"  how to work with a 1.2. Basically I provide a small changeset that add 3 needed missing methods (one is #fold:).

 

First off, are these the correct latest instructions?

More or less. The instructions, that is, the general procedure is the same as today. However, my goal of such post was to make it completly reproducible even months after the post. So if you follow the instructions strictly you should be able to build the vm without much truble. Now....the same procedure should work with all latest code, that is, last version in gitorious and last version of ConfigurationOfCog. If I were you, I would first build the VM exactly as I say, and if you succeed then after try to reproduce the same but with latest code.
 

Second, where can I get a cs containing #fold:?

Thanks,
jj




--
Mariano
http://marianopeck.wordpress.com




vm-make-debug.txt (176K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: building Cog

Igor Stasenko
In reply to this post by Mariano Martinez Peck

Mariano, i think we should mention somewhere, that an easiest way to
get started is to download a prebuilt image
from hudson and do not mess with all dependencies
https://pharo-ic.lille.inria.fr/hudson/view/Cog/job/Cog%20Git%20Tracker%20(blessed)/lastSuccessfulBuild/artifact/vmmaker-image.zip

On 6 July 2011 09:25, Mariano Martinez Peck <[hidden email]> wrote:

>
>
>
> On Wed, Jul 6, 2011 at 5:57 AM, JJ Stevens <[hidden email]> wrote:
>>
>>
>> Hello,
>> I am using the instructions here: marianopeck.wordpress.com - building-the-vm-from-scratch-using-git-and-cmakevmmaker to attempt to build the Cog VM on Windows, with git and CMake.
>
> Hello. Good to see there are more people trying :)
>
>>
>>  I am running into a walkback:
>>
>> MessageNotUnderstood: OrderedCollection>>fold:
>>
>> called from:
>>
>> Cogit class>>exportAPISelectors
>
> This. This a known problem. If you follow my post STRICTLY you will notice I mention to download a pharocore image in particular: https://gforge.inria.fr/frs/download.php/28472/PharoCore-1.3-13137.zip
>
> I guess you are using an older version of Pharo, say 1.2, and you are missing such method.  Still, if you want to use Pharo 1.2 in http://marianopeck.wordpress.com/2011/04/23/how-to-debug-the-vm/   I explain under the title "Prepared image for you"  how to work with a 1.2. Basically I provide a small changeset that add 3 needed missing methods (one is #fold:).
>
>
>>
>> First off, are these the correct latest instructions?
>
> More or less. The instructions, that is, the general procedure is the same as today. However, my goal of such post was to make it completly reproducible even months after the post. So if you follow the instructions strictly you should be able to build the vm without much truble. Now....the same procedure should work with all latest code, that is, last version in gitorious and last version of ConfigurationOfCog. If I were you, I would first build the VM exactly as I say, and if you succeed then after try to reproduce the same but with latest code.
>
>>
>> Second, where can I get a cs containing #fold:?
>> Thanks,
>> jj
>
>
>
> --
> Mariano
> http://marianopeck.wordpress.com
>
>
>



--
Best regards,
Igor Stasenko AKA sig.
Reply | Threaded
Open this post in threaded view
|

Re: building Cog

Igor Stasenko
In reply to this post by JJ Stevens

On 6 July 2011 11:37, JJ Stevens <[hidden email]> wrote:
>
> Thanks Mariano,  I got further along and ran cmake and make.  Attached is the output of make with multiple errors.  Do you have any ideas what's wrong?
> jj

looks like you have missing dependencies, all standard libs which
usually available, somehow didn't found by linker.
I'm not sure what happens (i had never such errors on windows), but it
looks like you have customized mingw installation and didn't installed
those.
So, either they are located at different path (so you have to tell
linker where they are), or.. well i have  no other ideas , why it
fails.

Please check CogFamilyWindowsConfig class comment (or Mariano's blog),
have you followed same procedure?



--
Best regards,
Igor Stasenko AKA sig.
Reply | Threaded
Open this post in threaded view
|

Re: building Cog

Mariano Martinez Peck
In reply to this post by Igor Stasenko
 


On Wed, Jul 6, 2011 at 3:19 PM, Igor Stasenko <[hidden email]> wrote:

Mariano, i think we should mention somewhere, that an easiest way to
get started is to download a prebuilt image
from hudson and do not mess with all dependencies
https://pharo-ic.lille.inria.fr/hudson/view/Cog/job/Cog%20Git%20Tracker%20(blessed)/lastSuccessfulBuild/artifact/vmmaker-image.zip


Yes, I know. I should mention that. It's true. But we have to be careful. The same way they can download a prebuild image, they can download a tarball with both image and sources. And then they can download a already build VM ;)
So, seriously, yes, they can do that, but it would be good that people can really build from scratch :)


 
On 6 July 2011 09:25, Mariano Martinez Peck <[hidden email]> wrote:
>
>
>
> On Wed, Jul 6, 2011 at 5:57 AM, JJ Stevens <[hidden email]> wrote:
>>
>>
>> Hello,
>> I am using the instructions here: marianopeck.wordpress.com - building-the-vm-from-scratch-using-git-and-cmakevmmaker to attempt to build the Cog VM on Windows, with git and CMake.
>
> Hello. Good to see there are more people trying :)
>
>>
>>  I am running into a walkback:
>>
>> MessageNotUnderstood: OrderedCollection>>fold:
>>
>> called from:
>>
>> Cogit class>>exportAPISelectors
>
> This. This a known problem. If you follow my post STRICTLY you will notice I mention to download a pharocore image in particular: https://gforge.inria.fr/frs/download.php/28472/PharoCore-1.3-13137.zip
>
> I guess you are using an older version of Pharo, say 1.2, and you are missing such method.  Still, if you want to use Pharo 1.2 in http://marianopeck.wordpress.com/2011/04/23/how-to-debug-the-vm/   I explain under the title "Prepared image for you"  how to work with a 1.2. Basically I provide a small changeset that add 3 needed missing methods (one is #fold:).
>
>
>>
>> First off, are these the correct latest instructions?
>
> More or less. The instructions, that is, the general procedure is the same as today. However, my goal of such post was to make it completly reproducible even months after the post. So if you follow the instructions strictly you should be able to build the vm without much truble. Now....the same procedure should work with all latest code, that is, last version in gitorious and last version of ConfigurationOfCog. If I were you, I would first build the VM exactly as I say, and if you succeed then after try to reproduce the same but with latest code.
>
>>
>> Second, where can I get a cs containing #fold:?
>> Thanks,
>> jj
>
>
>
> --
> Mariano
> http://marianopeck.wordpress.com
>
>
>



--
Best regards,
Igor Stasenko AKA sig.



--
Mariano
http://marianopeck.wordpress.com

Reply | Threaded
Open this post in threaded view
|

Re: building Cog

Igor Stasenko

On 6 July 2011 15:25, Mariano Martinez Peck <[hidden email]> wrote:

>
>
>
> On Wed, Jul 6, 2011 at 3:19 PM, Igor Stasenko <[hidden email]> wrote:
>>
>> Mariano, i think we should mention somewhere, that an easiest way to
>> get started is to download a prebuilt image
>> from hudson and do not mess with all dependencies
>> https://pharo-ic.lille.inria.fr/hudson/view/Cog/job/Cog%20Git%20Tracker%20(blessed)/lastSuccessfulBuild/artifact/vmmaker-image.zip
>>
>
> Yes, I know. I should mention that. It's true. But we have to be careful. The same way they can download a prebuild image, they can download a tarball with both image and sources. And then they can download a already build VM ;)
> So, seriously, yes, they can do that, but it would be good that people can really build from scratch :)
>

Yes. Good point. After all, our effort was to make things completely
reproducible. From scratch.

>
>
>>
>> On 6 July 2011 09:25, Mariano Martinez Peck <[hidden email]> wrote:
>> >
>> >
>> >
>> > On Wed, Jul 6, 2011 at 5:57 AM, JJ Stevens <[hidden email]> wrote:
>> >>
>> >>
>> >> Hello,
>> >> I am using the instructions here: marianopeck.wordpress.com - building-the-vm-from-scratch-using-git-and-cmakevmmaker to attempt to build the Cog VM on Windows, with git and CMake.
>> >
>> > Hello. Good to see there are more people trying :)
>> >
>> >>
>> >>  I am running into a walkback:
>> >>
>> >> MessageNotUnderstood: OrderedCollection>>fold:
>> >>
>> >> called from:
>> >>
>> >> Cogit class>>exportAPISelectors
>> >
>> > This. This a known problem. If you follow my post STRICTLY you will notice I mention to download a pharocore image in particular: https://gforge.inria.fr/frs/download.php/28472/PharoCore-1.3-13137.zip
>> >
>> > I guess you are using an older version of Pharo, say 1.2, and you are missing such method.  Still, if you want to use Pharo 1.2 in http://marianopeck.wordpress.com/2011/04/23/how-to-debug-the-vm/   I explain under the title "Prepared image for you"  how to work with a 1.2. Basically I provide a small changeset that add 3 needed missing methods (one is #fold:).
>> >
>> >
>> >>
>> >> First off, are these the correct latest instructions?
>> >
>> > More or less. The instructions, that is, the general procedure is the same as today. However, my goal of such post was to make it completly reproducible even months after the post. So if you follow the instructions strictly you should be able to build the vm without much truble. Now....the same procedure should work with all latest code, that is, last version in gitorious and last version of ConfigurationOfCog. If I were you, I would first build the VM exactly as I say, and if you succeed then after try to reproduce the same but with latest code.
>> >
>> >>
>> >> Second, where can I get a cs containing #fold:?
>> >> Thanks,
>> >> jj
>> >
>> >
>> >
>> > --
>> > Mariano
>> > http://marianopeck.wordpress.com
>> >
>> >
>> >
>>
>>
>>
>> --
>> Best regards,
>> Igor Stasenko AKA sig.
>
>
>
> --
> Mariano
> http://marianopeck.wordpress.com
>
>
>



--
Best regards,
Igor Stasenko AKA sig.
Reply | Threaded
Open this post in threaded view
|

Re: building Cog

EstebanLM


El 06/07/2011, a las 10:29a.m., Igor Stasenko escribió:

>
> On 6 July 2011 15:25, Mariano Martinez Peck <[hidden email]> wrote:
>>
>>
>>
>> On Wed, Jul 6, 2011 at 3:19 PM, Igor Stasenko <[hidden email]> wrote:
>>>
>>> Mariano, i think we should mention somewhere, that an easiest way to
>>> get started is to download a prebuilt image
>>> from hudson and do not mess with all dependencies
>>> https://pharo-ic.lille.inria.fr/hudson/view/Cog/job/Cog%20Git%20Tracker%20(blessed)/lastSuccessfulBuild/artifact/vmmaker-image.zip
>>>
>>
>> Yes, I know. I should mention that. It's true. But we have to be careful. The same way they can download a prebuild image, they can download a tarball with both image and sources. And then they can download a already build VM ;)
>> So, seriously, yes, they can do that, but it would be good that people can really build from scratch :)
>>
>
> Yes. Good point. After all, our effort was to make things completely
> reproducible. From scratch.

+1

>
>>
>>
>>>
>>> On 6 July 2011 09:25, Mariano Martinez Peck <[hidden email]> wrote:
>>>>
>>>>
>>>>
>>>> On Wed, Jul 6, 2011 at 5:57 AM, JJ Stevens <[hidden email]> wrote:
>>>>>
>>>>>
>>>>> Hello,
>>>>> I am using the instructions here: marianopeck.wordpress.com - building-the-vm-from-scratch-using-git-and-cmakevmmaker to attempt to build the Cog VM on Windows, with git and CMake.
>>>>
>>>> Hello. Good to see there are more people trying :)
>>>>
>>>>>
>>>>>  I am running into a walkback:
>>>>>
>>>>> MessageNotUnderstood: OrderedCollection>>fold:
>>>>>
>>>>> called from:
>>>>>
>>>>> Cogit class>>exportAPISelectors
>>>>
>>>> This. This a known problem. If you follow my post STRICTLY you will notice I mention to download a pharocore image in particular: https://gforge.inria.fr/frs/download.php/28472/PharoCore-1.3-13137.zip
>>>>
>>>> I guess you are using an older version of Pharo, say 1.2, and you are missing such method.  Still, if you want to use Pharo 1.2 in http://marianopeck.wordpress.com/2011/04/23/how-to-debug-the-vm/   I explain under the title "Prepared image for you"  how to work with a 1.2. Basically I provide a small changeset that add 3 needed missing methods (one is #fold:).
>>>>
>>>>
>>>>>
>>>>> First off, are these the correct latest instructions?
>>>>
>>>> More or less. The instructions, that is, the general procedure is the same as today. However, my goal of such post was to make it completly reproducible even months after the post. So if you follow the instructions strictly you should be able to build the vm without much truble. Now....the same procedure should work with all latest code, that is, last version in gitorious and last version of ConfigurationOfCog. If I were you, I would first build the VM exactly as I say, and if you succeed then after try to reproduce the same but with latest code.
>>>>
>>>>>
>>>>> Second, where can I get a cs containing #fold:?
>>>>> Thanks,
>>>>> jj
>>>>
>>>>
>>>>
>>>> --
>>>> Mariano
>>>> http://marianopeck.wordpress.com
>>>>
>>>>
>>>>
>>>
>>>
>>>
>>> --
>>> Best regards,
>>> Igor Stasenko AKA sig.
>>
>>
>>
>> --
>> Mariano
>> http://marianopeck.wordpress.com
>>
>>
>>
>
>
>
> --
> Best regards,
> Igor Stasenko AKA sig.

Reply | Threaded
Open this post in threaded view
|

Re: building Cog

Mariano Martinez Peck
In reply to this post by JJ Stevens
 
Hi. I am not an expert at all but it seems you are missing LOT of libraries. Maybe, mingw is not correctly configured because it is not one or 2 libraries that you don't find, but a lot.
Did you add everything needed to $PATH from mingw?


On Wed, Jul 6, 2011 at 11:37 AM, JJ Stevens <[hidden email]> wrote:
 
Thanks Mariano,  I got further along and ran cmake and make.  Attached is the output of make with multiple errors.  Do you have any ideas what's wrong?

jj

On Wed, Jul 6, 2011 at 3:25 AM, Mariano Martinez Peck <[hidden email]> wrote:
 


On Wed, Jul 6, 2011 at 5:57 AM, JJ Stevens <[hidden email]> wrote:
 
Hello,

I am using the instructions here: marianopeck.wordpress.com - building-the-vm-from-scratch-using-git-and-cmakevmmaker to attempt to build the Cog VM on Windows, with git and CMake.

Hello. Good to see there are more people trying :)
 
 I am running into a walkback:

MessageNotUnderstood: OrderedCollection>>fold:

called from:

Cogit class>>exportAPISelectors


This. This a known problem. If you follow my post STRICTLY you will notice I mention to download a pharocore image in particular: https://gforge.inria.fr/frs/download.php/28472/PharoCore-1.3-13137.zip

I guess you are using an older version of Pharo, say 1.2, and you are missing such method.  Still, if you want to use Pharo 1.2 in http://marianopeck.wordpress.com/2011/04/23/how-to-debug-the-vm/   I explain under the title "Prepared image for you"  how to work with a 1.2. Basically I provide a small changeset that add 3 needed missing methods (one is #fold:).

 

First off, are these the correct latest instructions?

More or less. The instructions, that is, the general procedure is the same as today. However, my goal of such post was to make it completly reproducible even months after the post. So if you follow the instructions strictly you should be able to build the vm without much truble. Now....the same procedure should work with all latest code, that is, last version in gitorious and last version of ConfigurationOfCog. If I were you, I would first build the VM exactly as I say, and if you succeed then after try to reproduce the same but with latest code.
 

Second, where can I get a cs containing #fold:?

Thanks,
jj




--
Mariano
http://marianopeck.wordpress.com







--
Mariano
http://marianopeck.wordpress.com

Reply | Threaded
Open this post in threaded view
|

Re: building Cog

JJ Stevens
 
This is a nightmare.  It is as bad as installing unix with apt.  Why can't I have one tarball or one installer exe for everything?  Can't use msysGit, which I tried originally since I have about 18 months experience using it, since it only has the minimal binaries to compile git, not what is needed for Cog it seems.

Installing MSYS/MinGW is a complete disaster.

It looks like there are a few problems MSYS install instructions (http://www.mingw.org/wiki/msys).  

The first step talks about installing MinGW:

If you haven't already installed MinGW on your system, install MinGW in C:\MinGW. It is better to not install it in the same directory than MSYS, though there should be no problem since MSYS 1.0.11. In the installer, choose "Download and install", then "Current" (it will install gcc 4.4.0).

Following the MinGW link takes me to the MinGW sourceforge site, click files, and which MinGW installer is there??  The only one I find is: http://sourceforge.net/projects/mingw/files/Automated%20MinGW%20Installer/mingw-get-inst/mingw-get-inst-20110530/mingw-get-inst-20110530.exe/download.  This does NOT have install options for "Download and install" and "Current".  However, I get a MinGW directory with a bin with gcc and g++.  Looks like this file was changed on 5/30/2011.

The second step looks good.

The third step refers to a post-install process question that does not appear for me.

The fourth step is golden, except the second step already provided an option to install the DTK.

The fifth step, install MSYS Core 1.0.11 has the wrong link.  The correct link is: http://sourceforge.net/projects/mingw/files/MSYS/BaseSystem/msys-core/msys-1.0.11/msysCORE-1.0.11-bin.tar.gz/download.  Furthermore, it overwrites stuff from the second link and it has like 6 subsequent versions from 1.0.11.

Without installing step 5, I get the same results as with my original msysGit attempt, undefined references due to missing libraries.  With step 5 I cannot even compile past the first plugin object compile: UUIDPlugin, because of a missing libgmp-10.dll.  I tried to dig into CMake files to find a LIB reference, and got into the deep weeds.

Could someone who knows what they are doing try this all from scratch and update the instructions, please?   There are just too many moving pieces and a tarball along the lines of 'Squeak-Win32-Tools-1.2.zip' would be a blessing.

jj
Reply | Threaded
Open this post in threaded view
|

Re: building Cog

Igor Stasenko

On 8 July 2011 06:26, JJ Stevens <[hidden email]> wrote:

>
> This is a nightmare.  It is as bad as installing unix with apt.  Why can't I have one tarball or one installer exe for everything?  Can't use msysGit, which I tried originally since I have about 18 months experience using it, since it only has the minimal binaries to compile git, not what is needed for Cog it seems.
> Installing MSYS/MinGW is a complete disaster.
> It looks like there are a few problems MSYS install instructions (http://www.mingw.org/wiki/msys).
> The first step talks about installing MinGW:
> If you haven't already installed MinGW on your system, install MinGW in C:\MinGW. It is better to not install it in the same directory than MSYS, though there should be no problem since MSYS 1.0.11. In the installer, choose "Download and install", then "Current" (it will install gcc 4.4.0).
> Following the MinGW link takes me to the MinGW sourceforge site, click files, and which MinGW installer is there??  The only one I find is: http://sourceforge.net/projects/mingw/files/Automated%20MinGW%20Installer/mingw-get-inst/mingw-get-inst-20110530/mingw-get-inst-20110530.exe/download.  This does NOT have install options for "Download and install" and "Current".  However, I get a MinGW directory with a bin with gcc and g++.  Looks like this file was changed on 5/30/2011.
> The second step looks good.
> The third step refers to a post-install process question that does not appear for me.
> The fourth step is golden, except the second step already provided an option to install the DTK.
> The fifth step, install MSYS Core 1.0.11 has the wrong link.  The correct link is: http://sourceforge.net/projects/mingw/files/MSYS/BaseSystem/msys-core/msys-1.0.11/msysCORE-1.0.11-bin.tar.gz/download.  Furthermore, it overwrites stuff from the second link and it has like 6 subsequent versions from 1.0.11.
> Without installing step 5, I get the same results as with my original msysGit attempt, undefined references due to missing libraries.  With step 5 I cannot even compile past the first plugin object compile: UUIDPlugin, because of a missing libgmp-10.dll.  I tried to dig into CMake files to find a LIB reference, and got into the deep weeds.
> Could someone who knows what they are doing try this all from scratch and update the instructions, please?   There are just too many moving pieces and a tarball along the lines of 'Squeak-Win32-Tools-1.2.zip' would be a blessing.
> jj
>
Last time i installed it, i used automated installer:
http://sourceforge.net/projects/mingw/files/Automated%20MinGW%20Installer/

for git i just followed what was on their wiki page
http://code.google.com/p/msysgit/
and then added path to <where is git>/bin to the PATH variable.

if you fail, i think it worth asking on msys mailing list, how to
install it correctly, because its really confusing.
--
Best regards,
Igor Stasenko AKA sig.
Reply | Threaded
Open this post in threaded view
|

Re: building Cog

JJ Stevens
 


On Fri, Jul 8, 2011 at 12:36 AM, Igor Stasenko <[hidden email]> wrote:
Last time i installed it, i used automated installer:

I did this.
 

for git i just followed what was on their wiki page
http://code.google.com/p/msysgit/
and then added path to <where is git>/bin to the PATH variable.

I did this.  Problems reported in previous email.  They changed the files on us.
 
if you fail, i think it worth asking on msys mailing list, how to
install it correctly, because its really confusing.


I do not even know what to ask them.   The problem is with CMake files and missing references to system libs.  Things like accept, listen, getsockopt, midi....

What is my solution for building Cog on windows?   Current solution does not work.

Thanks,
jj

Reply | Threaded
Open this post in threaded view
|

Re: building Cog

Igor Stasenko

On 11 July 2011 01:50, JJ Stevens <[hidden email]> wrote:

>
>
>
> On Fri, Jul 8, 2011 at 12:36 AM, Igor Stasenko <[hidden email]> wrote:
>>
>> Last time i installed it, i used automated installer:
>> http://sourceforge.net/projects/mingw/files/Automated%20MinGW%20Installer/
>
> I did this.
>
>>
>> for git i just followed what was on their wiki page
>> http://code.google.com/p/msysgit/
>> and then added path to <where is git>/bin to the PATH variable.
>>
> I did this.  Problems reported in previous email.  They changed the files on us.
>
>>
>> if you fail, i think it worth asking on msys mailing list, how to
>> install it correctly, because its really confusing.
>>
>
> I do not even know what to ask them.   The problem is with CMake files and missing references to system libs.  Things like accept, listen, getsockopt, midi....
> What is my solution for building Cog on windows?   Current solution does not work.

Look, this is not problem with Cog. Apparently its a problem with
mingw, or you doing something wrong.

I'd like to help, but tell me how? Because when i installed mingw
stuff for windows few weeks ago and everything worked just well.


> Thanks,
> jj
>
>



--
Best regards,
Igor Stasenko AKA sig.
Reply | Threaded
Open this post in threaded view
|

Re: building Cog

johnmci

Igor, I am reminded that about 8 years back building the Mac VM took
about 20 steps. That I found was about 19 steps too long for an
"average" user to follow.
No disrespect to the folks attempt to build this, but when you have 20
steps then there is just too much chance for a human to fail or for
the other third parties to
throw cold water on you.

Unfortunately solving this can take a while, I'm sure I struggled for
a month or more refactoring the process into a more simple number of
steps.
So at each point ask youself what can go wrong, and why do I need to
have something manual here? Should there just be a sole command to do
it all?

On Sun, Jul 10, 2011 at 8:18 PM, Igor Stasenko <[hidden email]> wrote:

>
> On 11 July 2011 01:50, JJ Stevens <[hidden email]> wrote:
>>
>>
>>
>> On Fri, Jul 8, 2011 at 12:36 AM, Igor Stasenko <[hidden email]> wrote:
>>>
>>> Last time i installed it, i used automated installer:
>>> http://sourceforge.net/projects/mingw/files/Automated%20MinGW%20Installer/
>>
>> I did this.
>>
>>>
>>> for git i just followed what was on their wiki page
>>> http://code.google.com/p/msysgit/
>>> and then added path to <where is git>/bin to the PATH variable.
>>>
>> I did this.  Problems reported in previous email.  They changed the files on us.
>>
>>>
>>> if you fail, i think it worth asking on msys mailing list, how to
>>> install it correctly, because its really confusing.
>>>
>>
>> I do not even know what to ask them.   The problem is with CMake files and missing references to system libs.  Things like accept, listen, getsockopt, midi....
>> What is my solution for building Cog on windows?   Current solution does not work.
>
> Look, this is not problem with Cog. Apparently its a problem with
> mingw, or you doing something wrong.
>
> I'd like to help, but tell me how? Because when i installed mingw
> stuff for windows few weeks ago and everything worked just well.
>
>
>> Thanks,
>> jj
>>
>>
>
>
>
> --
> Best regards,
> Igor Stasenko AKA sig.
>



--
===========================================================================
John M. McIntosh <[hidden email]>
Corporate Smalltalk Consulting Ltd.  http://www.smalltalkconsulting.com
===========================================================================
Reply | Threaded
Open this post in threaded view
|

Re: building Cog

Igor Stasenko
 
On 11 July 2011 03:25, John McIntosh <[hidden email]> wrote:

>
> Igor, I am reminded that about 8 years back building the Mac VM took
> about 20 steps. That I found was about 19 steps too long for an
> "average" user to follow.
> No disrespect to the folks attempt to build this, but when you have 20
> steps then there is just too much chance for a human to fail or for
> the other third parties to
> throw cold water on you.
>
> Unfortunately solving this can take a while, I'm sure I struggled for
> a month or more refactoring the process into a more simple number of
> steps.
> So at each point ask youself what can go wrong, and why do I need to
> have something manual here? Should there just be a sole command to do
> it all?
>
Look, there are only 4 steps for installing mingw on windows
(http://marianopeck.wordpress.com/2011/04/10/building-the-vm-from-scratch-using-git-and-cmakevmmaker/)

And JJ Stevens refers to step 5.. so i really don't have any clue what
he's doing.

As for simplifying even more.. One could package everything in big fat
archive and make it downloadable.
But then it is not 'from scratch' , it will be 'from fat archive'. :)

--
Best regards,
Igor Stasenko AKA sig.
Reply | Threaded
Open this post in threaded view
|

Re: building Cog

JJ Stevens
 


On Sun, Jul 10, 2011 at 9:08 PM, Igor Stasenko <[hidden email]> wrote:

On 11 July 2011 03:25, John McIntosh <[hidden email]> wrote:
>
> Igor, I am reminded that about 8 years back building the Mac VM took
> about 20 steps. That I found was about 19 steps too long for an
> "average" user to follow.
> No disrespect to the folks attempt to build this, but when you have 20
> steps then there is just too much chance for a human to fail or for
> the other third parties to
> throw cold water on you.
>
> Unfortunately solving this can take a while, I'm sure I struggled for
> a month or more refactoring the process into a more simple number of
> steps.
> So at each point ask youself what can go wrong, and why do I need to
> have something manual here? Should there just be a sole command to do
> it all?
>
Look, there are only 4 steps for installing mingw on windows
(http://marianopeck.wordpress.com/2011/04/10/building-the-vm-from-scratch-using-git-and-cmakevmmaker/)

And JJ Stevens refers to step 5.. so i really don't have any clue what
he's doing.


I am talking about the 5 sub-steps for installing the first step you list: MSYS


jj 

Reply | Threaded
Open this post in threaded view
|

Re: building Cog

Igor Stasenko

On 11 July 2011 04:17, JJ Stevens <[hidden email]> wrote:

>
>
>
> On Sun, Jul 10, 2011 at 9:08 PM, Igor Stasenko <[hidden email]> wrote:
>>
>> On 11 July 2011 03:25, John McIntosh <[hidden email]> wrote:
>> >
>> > Igor, I am reminded that about 8 years back building the Mac VM took
>> > about 20 steps. That I found was about 19 steps too long for an
>> > "average" user to follow.
>> > No disrespect to the folks attempt to build this, but when you have 20
>> > steps then there is just too much chance for a human to fail or for
>> > the other third parties to
>> > throw cold water on you.
>> >
>> > Unfortunately solving this can take a while, I'm sure I struggled for
>> > a month or more refactoring the process into a more simple number of
>> > steps.
>> > So at each point ask youself what can go wrong, and why do I need to
>> > have something manual here? Should there just be a sole command to do
>> > it all?
>> >
>> Look, there are only 4 steps for installing mingw on windows
>> (http://marianopeck.wordpress.com/2011/04/10/building-the-vm-from-scratch-using-git-and-cmakevmmaker/)
>>
>> And JJ Stevens refers to step 5.. so i really don't have any clue what
>> he's doing.
>>
>
> I am talking about the 5 sub-steps for installing the first step you list: MSYS
> http://www.mingw.org/wiki/msys
> jj
>

but there are only 4 of them:

1    Download and install Msys, with C/C++ compiler support:
http://www.mingw.org/wiki/msys
2    Download and install Git: http://code.google.com/p/msysgit/
During the installation, I choose the option “run git from from the
windows command prompt”. Optional: add git to the PATH variable so
that you can see git from msys. To do this, add path to git for msys:
    Control panel -> System -> System Properties / Advanced  [
Environment Variables ].   There should be already: ‘C:\Program
Files\Git\cmd’. Add ‘C:\Program Files\Git\bin’  Notice that the path
may not be exactly ‘C:\Program Files\Git\’ but similar…
 3   Install CMake: http://www.cmake.org/cmake/resources/software.html
(during installation, in install options , make sure that you choose
to add CMake to PATH).
 4   To check if everything is installed, open MSYS program (which
should look like a UNIX terminal) and try to execute the different
commands: git, make and cmake.

(actually 3 because 4 is for checking).



--
Best regards,
Igor Stasenko AKA sig.
Reply | Threaded
Open this post in threaded view
|

Re: building Cog

JJ Stevens
 
The first step: "1    Download and install Msys, with C/C++ compiler support:
http://www.mingw.org/wiki/msys"

lists the following in its link:

"

Installing MSYS

Up to MSYS 1.0.11, all components of MSYS were distributed in one single installer you downloaded and ran. While convenient, this made it difficult to update individual components. So, all the MSYS components are now available as separate downloads managed by mingw-get (currently alpha release).

For convenience, you can follow the instructions below to install 1.0.11.

Previous MSYS versions (up to 1.0.11)

These instructions were based on the Enlightenment Wiki. Thanks to Vincent Torri for pointing them out.

The total size of the installation of MSYS/MinGW is around 110 MB. Be sure to have enough space on your hard disk.

  • If you haven't already installed MinGW on your system, install MinGW in C:\MinGW. It is better to not install it in the same directory than MSYS, though there should be no problem since MSYS 1.0.11. In the installer, choose "Download and install", then "Current" (it will install gcc 4.4.0).
  • Install MSYS 1.0.11. I usually install it in C:\msys\1.0, but you can use any directory that you prefer.

Check http://sourceforge.net/projects/mingw/files/ for more recent versions of all these files.

  • Next, the post install process will ask for the directory where MinGW was installed to. Enter "c:/mingw". If you make a mistake, you can change it by editing the "C:\msys\1.0\etc\fstab" file, make sure to use 'LF line endings. An example fstab may contain:

c:/mingw /mingw
c:/java /java

  • Set the environment variable HOME to C:\msys\1.0\home
Now you should have a cyan "M" link on the Desktop. When you double-click on it, a terminal should be launched."

On Sun, Jul 10, 2011 at 9:20 PM, Igor Stasenko <[hidden email]> wrote:

On 11 July 2011 04:17, JJ Stevens <[hidden email]> wrote:
>
>
>
> On Sun, Jul 10, 2011 at 9:08 PM, Igor Stasenko <[hidden email]> wrote:
>>
>> On 11 July 2011 03:25, John McIntosh <[hidden email]> wrote:
>> >
>> > Igor, I am reminded that about 8 years back building the Mac VM took
>> > about 20 steps. That I found was about 19 steps too long for an
>> > "average" user to follow.
>> > No disrespect to the folks attempt to build this, but when you have 20
>> > steps then there is just too much chance for a human to fail or for
>> > the other third parties to
>> > throw cold water on you.
>> >
>> > Unfortunately solving this can take a while, I'm sure I struggled for
>> > a month or more refactoring the process into a more simple number of
>> > steps.
>> > So at each point ask youself what can go wrong, and why do I need to
>> > have something manual here? Should there just be a sole command to do
>> > it all?
>> >
>> Look, there are only 4 steps for installing mingw on windows
>> (http://marianopeck.wordpress.com/2011/04/10/building-the-vm-from-scratch-using-git-and-cmakevmmaker/)
>>
>> And JJ Stevens refers to step 5.. so i really don't have any clue what
>> he's doing.
>>
>
> I am talking about the 5 sub-steps for installing the first step you list: MSYS
> http://www.mingw.org/wiki/msys
> jj
>

but there are only 4 of them:

1    Download and install Msys, with C/C++ compiler support:
2    Download and install Git: http://code.google.com/p/msysgit/
During the installation, I choose the option “run git from from the
windows command prompt”. Optional: add git to the PATH variable so
that you can see git from msys. To do this, add path to git for msys:
   Control panel -> System -> System Properties / Advanced  [
Environment Variables ].   There should be already: ‘C:\Program
Files\Git\cmd’. Add ‘C:\Program Files\Git\bin’  Notice that the path
may not be exactly ‘C:\Program Files\Git\’ but similar…
 3   Install CMake: http://www.cmake.org/cmake/resources/software.html
(during installation, in install options , make sure that you choose
to add CMake to PATH).
 4   To check if everything is installed, open MSYS program (which
should look like a UNIX terminal) and try to execute the different
commands: git, make and cmake.

(actually 3 because 4 is for checking).



--
Best regards,
Igor Stasenko AKA sig.

Reply | Threaded
Open this post in threaded view
|

Re: building Cog

JJ Stevens
 
I alos found this link but it doesn't work either:  http://www.cccp-project.net/wiki/index.php?title=Installing_MSYS-MinGW

On Sun, Jul 10, 2011 at 9:22 PM, JJ Stevens <[hidden email]> wrote:
The first step: "1    Download and install Msys, with C/C++ compiler support:
lists the following in its link:

"

Installing MSYS

Up to MSYS 1.0.11, all components of MSYS were distributed in one single installer you downloaded and ran. While convenient, this made it difficult to update individual components. So, all the MSYS components are now available as separate downloads managed by mingw-get (currently alpha release).

For convenience, you can follow the instructions below to install 1.0.11.

Previous MSYS versions (up to 1.0.11)

These instructions were based on the Enlightenment Wiki. Thanks to Vincent Torri for pointing them out.

The total size of the installation of MSYS/MinGW is around 110 MB. Be sure to have enough space on your hard disk.

  • If you haven't already installed MinGW on your system, install MinGW in C:\MinGW. It is better to not install it in the same directory than MSYS, though there should be no problem since MSYS 1.0.11. In the installer, choose "Download and install", then "Current" (it will install gcc 4.4.0).
  • Install MSYS 1.0.11. I usually install it in C:\msys\1.0, but you can use any directory that you prefer.

Check http://sourceforge.net/projects/mingw/files/ for more recent versions of all these files.

  • Next, the post install process will ask for the directory where MinGW was installed to. Enter "c:/mingw". If you make a mistake, you can change it by editing the "C:\msys\1.0\etc\fstab" file, make sure to use 'LF line endings. An example fstab may contain:

c:/mingw /mingw
c:/java /java

  • Set the environment variable HOME to C:\msys\1.0\home
Now you should have a cyan "M" link on the Desktop. When you double-click on it, a terminal should be launched."


On Sun, Jul 10, 2011 at 9:20 PM, Igor Stasenko <[hidden email]> wrote:

On 11 July 2011 04:17, JJ Stevens <[hidden email]> wrote:
>
>
>
> On Sun, Jul 10, 2011 at 9:08 PM, Igor Stasenko <[hidden email]> wrote:
>>
>> On 11 July 2011 03:25, John McIntosh <[hidden email]> wrote:
>> >
>> > Igor, I am reminded that about 8 years back building the Mac VM took
>> > about 20 steps. That I found was about 19 steps too long for an
>> > "average" user to follow.
>> > No disrespect to the folks attempt to build this, but when you have 20
>> > steps then there is just too much chance for a human to fail or for
>> > the other third parties to
>> > throw cold water on you.
>> >
>> > Unfortunately solving this can take a while, I'm sure I struggled for
>> > a month or more refactoring the process into a more simple number of
>> > steps.
>> > So at each point ask youself what can go wrong, and why do I need to
>> > have something manual here? Should there just be a sole command to do
>> > it all?
>> >
>> Look, there are only 4 steps for installing mingw on windows
>> (http://marianopeck.wordpress.com/2011/04/10/building-the-vm-from-scratch-using-git-and-cmakevmmaker/)
>>
>> And JJ Stevens refers to step 5.. so i really don't have any clue what
>> he's doing.
>>
>
> I am talking about the 5 sub-steps for installing the first step you list: MSYS
> http://www.mingw.org/wiki/msys
> jj
>

but there are only 4 of them:

1    Download and install Msys, with C/C++ compiler support:
2    Download and install Git: http://code.google.com/p/msysgit/
During the installation, I choose the option “run git from from the
windows command prompt”. Optional: add git to the PATH variable so
that you can see git from msys. To do this, add path to git for msys:
   Control panel -> System -> System Properties / Advanced  [
Environment Variables ].   There should be already: ‘C:\Program
Files\Git\cmd’. Add ‘C:\Program Files\Git\bin’  Notice that the path
may not be exactly ‘C:\Program Files\Git\’ but similar…
 3   Install CMake: http://www.cmake.org/cmake/resources/software.html
(during installation, in install options , make sure that you choose
to add CMake to PATH).
 4   To check if everything is installed, open MSYS program (which
should look like a UNIX terminal) and try to execute the different
commands: git, make and cmake.

(actually 3 because 4 is for checking).



--
Best regards,
Igor Stasenko AKA sig.


12