Windows build

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

Windows build

Ang BeePeng
Hi all.

I want to learn more about GNU Smalltalk.

I'm at this page (building-gst-guides), sub-topic: Windows: MinGW/MSYS.
Link no. 3 seems not there any more, where can I get it? (InfoZIP: Download from ftp://tug.ctan.org/tex-archive/tools/zip/info-zip/WIN32/zip232xN.zip)

I read about Windows port is under development. Can I get it somewhere?

Thanks.

Ang Beepeng
Reply | Threaded
Open this post in threaded view
|

Re: Windows build

Paolo Bonzini-2
On 11/20/2009 03:59 AM, Ang Beepeng wrote:
>   Windows: MinGW/MSYS.
> Link no. 3 seems not there any more, where can I get it? (InfoZIP: Download
> fromftp://tug.ctan.org/tex-archive/tools/zip/info-zip/WIN32/zip232xN.zip)

There's a new place:

ftp://ftp.info-zip.org/pub/infozip/win32/zip232xn.zip

However, I'm working on updating the build instructions under Win32,
using the rpm packages in Cygwin and/or cross-compilation from Linux.
This one will be able to reuse GTK+ packages from Fedora and cut heavily
on the build time.  Stay tuned.

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.

Thanks for helping.

I have tcl and tk built. GST make gives errors.

../libtool: lib: command not found
make[2]: *** [library.la] Error 127
make[2]: Leaving directory `/home/Jason/Smalltalk-3.1/lib-src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/Jason/Smalltalk-3.1'
make: *** [all] Error 2

I rebuild several times, I'm getting same errors. What can I do?

Are there documentations on building GST as dll?

Thanks.

Ang Beepeng
Paolo Bonzini-2 wrote
On 11/20/2009 03:59 AM, Ang Beepeng wrote:
>   Windows: MinGW/MSYS.
> Link no. 3 seems not there any more, where can I get it? (InfoZIP: Download
> fromftp://tug.ctan.org/tex-archive/tools/zip/info-zip/WIN32/zip232xN.zip)

There's a new place:

ftp://ftp.info-zip.org/pub/infozip/win32/zip232xn.zip

However, I'm working on updating the build instructions under Win32,
using the rpm packages in Cygwin and/or cross-compilation from Linux.
This one will be able to reuse GTK+ packages from Fedora and cut heavily
on the build time.  Stay tuned.

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 11/21/2009 11:01 AM, Ang Beepeng wrote:
> ../libtool: lib: command not found
> make[2]: *** [library.la] Error 127
> make[2]: Leaving directory `/home/Jason/Smalltalk-3.1/lib-src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/Jason/Smalltalk-3.1'
> make: *** [all] Error 2

This is not enough output to diagnose.

What's your version of libtool?

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
Sorry, I do not know how to check what version of libtools I have.

Where should I find for libtools' version?

Thanks.

Ang Beepeng

Paolo Bonzini-2 wrote
On 11/21/2009 11:01 AM, Ang Beepeng wrote:
> ../libtool: lib: command not found
> make[2]: *** [library.la] Error 127
> make[2]: Leaving directory `/home/Jason/Smalltalk-3.1/lib-src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/Jason/Smalltalk-3.1'
> make: *** [all] Error 2

This is not enough output to diagnose.

What's your version of libtool?

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 11/21/2009 12:53 PM, Ang Beepeng wrote:
> Sorry, I do not know how to check what version of libtools I have.

Please wait for binary releases to be available.

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.

Thanks a lot. I want to learn more about the VM. I wish I can learn and modify VM. Therefore, a binary release isn't really what I need. May I know what version of libtools will give a successful build of GST?

Thanks.

Ang Beepeng


Paolo Bonzini-2 wrote
On 11/21/2009 12:53 PM, Ang Beepeng wrote:
> Sorry, I do not know how to check what version of libtools I have.

Please wait for binary releases to be available.

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 11/21/2009 03:35 PM, Ang Beepeng wrote:
>
> Hi.
>
> Thanks a lot. I want to learn more about the VM. I wish I can learn and
> modify VM. Therefore, a binary release isn't really what I need. May I know
> what version of libtools will give a successful build of GST?

I use libtool 2.2.x.

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, thanks a lot for your help.

I saw this during build: "../libtool: cygpath: command not found". I have my cygwin reinstall.

After that, I got this instead: "cygpath: can't convert empty path".

cygpath: can't convert empty path
 gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -Wall -Wno-strict-aliasing -Wno-switch -fno-gcse -fstrict-aliasing -Wwrite-strings -Wdeclaration-after-statement -Wno-format -Wpointer-arith -MT getopt.lo -MD -MP -MF .deps/getopt.Tpo -c getopt.c  -DDLL_EXPORT -DPIC -o .libs/getopt.o

Do you think that this is the problem to my build fail? I got the above several times throughout the build.

Thanks.

Ang Beepeng


Paolo Bonzini-2 wrote
On 11/21/2009 03:35 PM, Ang Beepeng wrote:
>
> Hi.
>
> Thanks a lot. I want to learn more about the VM. I wish I can learn and
> modify VM. Therefore, a binary release isn't really what I need. May I know
> what version of libtools will give a successful build of GST?

I use libtool 2.2.x.

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 11/23/2009 08:53 AM, Ang Beepeng wrote:
> cygpath: can't convert empty path
>   gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -Wall -Wno-strict-aliasing -Wno-switch
> -fno-gcse -fstrict-aliasing -Wwrite-strings -Wdeclaration-after-statement
> -Wno-format -Wpointer-arith -MT getopt.lo -MD -MP -MF .deps/getopt.Tpo -c
> getopt.c  -DDLL_EXPORT -DPIC -o .libs/getopt.o
>
> Do you think that this is the problem to my build fail? I got the above
> several times throughout the build.

Likely, but I have no idea how to fix it.  Try restarting the build from
scratch: do "make distclean" and then again "./configure".

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.

Thanks again. I retry, but getting same problem.

Do you know any trick to know print argument to cygpath? Which path is actually empty? Maybe I can fix it by providing the path.

Thanks.

Ang Beepeng


Paolo Bonzini-2 wrote
On 11/23/2009 08:53 AM, Ang Beepeng wrote:
> cygpath: can't convert empty path
>   gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -Wall -Wno-strict-aliasing -Wno-switch
> -fno-gcse -fstrict-aliasing -Wwrite-strings -Wdeclaration-after-statement
> -Wno-format -Wpointer-arith -MT getopt.lo -MD -MP -MF .deps/getopt.Tpo -c
> getopt.c  -DDLL_EXPORT -DPIC -o .libs/getopt.o
>
> Do you think that this is the problem to my build fail? I got the above
> several times throughout the build.

Likely, but I have no idea how to fix it.  Try restarting the build from
scratch: do "make distclean" and then again "./configure".

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 11/23/2009 01:23 PM, Ang Beepeng wrote:
>
> Hi.
>
> Thanks again. I retry, but getting same problem.
>
> Do you know any trick to know print argument to cygpath? Which path is
> actually empty? Maybe I can fix it by providing the path.

No, I have no idea since I never saw the error.

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, sorry for trouble.

I delete the entire folder, rebuild from extracting gst source. The previous error solved. But I'm now pacing another error, which seems to be some problem with the code, or perhaps, different compiler. Compilation of sysdep.c gives errors.

I've recorded a video to show errors I'm facing. gst-1.avi

Thanks.

Ang Beepeng

Reply | Threaded
Open this post in threaded view
|

Re: Windows build

Paolo Bonzini-2
On 11/25/2009 09:15 AM, Ang Beepeng wrote:
> I delete the entire folder, rebuild from extracting gst source. The previous
> error solved. But I'm now pacing another error, which seems to be some
> problem with the code, or perhaps, different compiler. Compilation of
> sysdep.c gives errors.
>
> I've recorded a video to show errors I'm facing.
> http://old.nabble.com/file/p26508915/gst-1.avi  gst-1.avi

Thanks, this is easier. :-)  For Windows support you should use the
latest version from the git repository.  Version 3.1's support of
Windows is very poor (it only works under Cygwin, not MINGW32).

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 got my source through git. But there is no configure, no make. What should I do?

Thanks.

Ang Beepeng
Reply | Threaded
Open this post in threaded view
|

Re: Windows build

MrGwen
Hi,

can you try

autoreconf -vi

Cheers,
Gwen

On Wed, 2009-11-25 at 06:51 -0800, Ang Beepeng wrote:
> Hi,
>
> I got my source through git. But there is no configure, no make. What should
> I do?
>
> Thanks.
>
> Ang Beepeng
>




_______________________________________________
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 got "command not found".
Any other option I can try?

Thanks.

Ang Beepeng


Gwenael Casaccio-2 wrote
Hi,

can you try

autoreconf -vi

Cheers,
Gwen

On Wed, 2009-11-25 at 06:51 -0800, Ang Beepeng wrote:
> Hi,
>
> I got my source through git. But there is no configure, no make. What should
> I do?
>
> Thanks.
>
> Ang Beepeng
>




_______________________________________________
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 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
Reply | Threaded
Open this post in threaded view
|

Re: Windows build

Ang BeePeng
Thanks. I will do that.

Thanks.

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
help-smalltalk@gnu.org
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 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
help-smalltalk@gnu.org
http://lists.gnu.org/mailman/listinfo/help-smalltalk
1234