Windows build

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

Re: Windows build

Paolo Bonzini-2
On 11/29/2009 05:57 PM, Ang Beepeng wrote:
> I try to install automake and autoconf, but fail to do so. I think I'd need
> m4 instal before autoconf and automake.
>
> m4 installation not successful either. I tried with other version of m4, I
> still got same error. Is there any sequence I need to follow in installing
> these packages that I'll need to build gst?

Why don't you use binary packages?  Also, what is the error you get for
m4?  If you don't post error messages, my answer is guaranteed to be "I
don't know".

Finally, do you have by chance Linux installed, even in a VM?  Then you
could try cross-compilation.

Paolo


_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk
Reply | Threaded
Open this post in threaded view
|

Re: Windows build

MrGwen
In reply to this post by Ang BeePeng
Hi,

may be you can try to install msys and mingw here
is a short tutorial to install autoconf/make/m4/... for windows
http://www.mingw.org/wiki/MSYS the place to download the files
http://sourceforge.net/projects/mingw/files/

Cheers,
Gwen

On Sun, 2009-11-29 at 08:57 -0800, Ang Beepeng wrote:

> Hi.
>
> I try to install automake and autoconf, but fail to do so. I think I'd need
> m4 instal before autoconf and automake.
>
> m4 installation not successful either. I tried with other version of m4, I
> still got same error. Is there any sequence I need to follow in installing
> these packages that I'll need to build gst?
>
> Can you show me what I will need (every single one), from scratch to build
> gst. cygwin, libtool etc. My pc have msys, mingw and others. I'm not sure if
> they contribute to problem I'm facing. Therefore, I might need to
> uninstall/delete everything and start all over again.
>
> Thanks for you help.
>
> Ang Beepeng
>
> Paolo Bonzini-2 wrote:
> >
> > On 11/25/2009 04:19 PM, Ang Beepeng wrote:
> >> I got "command not found".
> >> Any other option I can try?
> >
> > Installing autoconf, automake, libtool, and following what is already
> > written at http://smalltalk.gnu.org/download/cvs for example?
> >
> > Paolo
> >
> >
> > _______________________________________________
> > help-smalltalk mailing list
> > [hidden email]
> > http://lists.gnu.org/mailman/listinfo/help-smalltalk
> >
> >
>




_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk
Reply | Threaded
Open this post in threaded view
|

Re: Windows build

freddie.akeroyd
In reply to this post by Ang BeePeng
> Hi.

> I try to install automake and autoconf, but fail to do so. I think I'd
need
> m4 instal before autoconf and automake.

> m4 installation not successful either. I tried with other version of
m4, I
> still got same error. Is there any sequence I need to follow in
installing
> these packages that I'll need to build gst?

> Can you show me what I will need (every single one), from scratch to
build
> gst. cygwin, libtool etc. My pc have msys, mingw and others. I'm not
sure if
> they contribute to problem I'm facing. Therefore, I might need to
> uninstall/delete everything and start all over again.

> Thanks for you help.

> Ang Beepeng

Hi,

I haven't built Smalltalk on Windows for a while, but Cygwin should have
all the packages you need available via the standard web installer. In
the "Devel" set of packages you will find automake, autoconf, libtool,
git etc. and then you can use "git" to get the latest version of
smalltalk and build with:

autoreconf -vi
./configure
make

If you haven't installed the appropriate cygwin version of a package,
then it is possible cygwin will locate one elsewhere on your computer
and cause problems. The safest option might be to remove, or else make
sure they are not in your windows PATH, other autoconf, m4, libtool etc.
versions. Alternatively, you can type in cygwin e.g.

which m4

To see where a particular command is located - you should see something
like "/usr/bin/m4" but if it starts with "/cygdrive/c/..." then it has
located a version elsewhere on the computer that may cause problems

If you want to later use MinGW, then you can avoid having to install
autoconf etc. there by typing "make dist" in the cygwin environment to
create a "smalltalk-3.1.tar.gz" file which will have configure already
included - copy to and unpack this file in your MinGW environment

Regards,

Freddie
--
Scanned by iCritical.


_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk
Reply | Threaded
Open this post in threaded view
|

Re: Windows build

Ang BeePeng
Hi, thanks a lot for your help.

I followed your instruction, I install cygwin-devel. I have InfoZip, with its directory set in environment variable "PATH". I get gst source with git. Start building gst with:

autoreconf -vi
./configure
make

I get errors at make. gst20091207.swf

I redo process above several times, I got the same thing. I tried both with smalltalk-3.1 and smalltalk-3.0.
What can I do? Do you have any idea what goes wrong?

Thanks.

Ang Beepeng


freddie.akeroyd wrote
Hi,

I haven't built Smalltalk on Windows for a while, but Cygwin should have
all the packages you need available via the standard web installer. In
the "Devel" set of packages you will find automake, autoconf, libtool,
git etc. and then you can use "git" to get the latest version of
smalltalk and build with:

