Tk - Re: Cannot install Tk on RH Ent 4 for EM64 ...

Posted on Tue May 15 15:07:54 2007 by nextnick in response to 5098 (See the whole thread of 2)
Re: Cannot install Tk on RH Ent 4 for EM64 ...

Sports Fans,

Forgive me for talking to myself, but I thought this additional information might help.

After failing to install Perl/Tk on my Ent 4 machine, I had a request to install it on a 64 bit RH Ent 3 machine (Linux 2.4). So, I attempted a Perl/Tk installation using cpan, but Tk will not install on it either!? It runs into the same type of problem I saw on my Ent 4 machine:

tkGlue.c: In function `XEvent_Info': tkGlue.c:5014: warning: cast to pointer from integer of different size gcc -c -I/usr/X11R6/include -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict +- aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 - g -pipe -DVERSION=\"804.027\" -DXS_VERSION=\"804.027\" -fPIC "-I/usr/lib64/perl5/5.8.0/x86_64-</p +> linux-thread-multi/CORE" -Wall -Wno-implicit-int -Wno-comment -Wno-unused - D__USE_FIXED_PROTOTYPES__ tkGlue_f.c gcc -c -I/usr/X11R6/include -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict +- aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 - g -pipe -DVERSION=\"804.027\" -DXS_VERSION=\"804.027\" -fPIC "-I/usr/lib64/perl5/5.8.0/x86_64- linux-thread-multi/CORE" -Wall -Wno-implicit-int -Wno-comment -Wno-unused - D__USE_FIXED_PROTOTYPES__ tkWin32Dll.c Running Mkbootstrap for Tk () chmod 644 Tk.bs rm -f blib/arch/auto/Tk/Tk.so LD_RUN_PATH="/usr/X11R6/lib:/lib64" gcc -shared Tk.o chnGlue.o encGlue.o evtGlue.o objGlue.o tixGlue.o tkGlue.o tkGlue_f.o tkWin32Dll.o -o blib/arch/auto/Tk/Tk.so pTk/libpTk.a - L/usr/X11R6/lib -lX11 -lnsl -lm /usr/bin/ld: skipping incompatible /usr/X11R6/lib/libX11.so when searching for -lX11 /usr/bin/ld: skipping incompatible /usr/X11R6/lib/libX11.a when searching for -lX11 /usr/bin/ld: cannot find -lX11 collect2: ld returned 1 exit status make: *** [blib/arch/auto/Tk/Tk.so] Error 1 /usr/bin/make -- NOT OK Running make test Can't test without successful make Running make install make had returned bad status, install seems impossible Failed during this command: NI-S/Tk-804.027.tar.gz : make NO cpan[3]> quit Lockfile removed. [root@lguut root]# uname -a Linux lguut.lrltech.com 2.4.21-37.EL #1 SMP Wed Sep 7 13:32:18 EDT 2005 x86_64 x86_64 x86_64 GNU/Li +nux [root@lguut root]# perl -v This is perl, v5.8.0 built for x86_64-linux-thread-multi (with 1 registered patch, see perl -V for more detail) Copyright 1987-2002, Larry Wall Perl may be copied only under the terms of either the Artistic License or the GNU General Public License, which may be found in the Perl 5 source kit. Complete documentation for Perl, including FAQ lists, should be found on this system using `man perl' or `perldoc perl'. If you have access to the Internet, point your browser at http://www.perl.com/, the Perl Home Page. [root@lguut root]#
Write a response