Jump to content

Where is perldoc in Mandriva 2006.0? [solved]


Guest ropati
 Share

Recommended Posts

Guest ropati

I've finished a fresh installation of Mandriva 2006 and updated all the modules.

 

When I try and run perldoc in bash there is on command found.

If I do a find / -name "perldoc" there is no command on the machine

I see that most of the perl documents are in the man folders, but I am concerned that man might not display the specific perl documents.

 

here is the output of perl -V

 

Summary of my perl5 (revision 5 version 8 subversion 7) configuration:

Platform:

osname=linux, osvers=2.6.3-28mdk-i686-up-4gb, archname=i386-linux

uname='linux mercury.mandriva.com 2.6.3-28mdk-i686-up-4gb #1 thu sep 29 11:26:42 mdt 2005 i686 intel® pentium® 4 cpu 3.00ghz unknown gnulinux '

config_args='-des -Dinc_version_list=5.8.6 5.8.6/i386-linux 5.8.5 5.8.4 5.8.3 5.8.2 5.8.1 5.8.0 5.6.1 5.6.0 -Darchname=i386-linux -Dcc=gcc -Doptimize=-O2 -pipe -Wp,-D_FORTIFY_SOURCE=2 -fomit-frame-pointer -march=i586 -mtune=pentiumpro -Dprefix=/usr -Dvendorprefix=/usr -Dsiteprefix=/usr -Dsitebin=/usr/local/bin -Dsiteman1dir=/usr/local/share/man/man1 -Dsiteman3dir=/usr/local/share/man/man3 -Dman3ext=3pm -Dcf_by=Mandriva -Dmyhostname=localhost -Dperladmin=root@localhost -Dcf_email=root@localhost -Dd_dosuid -Ud_csh -Duseshrplib -Accflags=-DPERL_DISABLE_PMC'

hint=recommended, useposix=true, d_sigaction=define

usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef

useperlio=define d_sfio=undef uselargefiles=define usesocks=undef

use64bitint=undef use64bitall=undef uselongdouble=undef

usemymalloc=n, bincompat5005=undef

Compiler:

cc='gcc', ccflags ='-DPERL_DISABLE_PMC -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm',

optimize='-O2 -pipe -Wp,-D_FORTIFY_SOURCE=2 -fomit-frame-pointer -march=i586 -mtune=pentiumpro',

cppflags='-DPERL_DISABLE_PMC -fno-strict-aliasing -pipe -I/usr/local/include -I/usr/include/gdbm'

ccversion='', gccversion='4.0.1 (4.0.1-5mdk for Mandriva Linux release 2006.0)', gccosandvers=''

intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234

d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12

ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8

alignbytes=4, prototype=define

Linker and Libraries:

ld='gcc', ldflags =' -L/usr/local/lib'

libpth=/usr/local/lib /lib /usr/lib

libs=-lnsl -lndbm -lgdbm -ldl -lm -lcrypt -lutil -lc

perllibs=-lnsl -ldl -lm -lcrypt -lutil -lc

libc=/lib/libc-2.3.5.so, so=so, useshrplib=true, libperl=libperl.so

gnulibc_version='2.3.5'

Dynamic Linking:

dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E -Wl,-rpath,/usr/lib/perl5/5.8.7/i386-linux/CORE'

cccdlflags='-fPIC', lddlflags='-shared -L/usr/local/lib'

 

 

Characteristics of this binary (from libperl):

Compile-time options: USE_LARGE_FILES

Locally applied patches:

Mandriva Linux patches (cf the source RPM)

Built under linux

Compiled at Dec 6 2005 10:20:01

@INC:

/usr/lib/perl5/5.8.7/i386-linux

/usr/lib/perl5/5.8.7

/usr/lib/perl5/site_perl/5.8.7/i386-linux

/usr/lib/perl5/site_perl/5.8.7

/usr/lib/perl5/site_perl

/usr/lib/perl5/vendor_perl/5.8.7/i386-linux

/usr/lib/perl5/vendor_perl/5.8.7

/usr/lib/perl5/vendor_perl/5.8.6

/usr/lib/perl5/vendor_perl/5.8.6/i386-linux

/usr/lib/perl5/vendor_perl/5.8.5

/usr/lib/perl5/vendor_perl/5.8.4

/usr/lib/perl5/vendor_perl/5.8.3

/usr/lib/perl5/vendor_perl/5.8.1

/usr/lib/perl5/vendor_perl

 

Any ideas how or why perldoc is missing?

Link to comment
Share on other sites

Guest ropati

spinynorman,

 

Thanks for the pointer. It fixed my problem and I'm up and running. :D

 

I do wonder why perldoc isn't part of the perl installation or part of the perl update for Mandriva 2006. I downloaded the free version so I don't have a CD5.

 

I'm fairly new to Linux, but I understand that perldoc is part of the base perl package and if the Mandriva packaging team forgot to package it originally, they would add it to the updates not an auxilary CD. I spent a good deal of time googlng "Mandriva and perldoc" without finding this issue.

 

Is this subtle way to mangle the free install so users will buy the CD package?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...