Perl / perl5

🐪 The Perl programming language
https://dev.perl.org/perl5/
Other
1.85k stars 524 forks source link

Can't locate loadable object for module Tk in @INC #1190

Closed p5pRT closed 20 years ago

p5pRT commented 24 years ago

Migrated from rt.perl.org#2159 (status was 'resolved')

Searchable as RT2159$

p5pRT commented 24 years ago

From SS0300@dfa.state.ny.us

This is a bug report for perl from ss0300@​dfa.state.ny.us\, generated with the help of perlbug 1.26 running under perl 5.00503.

use English; use Time​::Local; require Tk; use Tk; use POSIX 'strftime';

my $Version="1.0";

# I called this script just to test the availability of Tk on my Win32 system. # # I used no execution options\, just "perl.exe test.pl" # # Upon execution\, I got the message I entered as the subject. My @​INC contains # D​:\perl\lib and D​:\perl\site\lib. # # Contrary to the message\, Tk.pm is in \perl\lib. A directory \perl\site\lib\Tk # also exists. # # I'm running build 522 of ActivePerl on Windows NT 4.0 SP5 # # Can you tell me what might be wrong? Please?


Site configuration information for perl 5.00503​:

Summary of my perl5 (5.0 patchlevel 5 subversion 03) configuration​:   Platform​:   osname=MSWin32\, osvers=4.0\, archname=MSWin32-x86-object   uname=''   hint=recommended\, useposix=true\, d_sigaction=undef   usethreads=undef useperlio=undef d_sfio=undef   Compiler​:   cc='cl.exe'\, optimize='-Od -MD -DNDEBUG -TP -GX'\, gccversion=   cppflags='-DWIN32'   ccflags ='-Od -MD -DNDEBUG -TP -GX -DWIN32 -D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT -DPERL_OBJECT'   stdchar='char'\, d_stdstdio=define\, usevfork=false   intsize=4\, longsize=4\, ptrsize=4\, doublesize=8   d_longlong=undef\, longlongsize=8\, d_longdbl=define\, longdblsize=10   alignbytes=8\, usemymalloc=n\, prototype=define   Linker and Libraries​:   ld='link'\, ldflags ='-nologo -nodefaultlib -release -libpath​:"D​:\Perl\lib\CORE" -machine​:x86'   libpth="D​:\Perl\lib\CORE"   libs= oldnames.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib netapi32.lib uuid.lib wsock32.lib mpr.lib winmm.lib version.lib odbc32.lib odbccp32.lib PerlCRT.lib   libc=D​:\Perl\lib\CORE\PerlCRT.lib\, so=dll\, useshrplib=yes\, libperl=perlcore.lib   Dynamic Linking​:   dlsrc=dl_win32.xs\, dlext=dll\, d_dlsymun=undef\, ccdlflags=' '   cccdlflags=' '\, lddlflags='-dll -nologo -nodefaultlib -release -libpath​:"D​:\Perl\lib\CORE" -machine​:x86'

Locally applied patches​:   ACTIVEPERL_LOCAL_PATCHES_ENTRY


@​INC for perl 5.00503​:   D​:/Perl/lib   D​:/Perl/site/lib   .


Environment for perl 5.00503​:   HOME (unset)   LANG (unset)   LANGUAGE (unset)   LD_LIBRARY_PATH (unset)   LOGDIR (unset)

PATH=D​:\Perl\bin;D​:\Perl\bin;D​:\Scripts\Perl;D​:\PROGRA~1\FileNET\IDM;D​:\WINN T\system32;D​:\WINNT;D​:\WNETFIN;D​:\ORANT\BIN;C​:\BAT;C​:\UTIL;D​:\PROGRA~1\ASCI\ XLNT;D​:\WINNT\System32\WBEM;D​:\ntreskit;d​:\progra~1\onnet32;c​:\onnet32;   PERL_BADLANG (unset)   SHELL (unset)

David W Phillips OTDA - New York State Dept of Financial Assistance e-mail ss0300@​dfa.state.ny.us   phone (518) 474-9008   pager (518) 343-1632   fax (518) 473-7532   e-mail fax (603) 297-5150

p5pRT commented 20 years ago

From @rspier

chromatic say​: Bug #2159 looks like it can be closed; I suspect Tk was installed incorrectly\, without the XS components in place.

I say... way out of date win32 version.

p5pRT commented 20 years ago

@rspier - Status changed from 'open' to 'resolved'