Artifacts Associated With Ticket 3607615fffffffff
Ticket change [54918c54ce] (rid 93970) by pzaprawa on 2013-03-11 10:44:39:
- assignee initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized to:
After compilation of tcl 8.6 with options: './configure --disable-threads --disable-shared --with-tdbcmysql' and final 'make', tdbc binaries are still dynamic loadable. In unix/Makefile i found something like this: PKG_CFG_ARGS = '--disable-threads' '--disable-shared' '--with-tdbcmysql' PKG_DIR = ./pkgs configure-packages: @for i in $(PKGS_DIR)/*; do \ <cut> $$i/configure --with-tcl=../.. \ --with-tclinclude=$(GENERIC_DIR) \ $(PKG_CFG_ARGS) --libdir=$(PACKAGE_DIR) \ --enable-shared --enable-threads; ) || exit $$?; \ <cut> done ------------- (Linux, Slackware 14, 32b, tcl 8.6) - foundin initialized to: "current: 8.6.0"
- is_private initialized to: "0"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "pzaprawa"
- subsystem initialized to: "81. Bundled Packages"
- title initialized to: "tdbc pkgs are always shared"
- type initialized to: "Bug"
Ticket change [488ce90458] (rid 99905) by dgp on 2013-03-11 20:04:37:
- assignee changed to: "dgp"
- closedate changed to: "2013-03-11T13:04:37"
- closer changed to: "dgp"
- icomment:
allow_comments - 1 This is normal. Look at the configure-packages target: configure-packages: @for i in $(PKGS_DIR)/*; do \ if [ -d $$i ]; then \ if [ -x $$i/configure ]; then \ pkg=`basename $$i`; \ echo "Configuring package '$$pkg'"; \ mkdir -p $(PKG_DIR)/$$pkg; \ if [ ! -f $(PKG_DIR)/$$pkg/Makefile ]; then \ ( cd $(PKG_DIR)/$$pkg; \ $$i/configure --with-tcl=../.. \ --with-tclinclude=$(GENERIC_DIR) \ $(PKG_CFG_ARGS) --libdir=$(PACKAGE_DIR) \ --enable-shared --enable-threads; ) || exit $$?; \ fi; \ fi; \ fi; \ done See the --enable-shared stuck in there. Its purpose is to explicitly override any --disable-shared option that might be given. The whole point of the bundled package collection is to build them for [load]ing into tclsh. If you have other uses for these packages where --disable-shared is appropriate, the packages can support that. You just need to build from their sources directly on your own, and not within the Tcl+bundled packages harness. - login: "dgp"
- mimetype: "text/plain"
- resolution changed to: "Invalid"
- status changed to: "Closed"
- username: "dgp"