0

I am running into error "package require cmdline" while making a build and need this package, how can I install this package?

I Looked at How to install a Tcl package? which doesnt exactly tell how to do that

1 Answers1

1

You could:

  • download the source from https://core.tcl.tk/tcllib/
  • install it into your home directory:

    ./configure --prefix=$HOME/tcl
    make install
    
  • when you want to use one of the tcllib packages:

    set auto_path [linsert $auto_path 0 $env(HOME)/tcl/lib]
    package require cmdline
    
glenn jackman
  • 27,524