pchemguy / SQLite-ICU-MinGW

Building SQLite and SQLiteODBC on Windows with ICU and other extensions using MSVC Build Tools and MSYS2/MinGW
11 stars 3 forks source link

tclsh #2

Open kazuser opened 2 years ago

kazuser commented 2 years ago

1: изображение

2: ? изображение

3: hmmm: изображение

4: ok, what if replace some lines: изображение ... by this: изображение

5: изображение

6: изображение

Now I use "ActiveTcl" and I think I need a "normal tclsh.exe" but where I can find it? :)

pchemguy commented 2 years ago

Please, do NOT use scripts in MSVC/MinGW folders. Please read this https://pchemguy.github.io/SQLite-ICU-MinGW/repo-scripts. I keep MSVC/MinGW repo folders for historical reasons, but the up-to-date scripts are in the folder "Current".

ActiveTCL should be fine. Its bin folder has tclsh. The environment checks you have on the screenshot do not set any environment variables, but only perform the checks. Making any changes here is the same as taking the checks out. You would merely bypass them but would not fix your environment. You need to run those commands from your shell (like where tclsh.exe) and verify that they can find the tools. Your TCL bin folder must be in the path or you can set TCL_HOME environment variable to the folder containing the TCL bin folder. If cl.exe is not in the Path, again something is wrong with how you start your shell.

kazuser commented 2 years ago

Ok, I'll try it ASAP, thank you!

pchemguy commented 2 years ago

Let me know how it goes.

kazuser commented 2 years ago

👌

kazuser commented 2 years ago

изображение

stderr.log stdout.log

pchemguy commented 2 years ago

Please set this and restart the console:

From an admin account: [HKEY_LOCAL_MACHINE\Software\Microsoft\Command Processor] "EnableExtensions"=dword:00000001 "DelayedExpansion"=dword:00000001

From your account, if different from above [HKEY_CURRENT_USER\Software\Microsoft\Command Processor] "EnableExtensions"=dword:00000001 "DelayedExpansion"=dword:00000001

pchemguy commented 2 years ago

Please clone/download repo again.

kazuser commented 2 years ago

1: изображение

2: изображение

3: I've re-unpacked the zip > restarted console > and ran again: изображение

stderr.log stdout.log

kazuser commented 2 years ago

Please clone/download repo again.

Ooops, just a moment)

kazuser commented 2 years ago

Done:

изображение

The same :(

stderr.log stdout.log sqlite_MSVC_Cpp_Build_Tools.ext.bat.txt

pchemguy commented 2 years ago

I just got an idea. I get the same errors if I take my Windows Resource Kit folder out. Do you have one installed?

Please run this script from the same shell and attach the logs.

Also, I need this "extra\build\Makefile.msc.ext"

Fixed another bug in the MSVC script, please update.