Another installation problem (Linux) 
Author Message
 Another installation problem (Linux)

Hi.  Relatively experienced with Perl, new to Tk.  I was _hoping_ to
learn a little about it, but ...

I downloaded Tk400.202.tar.gz from CPAN.  When I did

    perl Makefile.PL

I got the following:
----------------------------------------------------------
perl is installed in /usr/lib/perl5/i386-linux/5.00404 okay
TZ gettimeofday()
Using -L/usr/X11R6/lib to find /usr/X11R6/lib/libX11.so.6.1
Using -I/usr/X11R6/include to find /usr/X11R6/include/X11/Xlib.h
Writing Tk/Config.pm
Writing pTk/tkConfig.h
Checking if your kit is complete...
Looks good
Note (probably harmless): No library found for -lpt
Note (probably harmless): No library found for -lsocket
Writing Makefile for Tk::Bitmap
Writing Makefile for Tk::Canvas
Writing Makefile for Tk::Contrib
Writing Makefile for Tk::DragDrop
Writing Makefile for Tk::Entry
Writing Makefile for Tk::Ghostview
Writing Makefile for Tk::HList
Following modules are required but not installed:
URI::URL
HTML::Parse
Checking if your kit is complete...
Looks good
Writing Makefile for Tk::HTML
Writing Makefile for Tk::IO
Writing Makefile for Tk::InputO
Writing Makefile for Tk::Listbox
Writing Makefile for Tk::Menu
Writing Makefile for Tk::Menubutton
Writing Makefile for Tk::Mwm
Writing Makefile for Tk::N  .BFrame
Writing Makefile for Tk::Photo
Writing Makefile for Tk::xpm
Writing Makefile for Tk::Pixmap
Checking if your kit is complete...
Looks good
Memory fault (core dumped)
------------------- ---------------------------------------

The core file is in the Pod subdirectory, so I suspect it was in
executing Pod/Makefile.PL that the problem occurred.

Undaunted (sort of), I then downloaded Tk402.004.tar.gz and tried to
build that.

    perl Makefile.PL
    make

both seemed to work.  But then

    make test

resulted in this:
----------------------------------------------------------
  .
  .
  .
(many instances of the 'Entering directory'/'Leaving directory' pair
...)
  .
  .
  .

make[1]: Entering directory `/home/jfs/tk/Tk402.004/Xlib'
make[2]: Entering directory `/home/jfs/tk/Tk402.004/Xlib/X'
make[2]: Leaving directory `/home/jfs/tk/Tk402.004/Xlib/X'
make[1]: Leaving directory `/home/jfs/tk/Tk402.004/Xlib'
make[1]: Entering directory `/home/jfs/tk/Tk402.004/demos'
make[1]: Leaving directory `/home/jfs/tk/Tk402.004/demos'
make[1]: Entering directory `/home/jfs/tk/Tk402.004/doc'
make[1]: Leaving directory `/home/jfs/tk/Tk402.004/doc'
make[1]: Entering directory `/home/jfs/tk/Tk402.004/pTk'
make[1]: Leaving directory `/home/jfs/tk/Tk402.004/pTk'
make[1]: Entering directory `/home/jfs/tk/Tk402.004/doc'
make[1]: Leaving directory `/home/jfs/tk/Tk402.004/doc'
/bin/perl -I./blib/arch -I./blib/lib demos/widget
Can't call method "Busy" without a package or object reference at
demos/widget line 232.
make: *** [test_dynamic] Error 2
----------------------------------------------------------

Environment particulars:

    Processor:  i386 (AMD K6, actually)
    OS:  Linux (Red Hat 5.2 / kernel 2.0.36)
    Perl 5.004_04

Build seems to be using cc and make, rather than gcc/gmake.  Is that the
problem, perhaps?  Or maybe I need to use static linking, rather than
dynamic?

If anyone has any insight, I'd appreciate it.

Thanks.

John Sturtz



Mon, 08 Jul 2002 03:00:00 GMT  
 Another installation problem (Linux)

Quote:

> Hi.  Relatively experienced with Perl, new to Tk.  I was _hoping_ to
> learn a little about it, but ...

> I downloaded Tk400.202.tar.gz from CPAN.  When I did

>     perl Makefile.PL

<much snippage of depressing error stuff>

Hi John,

I found this message in an old posting, from someone who seems to have had
the same problems you're having. Hope it helps!

---
From: Kevin Kitts
Sent: Wednesday, May 12, 1999 4:52 PM

Subject: ORAC-DBA/Andy Duncan

Hello All, I thought that I would share with the list my recent experience
installing perl, DBI/DBD, Tk and Andy Duncan's ORAC-DBA tool on RedHat
Linux 5.2 in the hope that others might benefit.

The following combination of software worked for me:

RedHat 5.2
perl 5.005_02
Tk800.014
DBI-1.02
DBD-Oracle-0.54

The version of perl that comes with RedHat 5.2 definitely will not work
with Tk.pm (800.014). Also, you can't just grab the latest binary rpm of
perl off of rawhide.redhat.com either because it is compiled/linked against
a newer version of the glibc libraries which is not present on RedHat 5.2
(and likely is not compatible with Oracle either). You need to get the
*source* rpm for perl 5.005_02 and rebuild it. See the rpm man pages or the
man pages for whatever "package" installer your distribution uses for
details on doing this.

It is likely that newer versions of DBI/DBD would work as well. One more
note: you will need to download/install Tk800.014 from www.cpan.org or a
mirror since it does not come with RedHat 5.2, as well as the DBI/DBD code.

Summary: After the recompile/relink/installation of the new perl you will
need to make/test/install DBI, DBD and Tk.

I'd encourage any other Oracle DBA's/developers to take a look at Andy's
ORAC-DBA perl/Tk tool - it's quite nice.

Regards,

Kevin
---



Wed, 10 Jul 2002 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Problems with installation of Perl on LINUX box

2. GD.pm Installation Problems on Linux

3. GD Installation problems on a Linux System

4. Installation Problem on redhat linux

5. How can I migrate a Linux Perl installation

6. Linux Installation perl5.004_01/02

7. PERL installation loops forever under Linux 1.2.1

8. GD.pm Module installation on Linux Redhat

9. Msql-Mysql-modules-1.2210 installation Failed on Linux

10. Q: Linux installation: DLD version

11. Perl/Tk installation in LINUX

12. Installation Perl Tk on Linux

 

 
Powered by phpBB® Forum Software