Hidetoshi NAGAI wrote:
> From: Rich Leblanc <rl001 / pacbell.net>
> Subject: Re: LoadError: no such file to load -- tk
> Date: Thu, 22 Jul 2010 09:47:35 +0900
> Message-ID: <ed9a2c3561bd079a7ef2965475154f08 / ruby-forum.com>
>> > Probably, ext/tk/extconf.rb outputs some messages about searching and
>> > testing Tcl/Tk libraries (and {tcl,tk}Config.sh) during make steps.
>> > Please tell me the messages, too.
>> 
>> On a FreeBSD 8.0 machine I went to \usr\ports\lang\tcl85 and as root 
>> ran; make install clean. This installed tcl 8.5. On command line if I 
> 
> I need the messages at ext/tk step of "make".


Here's all the output from the terminal:

# make install clean
===>  Installing for tcl-8.5.8
===>   tcl-8.5.8 depends on file: 
/usr/local/lib/tcl8/8.5/tcltest-2.3.2.tm - found
===>   Generating temporary packing list
===>  Checking if lang/tcl85 already installed
Installing libtcl85.so.1 to /usr/local/lib/
Installing libtcl85.a
Installing tclsh as /usr/local/bin/tclsh8.5
Installing tclConfig.sh to /usr/local/lib/tcl8.5/
Installing libtclstub85.a to /usr/local/lib/
Installing message catalogs
    Creating msgs
Making directory /usr/local/include/tcl8.5/generic
Making directory /usr/local/include/tcl8.5/unix
Making directory /usr/local/lib/tcl8.5/opt0.4
Making directory /usr/local/lib/tcl8.5/http1.0
Making directory /usr/local/lib/tcl8.5/encoding
Installing header files
Installing library files to /usr/local/lib/tcl8.5
Installing library http1.0 directory
Installing library opt0.4 directory
Installing library encoding directory
Installing time zone data
    Creating tzdata
        Creating Australia
        Creating Canada
        Creating Arctic
        Creating Asia
        Creating Africa
        Creating America
            Creating North_Dakota
            Creating Indiana
            Creating Kentucky
            Creating Argentina
        Creating Indian
        Creating SystemV
        Creating Pacific
        Creating Etc
        Creating Chile
        Creating US
        Creating Brazil
        Creating Atlantic
        Creating Mexico
        Creating Antarctica
        Creating Europe
/bin/mkdir -p /usr/local/share/tcl8.5
install  -o root -g wheel -m 444 
/usr/ports/lang/tcl85/work/tcl8.5.8/unix/../doc/man.macros 
/usr/local/share/tcl8.5
/bin/mkdir -p /usr/local/man/man1
install  -o root -g wheel -m 444 
/usr/ports/lang/tcl85/work/tcl8.5.8/unix/../doc/tclsh.1 
/usr/local/man/man1/tclsh8.5.1
Installing and cross-linking C API (.3) docs
Installing and cross-linking command (.n) docs
**********
IMPORTANT:
**********
tclConfig.sh in /usr/local/lib/tcl8.5/tclConfig.sh
tcl.h        in /usr/local/include/tcl8.5/tcl.h
tclDecls.h   in /usr/local/include/tcl8.5/tclDecls.h
There are NOT default place, but good place to avoid
conflicting with another version of Tcl/Tks.
===>   Compressing manual pages for tcl-8.5.8
===>   Running ldconfig
/sbin/ldconfig -m /usr/local/lib
===>   Registering installation for tcl-8.5.8
===> SECURITY REPORT:
      This port has installed the following files which may act as 
network
      servers and may therefore pose a remote security risk to the 
system.
/usr/local/lib/libtcl85.so.1

      If there are vulnerabilities in these programs there may be a 
security
      risk to the system. FreeBSD makes no guarantee about the security 
of
      ports included in the Ports Collection. Please type 'make 
deinstall'
      to deinstall the port if this is a concern.

      For more information, and contact details about the security
      status of this software, see the following webpage:
http://www.tcl.tk/
===>  Cleaning for tcl-8.5.8


-- 
Posted via http://www.ruby-forum.com/.