# Ext/tk/lib causes an error

**URL:** <https://www.ruby-forum.com/t/ext-tk-lib-causes-an-error/85269>\
**Category:** Development\
**Created:** [February 12, 2007, 4:40am UTC](https://www.ruby-forum.com/t/ext-tk-lib-causes-an-error/85269 "2007-02-12T04:40:14Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sheepman](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/d07c76/32.png) [@sheepman](https://www.ruby-forum.com/u/sheepman)\
**Post date:** [February 12, 2007, 4:40am UTC](https://www.ruby-forum.com/t/ext-tk-lib-causes-an-error/85269/1 "2007-02-12T04:40:14Z")

</div>

e$B$3$s$K$A$O!"e(Bsheepman e$B$G$9!#e(B

trunke$B$re(Bmakee$B$9$k$3$H$,$G$-$^$;$s!#e(Btke$B4XO"$G%(%i!\<$,=P$^$9!#e(B  
e$B0J2\<$,%(%i!\<%a%C%;!\<%8$G$9!#e(B

$ make  
(e$BCfN,e(B)  
cp …/…/…/ruby/ext/tk/lib/remote-tk.rb …/…/.ext/common  
cp …/…/…/ruby/ext/tk/lib/tkcanvas.rb …/…/.ext/common  
cp …/…/…/ruby/ext/tk/lib/tk/labelframe.rb …/…/.ext/common/tk  
cp: `../../.ext/common/tk' e$B$K%"%/%;%9$7$F$$$^$9e(B: e$B%G%#%l%/%H%j$G$O$"$j$^$;$se(B make[1]: *** [../../.ext/common/tk/labelframe.rb] e$B%(%i!<e(B 1 make[1]: e$B%G%#%l%/%H%je(B`/home/sheepman/ruby/src/ruby-build/ext/tk’  
e$B$+$i=P$^$9e(B  
make: \*\*\* [all] e$B%(%i!\<e(B 1

e$B$3$l$O!“e(Bext/tk/lib  
e$B0J2\<$KD\>@%U%!%$%k$,CV$$$F$”$k$3$H!J$He(Bextmk.rbe$B$,$=$l$KBP1~$7$F$$$J$$e(B?e$B$3$He(B)e$B$,e(B  
e$B860x$J$s$8$c$J$$$+$H;W$$$^$9!#Nc$($P!"e(BOpenSSL e$B$G$Oe(B  
ext/openssl/lib/openssl e$B$K%U%!%$%k$,e(B  
e$BCV$+$l$F$$$^$9!#e(Bruby  
e$B$N%S%k%I$N;EAH$\_$,$h$/$o$+$C$F$J$$$N$G21B,$G$9$,!#e(B

---

<div class="post-metadata">

**Author:** ![sheepman](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/d07c76/32.png) [@sheepman](https://www.ruby-forum.com/u/sheepman)\
**Post date:** [February 13, 2007, 1:57pm UTC](https://www.ruby-forum.com/t/ext-tk-lib-causes-an-error/85269/2 "2007-02-13T13:57:55Z")

</div>

e$B$3$s$P$s$O!"e(Bsheepman e$B$G$9!#e(B

e$B$\*A{$,$;$7$^$7$?!#2r7h$7$^$7$?!#e(B  
e$BA4It\>C$7$F!"e(Bsvn coe$B$+$i;O$a$?$iLdBj$J$/e(Bmakee$B$G$-$^$7$?!#e(B

---

<div class="post-metadata">

**Author:** ![sheepman](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/d07c76/32.png) [@sheepman](https://www.ruby-forum.com/u/sheepman)\
**Post date:** [February 13, 2007, 1:39am UTC](https://www.ruby-forum.com/t/ext-tk-lib-causes-an-error/85269/3 "2007-02-13T01:39:42Z")

</div>

e$B$J$+$@$G$9!#e(B

At Mon, 12 Feb 2007 12:39:49 +0900,  
sheepman wrote in [ruby-dev:30322]:

> make[1]: e$B%G%#%l%/%H%je(B `/home/sheepman/ruby/src/ruby-build/ext/tk’ e$B$+$i=P$^$9e(B  
> make: \*\*\* [all] e$B%(%i!\<e(B 1

e$B\<j85$G$O:F8=$G$-$^$;$s$G$7$?!#$3$s$J46$8$G$9!#e(B

make[2]: e$B%G%#%l%/%H%je(B  
`/home/nobu/src/ruby/trunk/i486-linux/ext/tk’ e$B$KF~$j$^$9e(B  
gcc -I. -I…/… -I…/…/…/src -I…/…/…/src/ext/tk  
-DRUBY\_EXTCONF\_H=“extconf.h” -I/usr/include/tcl8.4 -DUSE\_TCL\_STUBS  
-DUSE\_TK\_STUBS -fPIC -pipe -march=i686 -ggdb -g3 -O3  
-fomit-frame-pointer -mpreferred-stack-boundary=2 -fPIC -c  
…/…/…/src/ext/tk/stubs.c  
gcc -I. -I…/… -I…/…/…/src -I…/…/…/src/ext/tk  
-DRUBY\_EXTCONF\_H=“extconf.h” -I/usr/include/tcl8.4 -DUSE\_TCL\_STUBS  
-DUSE\_TK\_STUBS -fPIC -pipe -march=i686 -ggdb -g3 -O3  
-fomit-frame-pointer -mpreferred-stack-boundary=2 -fPIC -c  
…/…/…/src/ext/tk/tcltklib.c  
gcc -shared -rdynamic -Wl,-export-dynamic -L’…/…’ -o  
…/…/…/ext/i686-linux/tcltklib.so stubs.o tcltklib.o -Wl,-R  
-Wl,/usr/lib -L/usr/lib -L. -lruby -ltkstub8.4 -ltclstub8.4 -lX11 -ldl  
-lpthread -ldl -lcrypt -lm -lc  
mkdir -p …/…/…/ext/common/tk  
mkdir -p …/…/…/ext/common/tkextlib/vu  
mkdir -p …/…/…/ext/common/tkextlib/blt/tile  
mkdir -p …/…/…/ext/common/tkextlib/itk  
mkdir -p …/…/…/ext/common/tkextlib/itcl

e$B@8@.$5$l$?e(BMakefilee$B$r8+$;$F$b$i$C$?$[$&$,$$$$$+$b!#e(B

e$B$^$?!"e(B…/…/.ext/common/tke$B$O$I$&$J$C$F$$$^$9$+!#e(B

> e$B$3$l$O!“e(Bext/tk/lib e$B0J2\<$KD\>@%U%!%$%k$,CV$$$F$”$k$3$H!J$He(Bextmk.rbe$B$,$=$l$KBP1~$7$F$$$J$$e(B?e$B$3$He(B)e$B$,e(B  
> e$B860x$J$s$8$c$J$$$+$H;W$$$^$9!#Nc$($P!"e(BOpenSSL e$B$G$Oe(B ext/openssl/lib/openssl e$B$K%U%!%$%k$,e(B  
> e$BCV$+$l$F$$$^$9!#e(Bruby e$B$N%S%k%I$N;EAH$\_$,$h$/$o$+$C$F$J$$$N$G21B,$G$9$,!#e(B

e$B$=$l$J$ie(Bext/digest/lib/digest.rbe$B$,@h$K0z$C$+$+$k$O$:$H;W$$$^$9e(B  
e$B$,!#e(B
