CPAN module Tk::BLT::Table install problem 
Author Message
 CPAN module Tk::BLT::Table install problem

Hi,

After my first try in pTk, I am trying to run the ui2perl
program which require the module "Tk::BLT::Table".

(the module Tk version 400.202 is already installed)

I get the following error:

<< LOG START >>
cpan> install Tk::BLT::Table
Running make
x Table-1.02/tkbltTable.c, 133836 bytes, 262 blocks
x Table-1.02/Makefile.PL, 1577 bytes, 4 blocks
x Table-1.02/Table.pm, 5121 bytes, 11 blocks
x Table-1.02/bltList.h, 3311 bytes, 7 blocks
x Table-1.02/Table.xs, 1375 bytes, 3 blocks
x Table-1.02/Table.d, 17 bytes, 1 block
x Table-1.02/a.pl, 3588 bytes, 8 blocks
x Table-1.02/README, 13176 bytes, 26 blocks
x Table-1.02/tkbltList.c, 13147 bytes, 26 blocks
x Table-1.02/typemap, 771 bytes, 2 blocks
x Table-1.02/Table.html, 11611 bytes, 23 blocks
x Table-1.02/Table.pod, 11402 bytes, 23 blocks
x Table-1.02/README.pl, 361 bytes, 1 block
x Table-1.02/tkbltList.d, 35 bytes, 1 block
x Table-1.02/screenshot/table_1.gif, 1192 bytes, 3 blocks
x Table-1.02/screenshot/table_2.gif, 4506 bytes, 9 blocks
x Table-1.02/tkbltTable.d, 37 bytes, 1 block
Removing previously used /usr/local/share/.cpan/build/Table-1.02

  CPAN.pm: Going to build GUYDX/Table-1.02.tar.gz

"%att" is not exported by the ExtUtils::MakeMaker module at
/usr/local/lib/perl5/Exporter.pm line 95
        Exporter::export called at /usr/local/lib/perl5/Exporter.pm line
149
        Exporter::import called at Makefile.PL line 1
        main::BEGIN called at /usr/local/lib/perl5/ExtUtils/MakeMaker.pm
line 0
        eval {...} called at /usr/local/lib/perl5/ExtUtils/MakeMaker.pm
line 0
Can't continue after import errors at Makefile.PL line 1
BEGIN failed--compilation aborted at Makefile.PL line 1.
Running make test
  Make had some problems, maybe interrupted? Won't test
Running make install
  Make had some problems, maybe interrupted? Won't install

cpan>
<< LOG END >>

Any ideas how to fix this ???

--
Best regards,

Michael Bjerking           Software engineer
---------------------------------------------------------------
Odense Steelshipyard Ltd.  Phone: (+45) 65 97 44 44 (local 461)
P.O. box 176               Fax  : (+45) 65 97 41 87



Sat, 24 Jul 1999 03:00:00 GMT  
 CPAN module Tk::BLT::Table install problem

Quote:

> Hi,

> After my first try in pTk, I am trying to run the ui2perl
> program which require the module "Tk::BLT::Table".

> (the module Tk version 400.202 is already installed)

> I get the following error:

> << LOG START >>
> cpan> install Tk::BLT::Table
> Running make
> x Table-1.02/tkbltTable.c, 133836 bytes, 262 blocks
> x Table-1.02/Makefile.PL, 1577 bytes, 4 blocks
> x Table-1.02/Table.pm, 5121 bytes, 11 blocks
> x Table-1.02/bltList.h, 3311 bytes, 7 blocks
> x Table-1.02/Table.xs, 1375 bytes, 3 blocks
> x Table-1.02/Table.d, 17 bytes, 1 block
> x Table-1.02/a.pl, 3588 bytes, 8 blocks
> x Table-1.02/README, 13176 bytes, 26 blocks
> x Table-1.02/tkbltList.c, 13147 bytes, 26 blocks
> x Table-1.02/typemap, 771 bytes, 2 blocks
> x Table-1.02/Table.html, 11611 bytes, 23 blocks
> x Table-1.02/Table.pod, 11402 bytes, 23 blocks
> x Table-1.02/README.pl, 361 bytes, 1 block
> x Table-1.02/tkbltList.d, 35 bytes, 1 block
> x Table-1.02/screenshot/table_1.gif, 1192 bytes, 3 blocks
> x Table-1.02/screenshot/table_2.gif, 4506 bytes, 9 blocks
> x Table-1.02/tkbltTable.d, 37 bytes, 1 block
> Removing previously used /usr/local/share/.cpan/build/Table-1.02

>   CPAN.pm: Going to build GUYDX/Table-1.02.tar.gz

> "%att" is not exported by the ExtUtils::MakeMaker module at
> /usr/local/lib/perl5/Exporter.pm line 95
>         Exporter::export called at /usr/local/lib/perl5/Exporter.pm line
> 149
>         Exporter::import called at Makefile.PL line 1
>         main::BEGIN called at /usr/local/lib/perl5/ExtUtils/MakeMaker.pm
> line 0
>         eval {...} called at /usr/local/lib/perl5/ExtUtils/MakeMaker.pm
> line 0
> Can't continue after import errors at Makefile.PL line 1
> BEGIN failed--compilation aborted at Makefile.PL line 1.
> Running make test
>   Make had some problems, maybe interrupted? Won't test
> Running make install
>   Make had some problems, maybe interrupted? Won't install

> cpan>
> << LOG END >>

> Any ideas how to fix this ???

Thanks to Guy Decoux which say:

<< START OF MAIL >>
You don't have the right Makefile.PL, try with this file :

moulon% cat Makefile.PL
use lib '../Tk400.200';
use Tk::MMutil;
$dirTk = '../Tk400.200';

Tk::MMutil::TkExtMakefile(
    'NAME'     => 'Tk::BLT::Table',
    'VERSION'  => $Version,
    'dynamic_lib' => { OTHERLDFLAGS => "$dirTk/pTk/libpTk.a"},
    'OBJECT'  => '$(O_FILES)',
    'INC'     => "-I$dirTk/pTk -I$dirTk $inc",
    'PM'      => { 'Table.pm' => '$(INST_LIBDIR)/Table.pm',
                   'Table.pod' => '$(INST_LIBDIR)/Table.pod',
                   'Table.html' => '$(INST_LIBDIR)/Table.html',
                   'screenshot/table_1.gif' =>
'$(INST_LIBDIR)/screenshot/table_1.gif',
                   'screenshot/table_2.gif' =>
'$(INST_LIBDIR)/screenshot/table_2.gif'},
    'SKIP'      => [qw(distclean)]
);

moulon%

 Just change Tk400.200 with Tk400.202

 the directory Table-1.02 and Tk400.202 must be at the same level.

Guy Decoux

p.s.: tested only with Tk400.200
<< END OF MAIL >>

But I still got one error !!!!

correct tkbltTable.c line 3702:

  if (Lang_SplitList(interp, indexStr, &Location, &indexArr, &freeProc)
!= TCL_OK) {

to

  if (Lang_SplitList(interp, *indexStr, &Location, &indexArr, &freeProc)
!= TCL_OK) {

This is ofcourse not tested in details !!!

Quote:

> --
> Best regards,

> Michael Bjerking           Software engineer
> ---------------------------------------------------------------
> Odense Steelshipyard Ltd.  Phone: (+45) 65 97 44 44 (local 461)
> P.O. box 176               Fax  : (+45) 65 97 41 87


--
Best regards,

Michael Bjerking           Software engineer
---------------------------------------------------------------
Odense Steelshipyard Ltd.  Phone: (+45) 65 97 44 44 (local 461)
P.O. box 176               Fax  : (+45) 65 97 41 87



Sat, 24 Jul 1999 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. module install problems with cpan module and gcc?

2. installing Tk module from CPAN

3. problem installing Tk with CPAN

4. Problems Installing Tk on Linux via CPAN

5. CPAN module install problems

6. Problem installing CPAN modules

7. Help Installing Modules (CPAN) problems

8. Problem installing CPAN modules

9. problems installing CPAN modules on Win98, using nmake

10. Problem: Installing Modules with CPAN.pm

11. Problem installing Tk module in perl

12. Problem installing Tk-PNG module on HPUX

 

 
Powered by phpBB® Forum Software