Skip to content
Tcl Source Code History Of Ticket 3607615fffffffffffffffffffffffffffffffff
Login

History Of Ticket 3607615fffffffffffffffffffffffffffffffff

Artifacts Associated With Ticket 3607615fffffffffffffffffffffffffffffffff

  1. Ticket change [54918c54ce] (rid 93970) by pzaprawa on 2013-03-11 10:44:39:

    1. assignee initialized to: "nobody"
    2. cmimetype initialized to: "text/plain"
    3. 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)
      
      
    4. foundin initialized to: "current: 8.6.0"
    5. is_private initialized to: "0"
    6. priority initialized to: "5 Medium"
    7. resolution initialized to: "None"
    8. status initialized to: "Open"
    9. submitter initialized to: "pzaprawa"
    10. subsystem initialized to: "81. Bundled Packages"
    11. title initialized to: "tdbc pkgs are always shared"
    12. type initialized to: "Bug"
  2. Ticket change [488ce90458] (rid 99905) by dgp on 2013-03-11 20:04:37:

    1. assignee changed to: "dgp"
    2. closedate changed to: "2013-03-11T13:04:37"
    3. closer changed to: "dgp"
    4. 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.
      
      
    5. login: "dgp"
    6. mimetype: "text/plain"
    7. resolution changed to: "Invalid"
    8. status changed to: "Closed"
    9. username: "dgp"