autoreconf -vi
./configure
make

If you haven't installed the appropriate cygwin version of a package,
then it is possible cygwin will locate one elsewhere on your computer
and cause problems. The safest option might be to remove, or else make
sure they are not in your windows PATH, other autoconf, m4, libtool etc.
versions. Alternatively, you can type in cygwin e.g.

which m4

To see where a particular command is located - you should see something
like "/usr/bin/m4" but if it starts with "/cygdrive/c/..." then it has
located a version elsewhere on the computer that may cause problems

If you want to later use MinGW, then you can avoid having to install
autoconf etc. there by typing "make dist" in the cygwin environment to
create a "smalltalk-3.1.tar.gz" file which will have configure already
included - copy to and unpack this file in your MinGW environment

Regards,

Freddie
--
Scanned by iCritical.


_______________________________________________
help-smalltalk mailing list
help-smalltalk@gnu.org
http://lists.gnu.org/mailman/listinfo/help-smalltalk
Reply | Threaded
Open this post in threaded view
|

Re: Windows build

Paolo Bonzini-2
On 12/07/2009 03:15 PM, Ang Beepeng wrote:
> I redo process above several times, I got the same thing. I tried both with
> smalltalk-3.1 and smalltalk-3.0.
> What can I do? Do you have any idea what goes wrong?

Try passing --disable-generational-gc to configure.  It would be just a
work around, but still it may fix it.

Paolo


_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk
Reply | Threaded
Open this post in threaded view
|

Re: Windows build

Ang BeePeng
This post was updated on .
Hi. Thanks for helping.

I get source from git,

autoreconf -vi
./configure --disable-generational-gc
make

Is that correct? I saw "zip error", is InfoZip not install properly?
http://askoh.net/mmu/beepeng/Smalltalk/GNU/video/20091208/gst20091208.html

Thanks.

Ang Beepeng

Paolo Bonzini-2 wrote
On 12/07/2009 03:15 PM, Ang Beepeng wrote:
> I redo process above several times, I got the same thing. I tried both with
> smalltalk-3.1 and smalltalk-3.0.
> What can I do? Do you have any idea what goes wrong?

Try passing --disable-generational-gc to configure.  It would be just a
work around, but still it may fix it.

Paolo


_______________________________________________
help-smalltalk mailing list
help-smalltalk@gnu.org
http://lists.gnu.org/mailman/listinfo/help-smalltalk
Reply | Threaded
Open this post in threaded view
|

Re: Windows build

Paolo Bonzini-2
On 12/08/2009 08:01 AM, Ang Beepeng wrote:

>
> Hi. Thanks for helping.
>
> I get source from git,
>
> autoreconf -vi
> ./configure --disable-generational-gc
> make
>
> Is that correct? I saw "zip error", is InfoZip not install properly?
> http://askoh.net/mmu/beepeng/Smalltalk/GNU/gst20091208.html

Good, that is progress.  Very good progress actually.  The last thing to
do is to install the Cygwin package "zip"; if you are still setting the
ZIP environment variable to point it to the native Windows "zip", first
try removing that setting because you likely have a "zip" already
installed in Cygwin's /usr/bin/zip.

If not, you can easily install "zip" using the Cygwin setup.exe.

Paolo


_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk
Reply | Threaded
Open this post in threaded view
|

Re: Windows build

Ang BeePeng
Hi,

I install zip using Cgwin setup.exe, and I remove InfoZip that I have previously.
Zip error fixed, but error shown at the end of the compilation do not go away.
http://askoh.net/mmu/beepeng/Smalltalk/GNU/video/20091209/gst20091209.html

Thank you very much.

Ang Beepeng

Paolo Bonzini-2 wrote
If not, you can easily install "zip" using the Cygwin setup.exe.

Paolo


_______________________________________________
help-smalltalk mailing list
help-smalltalk@gnu.org
http://lists.gnu.org/mailman/listinfo/help-smalltalk
Reply | Threaded
Open this post in threaded view
|

Re: Windows build

Paolo Bonzini-2
On 12/08/2009 09:16 PM, Ang Beepeng wrote:
> I install zip using Cgwin setup.exe, and I remove InfoZip that I have
> previously.
> Zip error fixed, but error shown at the end of the compilation do not go
> away.
> http://askoh.net/mmu/beepeng/Smalltalk/GNU/video/20091209/gst20091209.html

You're not using the latest git version.  There's no tcp.lo since 3.1, I
think.

Paolo


_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk
Reply | Threaded
Open this post in threaded view
|

Re: Windows build

Ang BeePeng
Hi.

You're right. For video dated 20091209, I use 3.0 stable.

I try build with combination of 3.0, 3.1 with "./configure" and "./configure --disable-generational-gc" respectively. Seems like "./configure --disable-generational-gc" didn't do any help.

3.0 build gives me error as in video 20091209
3.1 build gives me error as in video 20091207

Thanks.

Ang Beepeng

Paolo Bonzini-2 wrote
You're not using the latest git version.  There's no tcp.lo since 3.1, I
think.

Paolo


_______________________________________________
help-smalltalk mailing list
help-smalltalk@gnu.org
http://lists.gnu.org/mailman/listinfo/help-smalltalk
Reply | Threaded
Open this post in threaded view
|

Re: Windows build

Paolo Bonzini-2
On 12/09/2009 10:44 AM, Ang Beepeng wrote:
>
> Hi.
>
> You're right. For video dated 20091209, I use 3.0 stable.
>
> I try build with combination of 3.0, 3.1 with "./configure" and "./configure
> --disable-generational-gc" respectively

... but not git stable.  Try that one, please.

Paolo



_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk
Reply | Threaded
Open this post in threaded view
|

Re: Windows build

Ang BeePeng
Hi,

I do not get what you mean. Which one do you think I should use?

I followed instruction on http://smalltalk.gnu.org/download/cvs. I use git to get source into my directory.
I assume after "git clone git://git.sv.gnu.org/smalltalk.git", I will get gst-3.1.
After "git checkout -b stable-3.0 origin/stable-3.0" to directory contain gst-3.1, I will get gst-3.0 stable.

Is that correct? Am I getting the correct set of source code?

Thanks.

Ang Beepeng

Paolo Bonzini-2 wrote
On 12/09/2009 10:44 AM, Ang Beepeng wrote:
>
> Hi.
>
> You're right. For video dated 20091209, I use 3.0 stable.
>
> I try build with combination of 3.0, 3.1 with "./configure" and "./configure
> --disable-generational-gc" respectively

... but not git stable.  Try that one, please.

Paolo



_______________________________________________
help-smalltalk mailing list
help-smalltalk@gnu.org
http://lists.gnu.org/mailman/listinfo/help-smalltalk
Reply | Threaded
Open this post in threaded view
|

Re: Windows build

Paolo Bonzini-2
On 12/09/2009 11:11 AM, Ang Beepeng wrote:

>
> Hi,
>
> I do not get what you mean. Which one do you think I should use?
>
> I followed instruction on http://smalltalk.gnu.org/download/cvs. I use git
> to get source into my directory.
> I assume after "git clone git://git.sv.gnu.org/smalltalk.git", I will get
> gst-3.1.
> After "git checkout -b stable-3.0 origin/stable-3.0" to directory contain
> gst-3.1, I will get gst-3.0 stable.
>
> Is that correct? Am I getting the correct set of source code?

Ok, I see.  You're actually getting something like

GNU Smalltalk version 3.1-c26f213

which you called 3.1.  I thought you were referring to stable 3.1, sorry
for the misunderstanding.

So, for 3.1 you're getting errors that --disable-generational-gc does
not fix.  What version are you on?  I only tested XP and Server 2003,
maybe Vista or Windows 7 are broken.

Also, sorry for the possibly stupid question, but... why aren't you
trying Linux?  You could still try Windows every now and then, but now
you'd be up and running.  (Or maybe you have done so).

Paolo


_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk
Reply | Threaded
Open this post in threaded view
|

Re: Windows build

tumm
paolo is helping Ang with some window build problems.

he pauses in that quest to asks Ang "why not use linux?".

just fyi: i do a lot of teaching and consulting. it would greatly ease
the introduction of GNU smalltalk to a broader community if there was
a no hassle build functionality on windows.

so please, i hope you all press on with resolving these bugs.

t

On Wed, Dec 9, 2009 at 5:45 AM, Paolo Bonzini <[hidden email]> wrote:

> On 12/09/2009 11:11 AM, Ang Beepeng wrote:
>>
>> Hi,
>>
>> I do not get what you mean. Which one do you think I should use?
>>
>> I followed instruction on http://smalltalk.gnu.org/download/cvs. I use git
>> to get source into my directory.
>> I assume after "git clone git://git.sv.gnu.org/smalltalk.git", I will get
>> gst-3.1.
>> After "git checkout -b stable-3.0 origin/stable-3.0" to directory contain
>> gst-3.1, I will get gst-3.0 stable.
>>
>> Is that correct? Am I getting the correct set of source code?
>
> Ok, I see.  You're actually getting something like
>
> GNU Smalltalk version 3.1-c26f213
>
> which you called 3.1.  I thought you were referring to stable 3.1, sorry for
> the misunderstanding.
>
> So, for 3.1 you're getting errors that --disable-generational-gc does not
> fix.  What version are you on?  I only tested XP and Server 2003, maybe
> Vista or Windows 7 are broken.
>
> Also, sorry for the possibly stupid question, but... why aren't you trying
> Linux?  You could still try Windows every now and then, but now you'd be up
> and running.  (Or maybe you have done so).
>
> Paolo
>
>
> _______________________________________________
> help-smalltalk mailing list
> [hidden email]
> http://lists.gnu.org/mailman/listinfo/help-smalltalk
>



--
there are those who call me... (dr) timm (menzies)?
morgantown (39.6n, -79w), usa
assoc prof csee, wvu
http://menzies.us

PROBLEM: Handling e-mail is very very very slow, resulting in inbox overflow.
SOLUTION: Adopt the  "http://five.sentenc.es" policy: no responses
longer than 5 sentences. It’s that simple. Care to try it?


_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk
Reply | Threaded
Open this post in threaded view
|

Re: Windows build

Paolo Bonzini-2
On 12/09/2009 12:38 PM, Tim Menzies wrote:
> so please, i hope you all press on with resolving these bugs.

The problem is that it works for me.  I do have access to Windows (now)
but I cannot use up all my disk to install a zillion versions of Windows.

Besides, I was not at all "pausing", the same message includes "What
version [of Windows] are you on?".

Please.

Paolo



_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk
Reply | Threaded
Open this post in threaded view
|

Re: Windows build

Ang BeePeng
In reply to this post by Paolo Bonzini-2
Hi,

I'm on Windows XP. I'm not familiar with Linux, therefore I choose to keep trying with Windows. Also, due to hardware limitation, is a bit trouble to run Linux, for me now. I'd probably try Linux build when I got another PC to work.

Ok, so, I should get a 3.1 stable, right? From git?

git clone git://git.sv.gnu.org/smalltalk.git
followed by
git checkout -b stable-3.1 origin/stable-3.1

Is that correct?

Thanks.

Ang Beepeng


Paolo Bonzini-2 wrote
Ok, I see.  You're actually getting something like

GNU Smalltalk version 3.1-c26f213

which you called 3.1.  I thought you were referring to stable 3.1, sorry
for the misunderstanding.

So, for 3.1 you're getting errors that --disable-generational-gc does
not fix.  What version are you on?  I only tested XP and Server 2003,
maybe Vista or Windows 7 are broken.

Also, sorry for the possibly stupid question, but... why aren't you
trying Linux?  You could still try Windows every now and then, but now
you'd be up and running.  (Or maybe you have done so).

Paolo


_______________________________________________
help-smalltalk mailing list
help-smalltalk@gnu.org
http://lists.gnu.org/mailman/listinfo/help-smalltalk
Reply | Threaded
Open this post in threaded view
|

Re: Windows build

Paolo Bonzini-2

> Ok, so, I should get a 3.1 stable, right? From git?
>
> git clone git://git.sv.gnu.org/smalltalk.git
> followed by
> git checkout -b stable-3.1 origin/stable-3.1
>
> Is that correct?

No, what you were doing before (using master) is correct.  There's no
stable-3.1 (unfortunate, true).

It's bad that it doesn't work: it does for me and I don't know of any
difference between XP and Server 2003 that could cause the problem.
Sorry, I'm a bit stuck.  I'll try to make a binary and send it to you
offlist, so you can test that.  Give me a day.

Paolo


_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk
Reply | Threaded
Open this post in threaded view
|

Re: Windows build

Ang BeePeng
Thank you so so much for all the helps. I hope you don't mind, but if it's possible, can I have one with debugging info? So that I can debug and learn from it. Just forget about it if it is troublesome to you.

Thank you so much.

Ang Beepeng

Paolo Bonzini-2 wrote
No, what you were doing before (using master) is correct.  There's no
stable-3.1 (unfortunate, true).

It's bad that it doesn't work: it does for me and I don't know of any
difference between XP and Server 2003 that could cause the problem.
Sorry, I'm a bit stuck.  I'll try to make a binary and send it to you
offlist, so you can test that.  Give me a day.

Paolo


_______________________________________________
help-smalltalk mailing list
help-smalltalk@gnu.org
http://lists.gnu.org/mailman/listinfo/help-smalltalk
Reply | Threaded
Open this post in threaded view
|

Re: Windows build

Paolo Bonzini-2
> Thank you so so much for all the helps. I hope you don't mind, but if it's
> possible, can I have one with debugging info? So that I can debug and learn
> from it. Just forget about it if it is troublesome to you.

Sure, of course.  I'll compile it with CFLAGS=-g and
--disable-generational-gc (just one less things that gets in the way).

Paolo


_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk
Reply | Threaded
Open this post in threaded view
|

Re: Windows build

ZuLuuuuuu
In reply to this post by Paolo Bonzini-2
Paolo Bonzini-2 wrote
I'll try to make a binary and send it to you
offlist, so you can test that.  Give me a day.
Feel free to cc me that mail :D
Canol Gökel
1234