Couldn't install GST 3.0.4 on Windows

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

Couldn't install GST 3.0.4 on Windows

ZuLuuuuuu
Hello,

Yesterday I tried to compile GST 3.0.4 on Windows with the prefix thing but on
installation phaze I got error. I executed these commands:

$ ./configure
--prefix=/small1
--bindir=/small1
--libdir=/small1
--with-moduledir=/small1/lib/smalltalk
--with-tcl=/home/Canol/tcl8.4.19/win
--with-tk=/home/Canol/tk8.4.19/win

$ make

$ make install DESTDIR=`pwd`

It is compiled, but during the installation I get an error. Because I couldn't
copy the ouput I took a screenshot:

http://img364.imageshack.us/my.php?image=hatagstux9.jpg

I followed the same steps with Tcl and Tk source without problem.



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

Re: Couldn't install GST 3.0.4 on Windows

Paolo Bonzini-2
> $ make
>
> $ make install DESTDIR=`pwd`
>
> It is compiled, but during the installation I get an error. Because I couldn't
> copy the ouput I took a screenshot:

Thanks.  IIRC, 3.0.3 worked right?  Can you try 3.0c too?

Paolo


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

Re: Couldn't install GST 3.0.4 on Windows

ZuLuuuuuu
Paolo Bonzini <bonzini <at> gnu.org> writes:

>
> > $ make
> >
> > $ make install DESTDIR=`pwd`
> >
> > It is compiled, but during the installation I get an error.
> > Because I couldn't
> > copy the ouput I took a screenshot:
>
> Thanks.  IIRC, 3.0.3 worked right?  Can you try 3.0c too?
>
> Paolo
>


3.0.3 worked but without prefix. I will try it with a prefix today. By the way,
GNU Smalltalk's configure and compile time is dramatically longer than Tcl's and
Tk's (it takes about 10 minutes for Tcl and about 1 hour for GST). Is there any
particular reason for that?



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

Re: Re: Couldn't install GST 3.0.4 on Windows

Paolo Bonzini-2

> 3.0.3 worked but without prefix. I will try it with a prefix today. By the way,
> GNU Smalltalk's configure and compile time is dramatically longer than Tcl's and
> Tk's (it takes about 10 minutes for Tcl and about 1 hour for GST). Is there any
> particular reason for that?

I don't know; it could be because GNU Smalltalk's configure script
creates three identical libtool scripts. :-(  It would be interesting to
compare the configure times, I suspect that's where GNU Smalltalk is
slower, because Windows (and Cygwin/MSYS in particular) is much slower
at creating new processes than Unix OSes.

Don't worry about 3.0.3.  Try this patch instead:

--- a/scripts/Package.st
+++ b/scripts/Package.st
@@ -234,4 +234,10 @@ Object subclass: Command [
     ]

     destDir: destdir installDir: instDir [
+'--- BEGIN' displayNl.
+self class printNl.
+destdir printNl.
+instDir printNl.
+self defaultInstallDir printNl.
+'--- END' displayNl.
        self validateDestDir: destdir installDir: instDir.


It should apply to both 3.0.4 and 3.0c and it will give enough debug
output to fix the problem.  Use whatever version you want, probably both
are buggy.

By the way, the "prefix trick" only works with 3.0c.  You can check if
you configured okay by looking for "checking whether to enable
relocatable install" in the output of configure (or in config.log).  It
should say "yes".

Paolo


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

Re: Couldn't install GST 3.0.4 on Windows

ZuLuuuuuu
Paolo Bonzini <bonzini <at> gnu.org> writes:

>
> I don't know; it could be because GNU Smalltalk's configure script
> creates three identical libtool scripts.   It would be interesting to
> compare the configure times, I suspect that's where GNU Smalltalk is
> slower, because Windows (and Cygwin/MSYS in particular) is much slower
> at creating new processes than Unix OSes.
>
> Don't worry about 3.0.3.  Try this patch instead:
>
> --- a/scripts/Package.st
> +++ b/scripts/Package.st
> @@ -234,4 +234,10 @@ Object subclass: Command [
>      ]
>
>      destDir: destdir installDir: instDir [
> +'--- BEGIN' displayNl.
> +self class printNl.
> +destdir printNl.
> +instDir printNl.
> +self defaultInstallDir printNl.
> +'--- END' displayNl.
>         self validateDestDir: destdir installDir: instDir.
>
> It should apply to both 3.0.4 and 3.0c and it will give enough debug
> output to fix the problem.  Use whatever version you want, probably both
> are buggy.
>
> By the way, the "prefix trick" only works with 3.0c.  You can check if
> you configured okay by looking for "checking whether to enable
> relocatable install" in the output of configure (or in config.log).  It
> should say "yes".
>
> Paolo
>


When compiling 3.0c, it gives this error:

http://img135.imageshack.us/my.php?image=hatagst2gl1.jpg

After applying the patch, while compiling, 3.0.4 gives this error:

http://img135.imageshack.us/img135/4597/hatagst3zj4.jpg

After applying the patch, while installing, 3.0.3 gives an error which mentiones
about a folder path "/small1" but there is no folder named that in root, the
installation creates the "small1" folder in "smalltalk-3.0.4" folder itself not
in root folder, so the true path is "/home/Canol/smalltalk-3.0.3/small1". Maybe
that is the reason of the error? Unfortunately I forgot to take the screenshot
of that and I don't have time to try it again :(

Tcl and Tk were creating the prefixed folder in root, in opposed to GST.

By the way configure time is about 20 minutes, compiling time is also about 20
minutes. Installation time is about 1 minute.



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

Re: Re: Couldn't install GST 3.0.4 on Windows

Paolo Bonzini-2

> When compiling 3.0c, it gives this error:
>
> http://img135.imageshack.us/my.php?image=hatagst2gl1.jpg

Good, thanks.

> After applying the patch, while compiling, 3.0.4 gives this error:
>
> http://img135.imageshack.us/img135/4597/hatagst3zj4.jpg

Don't worry about that error.  You modified scripts/Package.st but you
lack some tools needed to rebuild the man page ("Sistem belirtilen yolu
bulamiyor" or something like that).  Do a ": > doc/gst-package.1" and
redo "make".

It should give the same error that you got in the previous attempt
(something like "mkdir C:\msys\blah\blahC:"), but with the four
debugging lines that you see at the top of
http://img135.imageshack.us/img135/4597/hatagst3zj4.jpg -- and which I
need to fix the bug.

> Maybe
> that is the reason of the error? Unfortunately I forgot to take the screenshot
> of that and I don't have time to try it again :(

Well, I don't care much about 3.0.3 right now.

Thanks in advance,

Paolo


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

Re: Re: Couldn't install GST 3.0.4 on Windows

Paolo Bonzini-2
In reply to this post by ZuLuuuuuu

> When compiling 3.0c, it gives this error:
>
> http://img135.imageshack.us/my.php?image=hatagst2gl1.jpg

And here is the patch for it:

diff --git a/lib-src/socketx.h b/lib-src/socketx.h
index 419142a..ef2a59a 100644
--- a/lib-src/socketx.h
+++ b/lib-src/socketx.h
@@ -72,6 +72,7 @@
 #define ENETRESET WSAENETRESET

 typedef int nfds_t;
+typedef int socklen_t;

 /* re-define FD_ISSET to avoid a WSA call while we are not using
  * network sockets */


_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk