Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

C++ is the best example of second-system effect since OS/360.


devel / comp.lang.tcl / Re: Problem with tdom on Windows10

SubjectAuthor
* Problem with tdom on Windows10Alan Grunwald
+* Re: Problem with tdom on Windows10EL
|`- Re: Problem with tdom on Windows10Alan Grunwald
+* Re: Problem with tdom on Windows10Peter Dean
|+* Re: Problem with tdom on Windows10Paul Obermeier
||`- Re: Problem with tdom on Windows10Peter Dean
|`- Re: Problem with tdom on Windows10Alan Grunwald
`- Re: Problem with tdom on Windows10Rolf Ade

1
Problem with tdom on Windows10

<tuqd2k$emh1$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=21516&group=comp.lang.tcl#21516

  copy link   Newsgroups: comp.lang.tcl
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: nospam.nurdglaw@gmail.com (Alan Grunwald)
Newsgroups: comp.lang.tcl
Subject: Problem with tdom on Windows10
Date: Tue, 14 Mar 2023 18:06:12 +0000
Organization: A noiseless patient Spider
Lines: 23
Message-ID: <tuqd2k$emh1$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 14 Mar 2023 18:06:12 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="365caea7ffc12f21cfd64f690f11b6b2";
logging-data="481825"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX197E41gC9pJgR5t8kUC9daMZlB5qcnQviw="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.8.0
Cancel-Lock: sha1:remK3Ii7ROLE6LZ//sp0rPB49xg=
 by: Alan Grunwald - Tue, 14 Mar 2023 18:06 UTC

After recent problems with ActiveTcl8.6.9.0 (see thread entitled "cannot
open crypt.dll" using smtp::sendmessage on Windows 10), I have built
Tcl/Tk 8.8.13 from sources, but now cannot get tdom to work.

I initially tried to buld from sources. The README says to build gumbo
from sources if HTML5 support is required (which it is). It goes on to
say that I should switch branches and use the solution file
visualc/gumbo.sln. I was unable to find that file.

I then looked more closely at the tDom home page,
https://core.tcl-lang.org/tdom/dir?ci=tip, and noticed that Windows
binaries were available, with HTML5 support. However, when I downloaded
the 64-bit version and tried to [package require tdom] I got the error
message "couldn't load library "C:/ActiveTcl/lib/tdom0.9.3/tdom093.dll":
Bad exe format. Possibly a 32/64-bit mismatch." Strangely, if I try to
load the dll from my old ActiveTcl installation, I get the same error
(module the dll path). If I load the ActiveTcl installation using the
ActiveTcl copy of tclsh, then the command completes successfully.

Please can someone either help me to buld gumbo so allowing me to buld
tdom locally, or help me out with using the Windows binary.

Many thanks.

Re: Problem with tdom on Windows10

<tuqguv$1m9g$1@news-cypress.fernuni-hagen.de>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=21518&group=comp.lang.tcl#21518

  copy link   Newsgroups: comp.lang.tcl
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!news.szaf.org!news.enyo.de!news.uni-stuttgart.de!news-1.dfn.de!news.dfn.de!news-cypress.fernuni-hagen.de!news.fernuni-hagen.de!.POSTED.185.232.32.93.dynamic-pppoe.dt.ipv4.wtnet.de!not-for-mail
From: elehmann77@gmail.com (EL)
Newsgroups: comp.lang.tcl
Subject: Re: Problem with tdom on Windows10
Date: Tue, 14 Mar 2023 19:12:31 +0000 (UTC)
Organization: FernUni Hagen
Message-ID: <tuqguv$1m9g$1@news-cypress.fernuni-hagen.de>
References: <tuqd2k$emh1$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 14 Mar 2023 19:12:31 +0000 (UTC)
Injection-Info: news-cypress.fernuni-hagen.de; posting-host="185.232.32.93.dynamic-pppoe.dt.ipv4.wtnet.de:185.232.32.93";
logging-data="55600"; mail-complaints-to="newsadmin@fernuni-hagen.de"
User-Agent: NewsTap/5.5 (iPhone/iPod Touch)
Cancel-Lock: sha1:wsRGt1HCqCFfxalcRKAhawJLdww=
 by: EL - Tue, 14 Mar 2023 19:12 UTC

Alan Grunwald <nospam.nurdglaw@gmail.com> wrote:
> After recent problems with ActiveTcl8.6.9.0 (see thread entitled "cannot
> open crypt.dll" using smtp::sendmessage on Windows 10), I have built
> Tcl/Tk 8.8.13 from sources, but now cannot get tdom to work.
>
> I initially tried to buld from sources. The README says to build gumbo
> from sources if HTML5 support is required (which it is). It goes on to
> say that I should switch branches and use the solution file
> visualc/gumbo.sln. I was unable to find that file.
>
> I then looked more closely at the tDom home page,
> https://core.tcl-lang.org/tdom/dir?ci=tip, and noticed that Windows
> binaries were available, with HTML5 support. However, when I downloaded
> the 64-bit version and tried to [package require tdom] I got the error
> message "couldn't load library "C:/ActiveTcl/lib/tdom0.9.3/tdom093.dll":
> Bad exe format. Possibly a 32/64-bit mismatch." Strangely, if I try to
> load the dll from my old ActiveTcl installation, I get the same error
> (module the dll path). If I load the ActiveTcl installation using the
> ActiveTcl copy of tclsh, then the command completes successfully.
>
> Please can someone either help me to buld gumbo so allowing me to buld
> tdom locally, or help me out with using the Windows binary.
>
> Many thanks.
>

After having read the other topic about the crypt.dll issue and this one
here, I suspect that your ActiveTcl installation is 32bit. And your
environment is somehow mixed up, so that the ActiveTcl tclsh sporadically
attempts to load 32bit and 64bit DLLs. But that is just a guess.

Mind also that the error „cannot load … dll“ can happen when the DLL in
question has dependencies to other DLLs, which for whatever reason cannot
be loaded (i.e. because they are there but don‘t match the architecture).

Yes, on windows this mixup of DLLs in 32/64 bit is a rather joyful
experience…

--
EL

Re: Problem with tdom on Windows10

<tuqu1j$hucv$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=21521&group=comp.lang.tcl#21521

  copy link   Newsgroups: comp.lang.tcl
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: peterd@nospam.net (Peter Dean)
Newsgroups: comp.lang.tcl
Subject: Re: Problem with tdom on Windows10
Date: Wed, 15 Mar 2023 08:55:46 +1000
Organization: A noiseless patient Spider
Lines: 22
Message-ID: <tuqu1j$hucv$1@dont-email.me>
References: <tuqd2k$emh1$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 14 Mar 2023 22:55:47 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="4cac4c95d5225bc4fb0ec8e8de36e8b3";
logging-data="588191"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19WU2D7SM1PpMnbqvKgWWdK"
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.8.0
Cancel-Lock: sha1:3YZZL3MG47gfR+azwyFZpygydic=
Content-Language: en-US
In-Reply-To: <tuqd2k$emh1$1@dont-email.me>
 by: Peter Dean - Tue, 14 Mar 2023 22:55 UTC

On 15/3/23 04:06, Alan Grunwald wrote:
> After recent problems with ActiveTcl8.6.9.0 (see thread entitled "cannot
> open crypt.dll" using smtp::sendmessage on Windows 10), I have built
> Tcl/Tk 8.8.13 from sources, but now cannot get tdom to work.
>

snip
>
> Please can someone either help me to buld gumbo so allowing me to buld
> tdom locally, or help me out with using the Windows binary.
>
> Many thanks.

May I suggest BAWT. It comes with everything you'll probably ever need!

https://www.tcl3d.org/bawt/download.html#tclbi

Also go to the environment and remove anything to do with activetcl.
Sounds like it's still in PATH

pd

Re: Problem with tdom on Windows10

<tuqvv7$i96a$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=21522&group=comp.lang.tcl#21522

  copy link   Newsgroups: comp.lang.tcl
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: obermeier@poSoft.de (Paul Obermeier)
Newsgroups: comp.lang.tcl
Subject: Re: Problem with tdom on Windows10
Date: Wed, 15 Mar 2023 00:28:48 +0100
Organization: A noiseless patient Spider
Lines: 23
Message-ID: <tuqvv7$i96a$1@dont-email.me>
References: <tuqd2k$emh1$1@dont-email.me> <tuqu1j$hucv$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 14 Mar 2023 23:28:39 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="faae822f53054c75253c6500405e979c";
logging-data="599242"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19GeJVF9cC/liTM4VjsuJN604JQ148hwy0="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.8.0
Cancel-Lock: sha1:pSyXZfgrrUDwNJmS2y4s1fRbE1g=
In-Reply-To: <tuqu1j$hucv$1@dont-email.me>
 by: Paul Obermeier - Tue, 14 Mar 2023 23:28 UTC

Am 14.03.2023 um 23:55 schrieb Peter Dean:
> On 15/3/23 04:06, Alan Grunwald wrote:
>> After recent problems with ActiveTcl8.6.9.0 (see thread entitled "cannot open crypt.dll" using smtp::sendmessage on Windows 10), I have built Tcl/Tk 8.8.13 from sources, but now cannot get tdom to work.
>>
>
> snip
>>
>> Please can someone either help me to buld gumbo so allowing me to buld tdom locally, or help me out with using the Windows binary.
>>
>> Many thanks.
>
> May I suggest BAWT. It comes with everything you'll probably ever need!
>
> https://www.tcl3d.org/bawt/download.html#tclbi
>
> Also go to the environment and remove anything to do with activetcl. Sounds like it's still in PATH
>
> pd
>

In that special case, BAWT does not help, because it builds tdom without support for gumbo.

Paul

Re: Problem with tdom on Windows10

<87zg8eepew.fsf@pointsman.de>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=21524&group=comp.lang.tcl#21524

  copy link   Newsgroups: comp.lang.tcl
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: rolf@pointsman.de (Rolf Ade)
Newsgroups: comp.lang.tcl
Subject: Re: Problem with tdom on Windows10
Date: Wed, 15 Mar 2023 03:09:27 +0100
Organization: Me
Lines: 33
Message-ID: <87zg8eepew.fsf@pointsman.de>
References: <tuqd2k$emh1$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain
X-Trace: individual.net Sa8urQ9tnBDhokHn26AMjwRoTNfxIUeLWjHWIZWIKqiwgVoFo=
Cancel-Lock: sha1:Oi8LknRc/yV35Kc2gPQ8OOFKa+s= sha1:WLC+f0WPuYPM5Lc/2zBfugE+Hlc=
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)
 by: Rolf Ade - Wed, 15 Mar 2023 02:09 UTC

Alan Grunwald <nospam.nurdglaw@gmail.com> writes:
> After recent problems with ActiveTcl8.6.9.0 (see thread entitled
> "cannot open crypt.dll" using smtp::sendmessage on Windows 10), I have
> built Tcl/Tk 8.8.13 from sources, but now cannot get tdom to work.
>
> I initially tried to buld from sources. The README says to build gumbo
> from sources if HTML5 support is required (which it is). It goes on to
> say that I should switch branches and use the solution file
> visualc/gumbo.sln. I was unable to find that file.
>
> I then looked more closely at the tDom home page,
> https://core.tcl-lang.org/tdom/dir?ci=tip, and noticed that Windows
> binaries were available, with HTML5 support. However, when I
> downloaded the 64-bit version and tried to [package require tdom] I
> got the error message "couldn't load library
> "C:/ActiveTcl/lib/tdom0.9.3/tdom093.dll": Bad exe format. Possibly a
> 32/64-bit mismatch." Strangely, if I try to load the dll from my old
> ActiveTcl installation, I get the same error (module the dll path). If
> I load the ActiveTcl installation using the ActiveTcl copy of tclsh,
> then the command completes successfully.
>
> Please can someone either help me to buld gumbo so allowing me to buld
> tdom locally, or help me out with using the Windows binary.

The tDOM homepage provides Windows binaries for 32 and 64-bit:

https://tdom.org/downloads/

At least the 64-bit build is with gumbo build-in, as I just confirmed
because I could not remember for sure.

rolf

Re: Problem with tdom on Windows10

<tur9i1$jpjs$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=21525&group=comp.lang.tcl#21525

  copy link   Newsgroups: comp.lang.tcl
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: peterd@nospam.net (Peter Dean)
Newsgroups: comp.lang.tcl
Subject: Re: Problem with tdom on Windows10
Date: Wed, 15 Mar 2023 12:12:16 +1000
Organization: A noiseless patient Spider
Lines: 60
Message-ID: <tur9i1$jpjs$1@dont-email.me>
References: <tuqd2k$emh1$1@dont-email.me> <tuqu1j$hucv$1@dont-email.me>
<tuqvv7$i96a$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 15 Mar 2023 02:12:17 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="20720a347924523b9526f1b36203c338";
logging-data="648828"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+vQW9t+zctorJ+eF5+kT6N"
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.8.0
Cancel-Lock: sha1:1uHEFpjSRVQL3OgK3RsykleYDlQ=
Content-Language: en-AU
In-Reply-To: <tuqvv7$i96a$1@dont-email.me>
 by: Peter Dean - Wed, 15 Mar 2023 02:12 UTC

On 15/03/2023 9:28 am, Paul Obermeier wrote:
> Am 14.03.2023 um 23:55 schrieb Peter Dean:
>> On 15/3/23 04:06, Alan Grunwald wrote:
>>> After recent problems with ActiveTcl8.6.9.0 (see thread entitled
>>> "cannot open crypt.dll" using smtp::sendmessage on Windows 10), I
>>> have built Tcl/Tk 8.8.13 from sources, but now cannot get tdom to work.
>>>
>>
>> snip
>>>
>>> Please can someone either help me to buld gumbo so allowing me to
>>> buld tdom locally, or help me out with using the Windows binary.
>>>
>>> Many thanks.
>>
>> May I suggest BAWT. It comes with everything you'll probably ever need!
>>
>> https://www.tcl3d.org/bawt/download.html#tclbi
>>
>> Also go to the environment and remove anything to do with activetcl.
>> Sounds like it's still in PATH
>>
>> pd
>>
>
> In that special case, BAWT does not help, because it builds tdom without
> support for gumbo.
>
> Paul

I built tdom with gumbo using msys2 then replaced the tdom files in my
BAWT install. I don't have any html5 handy but I used the featureinfo
command to check.
C:\Users\peter\Desktop>tclsh
% package require tdom
0.9.3
% dom featureinfo html5
1

Using the MINGW64 environment I installed gumbo-parser like this

pacman -S mingw-w64-x86_64-gumbo-parser

then in the tdom source
–./configure --prefix=/usr --enable-64bit --enable-html5
make
ls -lrth

.....
-rw-r--r-- 1 peter None 1.7K Mar 15 11:42 tdomStubInit.o
-rwxr-xr-x 1 peter None 1.4M Mar 15 11:42 tdom093.dll
-rw-r--r-- 1 peter None 1.3K Mar 15 11:42 tdomStubLib.o
-rw-r--r-- 1 peter None 1.5K Mar 15 11:42 libtdomstub093.a

The arch PKGBUILD was some help

Re: Problem with tdom on Windows10

<tvc431$3450$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=21578&group=comp.lang.tcl#21578

  copy link   Newsgroups: comp.lang.tcl
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail
From: nospam.nurdglaw@gmail.com (Alan Grunwald)
Newsgroups: comp.lang.tcl
Subject: Re: Problem with tdom on Windows10
Date: Tue, 21 Mar 2023 11:23:13 +0000
Organization: A noiseless patient Spider
Lines: 30
Message-ID: <tvc431$3450$1@dont-email.me>
References: <tuqd2k$emh1$1@dont-email.me> <tuqu1j$hucv$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 21 Mar 2023 11:23:13 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="09846565d8757d81b6561f2edc36afff";
logging-data="102560"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19ssNkFcVRFfAW2eb24AZg7VzW4+owoIjg="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.8.0
Cancel-Lock: sha1:UpUQAklRKLxjeumWPcM0p3GU5Mg=
In-Reply-To: <tuqu1j$hucv$1@dont-email.me>
 by: Alan Grunwald - Tue, 21 Mar 2023 11:23 UTC

On 14-Mar-2023 22:55, Peter Dean wrote:
> On 15/3/23 04:06, Alan Grunwald wrote:
>> After recent problems with ActiveTcl8.6.9.0 (see thread entitled
>> "cannot open crypt.dll" using smtp::sendmessage on Windows 10), I have
>> built Tcl/Tk 8.8.13 from sources, but now cannot get tdom to work.
>>
>
> snip
>>
>> Please can someone either help me to buld gumbo so allowing me to buld
>> tdom locally, or help me out with using the Windows binary.
>>
>> Many thanks.
>
> May I suggest BAWT. It comes with everything you'll probably ever need!
>
> https://www.tcl3d.org/bawt/download.html#tclbi
>
> Also go to the environment and remove anything to do with activetcl.
> Sounds like it's still in PATH
>
> pd
>

Thank you for the suggestion Peter.

If you read my last response in the other thread, you may understand why
I have not followed it up.

Alan

Re: Problem with tdom on Windows10

<tvc4al$3450$2@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=21579&group=comp.lang.tcl#21579

  copy link   Newsgroups: comp.lang.tcl
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail
From: nospam.nurdglaw@gmail.com (Alan Grunwald)
Newsgroups: comp.lang.tcl
Subject: Re: Problem with tdom on Windows10
Date: Tue, 21 Mar 2023 11:27:17 +0000
Organization: A noiseless patient Spider
Lines: 29
Message-ID: <tvc4al$3450$2@dont-email.me>
References: <tuqd2k$emh1$1@dont-email.me>
<tuqguv$1m9g$1@news-cypress.fernuni-hagen.de>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 21 Mar 2023 11:27:17 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="09846565d8757d81b6561f2edc36afff";
logging-data="102560"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+K4FlLKlsZ2nubFBkqb3IHg6ZupgEASDo="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.8.0
Cancel-Lock: sha1:eUF9+U3WwFu0dHnc/IS2nQZDdAQ=
In-Reply-To: <tuqguv$1m9g$1@news-cypress.fernuni-hagen.de>
 by: Alan Grunwald - Tue, 21 Mar 2023 11:27 UTC

On 14-Mar-2023 19:12, EL wrote:
> Alan Grunwald <nospam.nurdglaw@gmail.com> wrote:

<snip>

> After having read the other topic about the crypt.dll issue and this one
> here, I suspect that your ActiveTcl installation is 32bit. And your
> environment is somehow mixed up, so that the ActiveTcl tclsh sporadically
> attempts to load 32bit and 64bit DLLs. But that is just a guess.
>
> Mind also that the error „cannot load … dll“ can happen when the DLL in
> question has dependencies to other DLLs, which for whatever reason cannot
> be loaded (i.e. because they are there but don‘t match the architecture).
>
> Yes, on windows this mixup of DLLs in 32/64 bit is a rather joyful
> experience…
>
>

I think you are right. After sleeping on the problem for the best part
of a week, I dimply recall that (at least at some time) only the 32-bit
versions of ActiveTcl was free so I stuck with it after moving to a
64-bit machine.

I've now installed a prebuilt 32-bit version of tDom into my new
home-built Tcl 8.6.13 and everything loads ok.

Many thanks,
Alan


devel / comp.lang.tcl / Re: Problem with tdom on Windows10

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor