Artifacts Associated With Ticket 3335120320518c95
Ticket change [dd5b755946] (rid 239930) by oehhar on 2025-05-09 15:35:13:
- assignee initialized to: "nobody"
- closer initialized to: "nobody"
- cmimetype initialized to: "text/x-fossil-wiki"
- comment initialized to:
VS2022 64 bit prompt on Win11 x64 OS: A compiled and installed TCL 9.0.1 is in c:\myprograms\tcl9.0_x64. A checkout of tdbc-main is in C:\test\fossil\tdbc\tdbc-main An VS2022 64 bit native prompt gets the following commands: <verbatim> % nmake -f makefile.vc TCLDIR=c:\myprograms\tcl9.0_x64 % nmake -f makefile.vc install TCLDIR=c:\myprograms\tcl9.0_x64 INSTALLDIR=..\..\install_x64 ... Installing headers to '..\..\install_x64\..\include' </verbatim> When looking in the install folder (e.g. "..\.."), there is: * if folder "include" does not exist: a file named "include" with the contents of "tdbcDecls.h" in the build directory * if folder "include" exists: two files "tdbc.h" and "tdbcDecls.h" are written to the folder It might be helpful, to create the folder '..\..\install_x64\..\include', if it does not exist. The relevant entries in makefile.vc are: <verbatim> PRJ_HEADERS_PUBLIC = \ $(GENERICDIR)\tdbc.h \ $(GENERICDIR)\tdbcDecls.h </verbatim> I am reporting this here, as IMHO, the machinery for this is here and not in tdbc-main. Thanks for all, Harald
- foundin initialized to: "9.0.1"
- is_private initialized to: "0"
- login: "oehhar"
- priority initialized to: "5 Medium"
- private_contact initialized to: "0f366eb3e9e2fcab52b8ebacd197db9047186a5f"
- resolution initialized to: "None"
- severity initialized to: "Minor"
- status initialized to: "Open"
- submitter initialized to: "oehhar"
- subsystem initialized to: "53. Configuration and Build Tools"
- title initialized to:
makefile.vc: package with include folder requires this folder to exist
- type initialized to: "Bug"
Ticket change [9fe995ac1f] (rid 239931) by oehhar on 2025-05-09 15:36:47:
- comment changed to:
VS2022 64 bit prompt on Win11 x64 OS: A compiled and installed TCL 9.0.1 is in c:\myprograms\tcl9.0_x64. A checkout of tdbc-main is in C:\test\fossil\tdbc\tdbc-main. An VS2022 64 bit native prompt gets the following commands: <verbatim> % nmake -f makefile.vc TCLDIR=c:\myprograms\tcl9.0_x64 % nmake -f makefile.vc install TCLDIR=c:\myprograms\tcl9.0_x64 INSTALLDIR=..\..\install_x64 ... Installing headers to '..\..\install_x64\..\include' </verbatim> When looking in the install folder (e.g. "..\.."), there is: * if folder "include" did not exist in advance: a file named "include" with the contents of "tdbcDecls.h" in the build directory (wrong behaviour) * if folder "include" existed in advance: two files "tdbc.h" and "tdbcDecls.h" are written to the folder (correct behaviour) It might be helpful, to create the folder '..\..\install_x64\..\include', if it does not exist. The relevant entries in makefile.vc are: <verbatim> PRJ_HEADERS_PUBLIC = \ $(GENERICDIR)\tdbc.h \ $(GENERICDIR)\tdbcDecls.h </verbatim> I am reporting this here, as IMHO, the machinery for this is here and not in tdbc-main. Thanks for all, Harald
- login: "oehhar"
- mimetype: "text/plain"
- comment changed to:
Ticket change [ceb6de8035] (rid 240157) by apnadkarni on 2025-05-18 15:53:58:
- icomment: "Proposed fix in branch apn-bug-3335120320."
- login: "apnadkarni"
- mimetype: "text/plain"
Ticket change [779ac12ce7] (rid 240203) by apnadkarni on 2025-05-20 05:28:00:
- closedate changed to: "2460815.72778513"
- closer changed to: "apnadkarni"
- icomment:
Fixed in [761808a5e8]. Harald, please verify for your case.
- login: "apnadkarni"
- mimetype: "text/x-fossil-plain"
- resolution changed to: "Fixed"
- status changed to: "Closed"
Ticket change [6536e2d465] (rid 240247) by oehhar on 2025-05-20 15:54:22:
- closedate changed to: "2460816.16275524"
- closer changed to: "oehhar"
- icomment:
Thanks for the fix, it works. What I still find interesting is, that the folder "include" is created beside the given INSTALLDIR, not in the installdir. It is also interesting, that the mostly useless documentation files (*.n) are written into the installation folder. Also, tdbcstub.lib and tdbcConfig.sh are written into the installation folder, which are IMHO expected in lib. So, anything what is normally in doc/lib goes into the installation folder, with the exception of the include folder. I suppose, this is done to work as bundled package. Anyway, great fix. Thanks for all, Harald
- login: "oehhar"
- mimetype: "text/x-fossil-wiki"
- username: "oehhar"