LinuxQuestions.org
Register a domain and help support LQ
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-26-2006, 07:28 AM   #1
Musikolo
Member
 
Registered: Jul 2003
Distribution: Yoper 2.91 beta (kernel 2.6.15)
Posts: 114

Rep: Reputation: 15
Question Perl problem building NVU


Hi guys, I'm trying to build NVU. So I've tried to followed all the directions required to do so (http://www.nvu.com/Building_From_Source.php):

However, I get this error:
Code:
checking for perl5... no
checking for perl... /usr/bin/perl
checking for minimum required perl version >= 5.004... 5.008008
checking for full perl installation... no
configure: error: Cannot find Config.pm or $Config{archlib}.  A full perl installation is required.
*** Fix above errors and then restart with "make -f client.mk build"
make: *** [/usr/src/yoper/SOURCES/mozilla/Makefile] Error 1
Have perl-5.8.8-9 installed. Thus, I've decided to look a bit into it and that's what I've found:

The line that generates the "checking for full perl installation... no" message is:
Code:
perl -e 'use Config; if ( -d $Config{archlib} ) { exit(0); } else { exit(1); }'
But testing this I've got this:
Code:
~$ perl -e 'use Config; if ( -d $Config{archlib} ) { exit(0); } else { exit(1); }'
~$ echo $?
1
~$ perl -e 'use Config; $Config{archlib};'
~$ perl -e 'use Config; print $Config{archlib};'
 /usr/lib/perl5/5.8.8/i686-linux-thread-multi
~$ ls  /usr/lib/perl5/5.8.8/i686-linux-thread-multi
B              Config.pod       DynaLoader.pm  Glib      IO.pm      PerlIO        Time          auto         limits.ph  stddef.ph     time.ph
B.pm           Config_heavy.pl  Encode         Glib.pm   IPC        RPM.pm        Unicode       bits         linux      sys           wait.ph
ByteLoader.pm  Cwd.pm           Encode.pm      Gtk2      MIME       SDBM_File.pm  XS            encoding.pm  machine    syscall.ph    xlocale.ph
CORE           DB_File.pm       Errno.pm       Gtk2.pm   O.pm       Safe.pm       XSLoader.pm   endian.ph    ops.pm     syslimits.ph
Cairo          Data             Fcntl.pm       Gtk2.pod  Opcode.pm  Socket.pm     _h2ph_pre.ph  features.ph  re.pm      syslog.ph
Cairo.pm       Devel            File           I18N      POSIX.pm   Storable.pm   asm           gnu          signal.ph  threads
Config.pm      Digest           GDBM_File.pm   IO        POSIX.pod  Sys           attrs.pm      lib.pm       stdarg.ph  threads.pm
Any help giving a clue about how to fix this will be really appreciated.

Cheers!
 
Old 11-26-2006, 08:32 AM   #2
coolb
Member
 
Registered: Apr 2006
Location: Cape Town, South Africa
Distribution: Gentoo 2006.1(2.6.17-gentoo-r7)
Posts: 222

Rep: Reputation: 30
umm.. this might to far off, but do you have the perl binary in your path?
 
Old 11-26-2006, 09:08 AM   #3
Musikolo
Member
 
Registered: Jul 2003
Distribution: Yoper 2.91 beta (kernel 2.6.15)
Posts: 114

Original Poster
Rep: Reputation: 15
Hi Coolb, thanks for your reply. The answer to your question is yes, it is, otherwise my tests with it hadn't worked. Anyway you have this output that do confirm my answer:

Code:
~$ whereis perl
perl: /usr/bin/perl
~$ echo $PATH
/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin:/usr/X11R6/bin
Although this issue is still unresolved, thanks a lot for you help!
 
Old 11-26-2006, 10:07 AM   #4
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654
I searched for Config.pm on my desktop:
/usr/lib/perl5/5.8.8/ExtUtils/MakeMaker/Config.pm
/usr/lib/perl5/5.8.8/Net/Config.pm
/usr/lib/perl5/5.8.8/x86_64-linux-thread-multi/Config.pm
/usr/lib/perl5/5.8.8/x86_64-linux-thread-multi/Encode/Config.pm
/usr/lib/perl5/site_perl/5.8.8/Video/DVDRip/Config.pm
/usr/lib/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi/ModPerl/Config.pm
/usr/share/automake-1.9/Automake/Config.pm

Most were supplied by the perl package. I think that in my case, the referred to Config.pm would be /usr/lib/perl5/5.8.8/x86_64-linux-thread-multi/Config.pm since the others I looked at seem to be thin wrappers around the Config module.
 
Old 11-26-2006, 10:13 AM   #5
Musikolo
Member
 
Registered: Jul 2003
Distribution: Yoper 2.91 beta (kernel 2.6.15)
Posts: 114

Original Poster
Rep: Reputation: 15
Hi Jschiwal, thanks for your reply. As you can see in my first post (http://www.linuxquestions.org/questi...72#post2518572) I have this path: /usr/lib/perl5/5.8.8/i686-linux-thread-multi which seems to be right. Still don't know how to fix my issue. It looks a like a tough-to-fix matter.

Thanks for your reply anyway. I hope either you or any one else give me the key to sort it out soon!
 
  


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
Problem building packge perl-Tk Musikolo Linux - Software 8 08-28-2006 02:07 PM
can't find cwd while building perl dombrowsky Linux - Software 3 02-15-2006 01:30 AM
nvu site manager problem hraposo Linux - Software 0 11-14-2004 07:09 AM
Building an interactive menu in perl for use as a shell jon_k Linux - Software 2 05-16-2004 09:55 PM
Building an interactive menu in perl for use as a shell jon_k Linux - General 0 05-15-2004 03:23 PM


All times are GMT -5. The time now is 06:05 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration