[Xotcl] NX on windows

Rene Zaumseil r.zaumseil at freenet.de
Mon Jul 30 21:28:32 CEST 2012


Am Montag, 30. Juli 2012, 11:10:05 schrieb Gustaf Neumann:
> On 28.07.12 22:23, Rene Zaumseil wrote:
> > Am Freitag, 27. Juli 2012, 12:32:20 schrieb Gustaf Neumann:
> > 
> > - got an error that wget is not installed;
> > 
> >     installed wget, added GnuWin32/bin to the path
> > 
> > Ok, I have the sources downloaded under unix and then copied to windows.
> 
> maybe, your kbs.tcl script could obtain wget automatically?
> This would
> make life for newbies easier. i had the impression, the
> script was
> supposed to work under win.
I will remember this suggestion for the next version. Thank you.
> 
> > I have installed the 20110211 version last year because my older
> > installation from the tcl sourceforge side was not working anymore.
> > I think it was a problem with missing libraries.
> 
> For the record, the version " mingw-get-inst-20120426" works
> fine.
> 
> > Oh,may be here. I have put the kbs directory under:
> >    C:\MinGW\msys\1.0\home\rene
> > 
> > Could you also try to put the kbs directory under these path?
> 
> See the previous mail, the "path" in general was not the
> problem, but the drive.
> After the copy, the script kbs.tcl continued nicely until it
> run again into
> troubles in the compilation of vfs.c (trying to access
> incomplete type
> Tcl_StatBuf, see below). According to the sources,
> definition of
> Tcl_StatBuf has changed in tcl 8.5.12 (most likely it will work
> with 8.5.11). I hacked locally vfs.c by defining a type
> Tcl_StatBuf_ (using the
> definition of pat thoyts in [1]. Then vfs compiled fine.
Oh, I'm currently only have 8.5.11 checked. 8.5.12 will be in the
next release (after my vacation). And I will add nsf and may be even 8.6 ;)
There is always something to change with new versions. So you
have the first thing resolved.
BTW. if you only want to build nsf and it depends only on tcl/tk you
could try:
 ./kbs.tcl install tcl8.5 tk8.5 nsf2.0
> 
> Then I run than into the problem:
> 
> --2012-07-30 10:28:40--  http://equi4.com/pub/tk/tars/zlib.tar.gz
> Auflösen des Hostnamen »equi4.com«.... 188.142.57.184
> Wiederverwendung der bestehenden Verbindung zu www.equi4.com:80.
> HTTP Anforderung gesendet, warte auf Antwort... 200 OK
> Länge: 502488 (491K) [text/plain]
> In »zlib.tar.gz« speichern.
> 
> 100%[========================================================> ] 502.488   
>   606K/s   in 0,8s
> 
> 2012-07-30 10:28:41 (606 KB/s) - »zlib.tar.gz« gespeichert [502488/502488]
> 
> === Configure
> C:/Users/neumann/Downloads/kbs/buildWindowsNT/zlib1.2.3-static
> /usr/bin/env: ./configure: No such file or directory
> === Require error: zlib1.2.3-static
> child process exited abnormally
> Error in execution of 'install kbskit8.5':
> === Package failed for: zlib1.2.3-static
> Require failed for: zlib1.2.3-static
Was it your second attempt? If there is an error in the Configure
script you should remove the build*/<package> dir and then start
again. Because configure can take some time the Configure script
will only be called if the build*/<package> dir doesn't exists.

So try to remove the dir and start again. You should have a copy
of the zlib1.2.3/* files insisde the build*/<package> dir. The
line in kbs.tcl Package zlib1.2.3-static, Configure script is:
  eval file copy [glob [Get srcdir]/*] .

HTH
rene


More information about the Xotcl mailing list