LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-07-2009, 06:57 PM   #1
sjmarshy
LQ Newbie
 
Registered: Mar 2009
Location: United Kingdom
Distribution: Fedora 10
Posts: 17

Rep: Reputation: 0
Question problems running the Prima makefile.pl (Perl Module)


I'm attempting to install Prima, a GUI building module for Perl. For some reason when I attempt to install through the CPAN shell, it says it's already installed, so I'm attempting to install it through the Makefile.PL.
when I do try, even if I add the location of X (which on my system is /usr/bin/X).

[root@SamMarshall Prima-1.28]# perl Makefile.PL
Setting up working environment.
Determining compiler type... GNU
Version: 1.28
Checking if can compile... yes
Checking if can link... yes
Checking for library resolv... yes
Checking for library nsl... yes
Checking for library gdbm... no
Checking for library db... no
Checking for library dl... yes
Checking for library m... yes
Checking for library crypt... yes
Checking for library util... yes
Checking for library pthread... yes
Checking for library c... yes
Checking for library gcc... yes
Checking for X11 headers...no
Prima needs X11 headers for compilation! Set X11BASE='/path/to/X' or INCPATH+='/path/to/X/include' if you have a non-standard path to X. (see also makefile.log for details)
*** Warning (probably harmless): `gdbm' library not found
*** Warning (probably harmless): `db' library not found

Am I missing something? what do I need to do to fix it?

cheers
 
Old 04-07-2009, 07:10 PM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,636

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by sjmarshy View Post
I'm attempting to install Prima, a GUI building module for Perl. For some reason when I attempt to install through the CPAN shell, it says it's already installed, so I'm attempting to install it through the Makefile.PL.
when I do try, even if I add the location of X (which on my system is /usr/bin/X).

[root@SamMarshall Prima-1.28]# perl Makefile.PL
Setting up working environment.

Prima needs X11 headers for compilation! Set X11BASE='/path/to/X' or INCPATH+='/path/to/X/include' if you have a non-standard path to X. (see also makefile.log for details)
*** Warning (probably harmless): `gdbm' library not found
*** Warning (probably harmless): `db' library not found

Am I missing something? what do I need to do to fix it?

cheers
As your error message indicates, you need to install the X development headers (libraries). Should be xorg-devel, and it wouldn't hurt to also satisfy the two Perl dependencies too, of GDM and DB, as noted.

You don't say what version/distro of Linux you're using, so can't tell you more about the x libraries....
 
Old 04-07-2009, 07:15 PM   #3
sjmarshy
LQ Newbie
 
Registered: Mar 2009
Location: United Kingdom
Distribution: Fedora 10
Posts: 17

Original Poster
Rep: Reputation: 0
cheers, I tried working out what exact package I was missing but couldn't, my google skills are obviously lacking. I'm running Fedora 10, and yum install xorg-devel doesn't work...I'll go google some more, but if you have any more information to help me I'd be really grateful.

EDIT:
I think I may be installing what I need now, I'll let you know!

Last edited by sjmarshy; 04-07-2009 at 07:20 PM. Reason: new info
 
Old 04-07-2009, 07:31 PM   #4
sjmarshy
LQ Newbie
 
Registered: Mar 2009
Location: United Kingdom
Distribution: Fedora 10
Posts: 17

Original Poster
Rep: Reputation: 0
Okay, they were indeed the files I needed, and now the makefile has been created...but the make command doesn't appear to exist even though this is what all instalation tutorials say i need to put, do i need to install something else in order to add this command?
 
Old 04-07-2009, 08:44 PM   #5
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,636

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by sjmarshy View Post
Okay, they were indeed the files I needed, and now the makefile has been created...but the make command doesn't appear to exist even though this is what all instalation tutorials say i need to put, do i need to install something else in order to add this command?
If it's a standard Perl module, it should be:

Code:
perl Makefile.PL
make
make test
make install
Give those commands a shot....see if it flies.
 
  


Reply



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
Is it mandatory to have the name of the makefile as 'Makefile' for kernal module comp narender.d Linux - Kernel 3 05-29-2009 06:26 AM
Makefile.PL + errored out + while installing the perl module hinetvenkat Linux - Software 1 12-12-2007 02:45 AM
Perl use prima; Prima(perl) (image processing software))error knockout_artist Linux - Software 2 09-11-2007 10:13 PM
Makefile problems/Simple kernel module smoothdogg00 Linux - Kernel 1 10-28-2006 04:16 PM
perl module problems zajaco0 Linux - Software 2 10-22-2004 12:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:59 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