Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Other Versions > EOL (End Of Life) Versions
FedoraForum Search

Forgot Password? Join Us!

EOL (End Of Life) Versions This is a Forum to discuss problems and workarounds for versions of Fedora that have passed End of Life.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 9th December 2011, 09:02 AM
kierun's Avatar
kierun Offline
Registered User
 
Join Date: Jun 2007
Posts: 57
linuxchrome
urxvt compilation cannot find perl: which package to install?

For various reasons, I need to compile rxvt-unicode on Fedora 12. I have the latest source from cvs but configure fails with this:

Code:
; ./configure --enable-perl=/usr/bin/perl
[...]
checking for perl5... no
checking for perl... /usr/bin/perl
checking for /usr/bin/perl suitability... configure: error: no working perl found, or perl not version >= 5.8
I do have perl, v5.10.0 built for i386-linux-thread-multi installed. What other package do I need to install to be able to compile urxvt?

Thanks.
__________________
``Nescire autem quid ante quam natus sis acciderit, id est semper esse puerum. Quid enim est aetas hominis, nisi ea memoria rerum veterum cum superiorum aetate contexitur?''
Reply With Quote
  #2  
Old 9th December 2011, 10:57 AM
CronoCloud's Avatar
CronoCloud Offline
Registered User
 
Join Date: May 2010
Location: Midwest USA
Posts: 370
linuxfirefox
Re: urxvt compilation cannot find perl: which package to install?

Quote:
Originally Posted by kierun View Post
For various reasons, I need to compile rxvt-unicode on Fedora 12.
I know this is going to be eventually moved to "End of Life", but I'll answer.

First, why are you compiling it, when urxvt is included in the distro itself. If the machine is connected to the internet, a simple yum install rxvt-unicode as root should do the trick, if you didn't install from DVD.

Quote:
Code:
; ./configure --enable-perl=/usr/bin/perl
I do have perl, v5.10.0 built for i386-linux-thread-multi installed. What other package do I need to install to be able to compile urxvt?

Thanks.
I can tell you exactly where you went wrong, if you compiled perl from source and did a default install, it would be installed in /usr/local/bin not /usr/bin So giving that ./configure an option was a bad idea. In fact, I found it's usually best to not do so unless you absolutely have to. It's better take the easy button way and let the defaults do their job for you.

Also I'm surprised perl wasn't installed by default for you in the first place, and even if it wasn't, if the machine is connected to the net, it's a simple yum install perl away. I take it you installed from a Live CD?

Sigh...this is why I'm of the opinion that the DVD should be the default format listed, would save a LOT of hassles from people installing the CD and then coming here and saying, "My Fedora doesn't have whateverfoo" (Usually open/libre office)

And I should also recommend installing Fedora 16 since Fedora 12 is EOL'd.

CronoCloud
Reply With Quote
  #3  
Old 9th December 2011, 11:05 AM
kierun's Avatar
kierun Offline
Registered User
 
Join Date: Jun 2007
Posts: 57
linuxchrome
Re: urxvt compilation cannot find perl: which package to install?

Quote:
Originally Posted by CronoCloud View Post
I know this is going to be eventually moved to "End of Life", but I'll answer.
Yes, we are using a legacy system until we can update. I cannot change this.


Quote:
Originally Posted by CronoCloud View Post
First, why are you compiling it, when urxvt is included in the distro itself. If the machine is connected to the internet, a simple yum install rxvt-unicode as root should do the trick, if you didn't install from DVD.
The one that comes with Fedora12 does not have 256 color support.

Quote:
Originally Posted by CronoCloud View Post
I can tell you exactly where you went wrong, if you compiled perl from source and did a default install, it would be installed in /usr/local/bin not /usr/bin So giving that ./configure an option was a bad idea. In fact, I found it's usually best to not do so unless you absolutely have to. It's better take the easy button way and let the defaults do their job for you.

Also I'm surprised perl wasn't installed by default for you in the first place, and even if it wasn't, if the machine is connected to the net, it's a simple yum install perl away. I take it you installed from a Live CD?

Sigh...this is why I'm of the opinion that the DVD should be the default format listed, would save a LOT of hassles from people installing the CD and then coming here and saying, "My Fedora doesn't have whateverfoo" (Usually open/libre office)
Ah, perl is the system one:

Code:
; which perl
/usr/bin/perl
; sudo yum install perl
Loaded plugins: presto, refresh-packagekit
Setting up Install Process
Package 4:perl-5.10.0-96.fc12.i686 already installed and latest version
Nothing to do

Quote:
Originally Posted by CronoCloud View Post
And I should also recommend installing Fedora 16 since Fedora 12 is EOL'd.
If I could, I would.

Thank you.
__________________
``Nescire autem quid ante quam natus sis acciderit, id est semper esse puerum. Quid enim est aetas hominis, nisi ea memoria rerum veterum cum superiorum aetate contexitur?''
Reply With Quote
  #4  
Old 9th December 2011, 01:13 PM
CronoCloud's Avatar
CronoCloud Offline
Registered User
 
Join Date: May 2010
Location: Midwest USA
Posts: 370
linuxfirefox
Re: urxvt compilation cannot find perl: which package to install?

Found out something else, the ./configure option --enable-perl isn't used to point to your perl installation but to enable rxvt-unicode's embedded perl interpreter, so try a plain ./configure.

Also make certain perl-devel is installed.

CronoCloud
Reply With Quote
  #5  
Old 9th December 2011, 01:22 PM
leigh123linux's Avatar
leigh123linux Offline
Retired Administrator
 
Join Date: Oct 2006
Posts: 21,509
linuxfirefox
Re: urxvt compilation cannot find perl: which package to install?

Moved to EOL (End Of Life) Versions
Reply With Quote
  #6  
Old 9th December 2011, 01:25 PM
kierun's Avatar
kierun Offline
Registered User
 
Join Date: Jun 2007
Posts: 57
linuxchrome
Re: urxvt compilation cannot find perl: which package to install?

Quote:
Originally Posted by CronoCloud View Post
Found out something else, the ./configure option --enable-perl isn't used to point to your perl installation but to enable rxvt-unicode's embedded perl interpreter, so try a plain ./configure.

Also make certain perl-devel is installed.

CronoCloud
Still getting the same error.

Code:
yum install perl-devel 
Loaded plugins: presto, refresh-packagekit
Setting up Install Process
Package 4:perl-devel-5.10.0-96.fc12.i686 already installed and latest version
Nothing to do
__________________
``Nescire autem quid ante quam natus sis acciderit, id est semper esse puerum. Quid enim est aetas hominis, nisi ea memoria rerum veterum cum superiorum aetate contexitur?''
Reply With Quote
  #7  
Old 12th June 2012, 11:15 PM
wrothe Offline
Registered User
 
Join Date: Jun 2012
Location: Seattle
Posts: 1
windows_xp_2003chrome
Re: urxvt compilation cannot find perl: which package to install?

I needed to install the ExtUtils::Embed perl module
Code:
yum install perl-ExtUtils-Embed
Check out:

configure.ac

It has a check that uses ExtUtils::Embed to determine if you have 5.8 or higher.
Reply With Quote
Reply

Tags
compilation, install, package, perl, urxvt

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
perl SGI::FAM cannot find perl-base pyutor Using Fedora 0 29th June 2007 06:37 PM
Perl modules install help for Perl n00b notmyrealemail Using Fedora 0 22nd July 2006 12:22 AM
Where can i find perl-GTK & perl-base? Lord_Zlayer Using Fedora 0 7th December 2005 08:29 PM
gimp-perl package for FC2 friet Using Fedora 0 30th August 2005 03:50 PM
[opengl] cannot find -lglut while compilation elantre Using Fedora 0 27th July 2005 04:24 PM


Current GMT-time: 20:01 (Saturday, 25-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat