gisle / tcl.pm

Tcl extension module for Perl
http://search.cpan.org/dist/Tcl
9 stars 8 forks source link

Does not install in Linux kernel version 6.6.10 #58

Open kfanyo opened 6 months ago

kfanyo commented 6 months ago

Output:

  cpan install Tcl
Reading '/root/.cpan/Metadata'
  Database was generated on Wed, 10 Jan 2024 23:17:01 GMT
Running install for module 'Tcl'
CPAN: Digest::SHA loaded ok (v6.04)
CPAN: Compress::Zlib loaded ok (v2.206)
Checksum for /root/.cpan/sources/authors/id/V/VK/VKON/Tcl-1.32.tar.gz ok
CPAN: YAML loaded ok (v1.31)
CPAN: CPAN::Meta::Requirements loaded ok (v2.143)
CPAN: Parse::CPAN::Meta loaded ok (v2.150010)
CPAN: CPAN::Meta loaded ok (v2.150010)
CPAN: Module::CoreList loaded ok (v5.20231230)
Configuring V/VK/VKON/Tcl-1.32.tar.gz with Makefile.PL
tclsh=/usr/bin/tclsh
tcl_library=/usr/lib64
tcl_version=8.6
no file ''
No 'Makefile' created  VKON/Tcl-1.32.tar.gz
  /usr/bin/perl5.38.2 Makefile.PL -- NOT OK

Same result through cpan, cpanm, and manual install. 'perl Makefile.PL ' fails.

Thanks!

vadrer commented 6 months ago

thanks for the report. in your case the tclConfig.sh file haven't been found. It should be found by the tclsh tclcfg.tcl, usually it is at tclConfig.sh=/usr/lib/tclConfig.sh

I suspect in your case it is tclConfig.sh=/usr/lib64/tclConfig.sh can you please confirm that you do have the file there? Thanks in advance!

Previously the Tcl module was built with the supplied "tcl.h" and one of these libraries: tcl-core/linux-i686/libtclstub8.4.a, tcl-core/linux-ia64/libtclstub8.4.a or tcl-core/linux-x86_64/libtclstub8.4.a Now I am trying for the existing tclsh to figure out its own tclConfig.sh correctly.

I will add lib64 in next release, and also will try discussing this item on TCL mailing list.