LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-10-2004, 09:28 AM   #1
darth314
LQ Newbie
 
Registered: Nov 2004
Posts: 1

Rep: Reputation: 0
problem with installing Perl Tk module on SuSe 9.0


I am trying to install the Perl Tk module on Suse 9.0. I followed the instructions in the REAME and INSTALL files.

I got stuck pretty much after untarring the thing when I am supposed to use the command:

perl Makefile.PL

it produces the following output:

/usr/bin/perl is installed in /usr/lib/perl5/5.8.1/i586-linux-thread-multi okay
PPM for perl5.008001
Test Compiling config/signedchar.c
Test Compile/Run config/unsigned.c
Test Compiling config/Ksprintf.c
Test Compiling -DSPRINTF_RETURN_CHAR config/Ksprintf.c
Test Compiling -DTIMEOFDAY_TZ config/tod.c
Test Compiling -DTIMEOFDAY_NO_TZ config/tod.c
Test Compiling -DTIMEOFDAY_DOTS config/tod.c
Problem gettimeofday()
Using -L/usr/X11R6/lib to find /usr/X11R6/lib/libX11.so.6.2
Cannot find X include files via /usr/X11R6/include
Cannot find X include files anywhere at ./myConfig line 332.
Compilation failed in require at Makefile.PL line 36.
BEGIN failed--compilation aborted at Makefile.PL line 38.

---- there are suggestions on how to specify the include and lib, as follows:

If Makefile.PL reports that it cannot find X, or chooses a version
you don't like you can specify a version on the command line:

perl Makefile.PL X11=/usr/local/X11R5

If X's include and lib are not under a common parent they can be specified
separately:

perl Makefile.PL X11INC=/usr/local/share/X11R5/include X11LIB=/usr/local/arch/X11R5/lib


---- but nothing works.

am I stupid?

Thanks in advance
 
Old 11-10-2004, 09:31 AM   #2
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: Ubuntu
Posts: 3,517

Rep: Reputation: 58
Maybe you need to install the XFree86-devel package first (I think it contains the missing X includes).

EDIT: I think there's also a rpm-package for perl-tk, btw.

Last edited by abisko00; 11-10-2004 at 09:32 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing perl module problem satimis Programming 1 03-28-2006 04:37 PM
[Suse 9.2] Installing kernel-module (ATI Drivers) problem Simkin Linux - Software 0 01-31-2005 04:58 AM
Problem with perl module for w3c validator to work on my local Apache+PHP+perl instal tbamt Linux - Software 0 12-16-2004 06:37 PM
installing perl module vickr1z Linux - Newbie 1 09-22-2004 08:12 AM
Problem Installing GD 2.16 Perl Module with Slackware 10 kaplan71 Slackware 3 09-01-2004 01:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:30 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration