Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 6d493f4d4ac0099c918c476414f96c2a928c4a24
Ticket: 1076117fffffffffffffffffffffffffffffffff
cvs head thread package configure bugs
User & Date: lvirden on 2004-11-30 16:41:14
Changes

  1. assignee changed to: "vasiljevic"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    1. Thread package assumes that gdbm will be installed
    in one of only 4 places - $exec_prefix $prefix,
    /usr/local, or /usr .
    However, users have this package installed elsewhere as
    well.
    
    2. The code in configure has a bug when checking for
    existence of the library.  It is coded:
    
    for i in `ls -d ${exec_prefix}/lib 2>/dev/null` \
                    `ls -d ${prefix}/lib 2>/dev/null` \
                    `ls -d /usr/local/lib 2>/dev/null` \
                    `ls -d /usr/lib 2>/dev/null` ; do
                if test -f "$i/libgdbm*" ; then
                    libdir=`(cd $i; pwd)`
                    break
                fi
            done
    
    
    This, however, makes the assumption that there will
    never be more than one file in the directory which
    begins libgdbm.  If the user has more than one version
    installed, or the installation looks like:
    /projects/gnu/sparc-sun-solaris2.8/lib/libgdbm.so.3.0.0
    /projects/gnu/sparc-sun-solaris2.8/lib/libgdbm.so.3
    /projects/gnu/sparc-sun-solaris2.8/lib/libgdbm.so
    /projects/gnu/sparc-sun-solaris2.8/lib/libgdbm.la
    /projects/gnu/sparc-sun-solaris2.8/lib/libgdbm.a
    
    then the if fails to identify that the library exists
    in this directory (because there's a list used in a
    place where a single file name is  expected....)
    
    
  4. foundin changed to: "None"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "lvirden"
  9. subsystem changed to: "80. Thread Package"
  10. title changed to: "cvs head thread package configure bugs"
  11. type changed to: "Bug"