need help to install tcl

i did

Code:
# whereis tcl
tcl:
# whereis tcl85
tcl85: /usr/ports/lang/tcl85
# pkg_add -r tcl85
Fetching [url]ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8.0-release/Latest/tcl85.tbz[/url]... Done.

cd /usr/ports/lang/tcl85 && make install clean
and after few min i get error

Code:
===>   tcl-8.5.7_1 is already installed
      You may wish to ``make deinstall'' and install this port again
      by ``make reinstall'' to upgrade it properly.
      If you really wish to overwrite the old port of lang/tcl85
      without deleting it first, set the variable "FORCE_PKG_REGISTER"
      in your environment or the "make install" command line.
*** Error code 1

Stop in /usr/ports/lang/tcl85.
*** Error code 1

Stop in /usr/ports/lang/tcl85.

what the problem?
 
pkg_add(1) installed tcl. The ports system has catches so you don't accidentally install the same thing twice (at least without meaning to). If you want to install your newly compiled tcl, follow the instructions and # make deinstall reinstall
 
Back
Top