Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Aug 2001 17:18:49 -0700
From:      list <list@museum.rain.com>
To:        freebsd-questions@freebsd.org
Subject:   Buildworld fails for want of Getopt::Long;
Message-ID:  <20010812171849.B71151@museum.rain.com>

next in thread | raw e-mail | index | archive | help
85 minutes into a 90-minute buildworld, after:

cc -O -pipe  -DMONOLITH -I/usr/src/secure/usr.bin/openssl -DNO_IDEA   -I/usr/obj/usr/src/i386/usr/include  -c /usr/src/secure/usr.bin/openssl/../../../crypto/openssl/apps/version.c
cc -O -pipe  -DMONOLITH -I/usr/src/secure/usr.bin/openssl -DNO_IDEA   -I/usr/obj/usr/src/i386/usr/include   -o openssl app_rand.o apps.o asn1pars.o ca.o ciphers.o crl.o crl2p7.o dgst.o dh.o dhparam.o dsa.o dsaparam.o enc.o errstr.o gendh.o gendsa.o genrsa.o nseq.o openssl.o passwd.o pkcs12.o pkcs7.o pkcs8.o rand.o req.o rsa.o rsautl.o s_cb.o s_client.o s_server.o s_socket.o s_time.o sess_id.o smime.o speed.o spkac.o verify.o version.o x509.o  -lssl -lcrypto

while doing:

pod2man /usr/src/secure/usr.bin/openssl/../../../crypto/openssl/apps/../doc/apps//openssl.pod > openssl.1

it says:

Can't locate Getopt/Long.pm in @INC (@INC contains: /usr/obj/usr/src/i386/usr/libdata/perl/5.00503 /usr/libdata/perl/5.00503/mach /usr/libdata/perl/5.00503 /usr/local/lib/perl5/site_perl/5.005/i386-freebsd /usr/local/lib/perl5/site_perl/5.005 .) at /usr/bin/pod2man line 308.
BEGIN failed--compilation aborted at /usr/bin/pod2man line 308.
*** Error code 2

How to fix?  Line 308 is of course, Use Getopt::Long

locate Getopt | grep Long

/usr/libdata/perl/5.00503/Getopt/Long.pm
/usr/libdata/perl/5.00503/auto/Getopt/Long
/usr/libdata/perl/5.00503/auto/Getopt/Long/Configure.al
/usr/libdata/perl/5.00503/auto/Getopt/Long/Croak.al
/usr/libdata/perl/5.00503/auto/Getopt/Long/FindOption.al
/usr/libdata/perl/5.00503/auto/Getopt/Long/GetOptions.al
/usr/libdata/perl/5.00503/auto/Getopt/Long/autosplit.ix
/usr/libdata/perl/5.00503/auto/Getopt/Long/config.al
/usr/obj/usr/src/gnu/usr.bin/perl/libperl/lib/Getopt/Long.pm
/usr/obj/usr/src/gnu/usr.bin/perl/library/B/lib/Getopt/Long.pm
/usr/obj/usr/src/gnu/usr.bin/perl/library/DB_File/lib/Getopt/Long.pm
/usr/obj/usr/src/gnu/usr.bin/perl/library/Dumper/lib/Getopt/Long.pm
/usr/obj/usr/src/gnu/usr.bin/perl/library/Errno/lib/Getopt/Long.pm
/usr/obj/usr/src/gnu/usr.bin/perl/library/Fcntl/lib/Getopt/Long.pm
/usr/obj/usr/src/gnu/usr.bin/perl/library/IO/lib/Getopt/Long.pm
/usr/obj/usr/src/gnu/usr.bin/perl/library/NDBM_File/lib/Getopt/Long.pm
/usr/obj/usr/src/gnu/usr.bin/perl/library/Opcode/lib/Getopt/Long.pm
/usr/obj/usr/src/gnu/usr.bin/perl/library/POSIX/lib/Getopt/Long.pm
/usr/obj/usr/src/gnu/usr.bin/perl/library/SDBM_File/lib/Getopt/Long.pm
/usr/obj/usr/src/gnu/usr.bin/perl/library/Socket/lib/Getopt/Long.pm
/usr/obj/usr/src/gnu/usr.bin/perl/library/SysV/lib/Getopt/Long.pm
/usr/obj/usr/src/gnu/usr.bin/perl/library/attrs/lib/Getopt/Long.pm
/usr/obj/usr/src/gnu/usr.bin/perl/library/lib/Getopt/Long.pm
/usr/obj/usr/src/gnu/usr.bin/perl/library/lib/Getopt::Long.3.gz
/usr/obj/usr/src/gnu/usr.bin/perl/library/lib/auto/Getopt/Long
/usr/obj/usr/src/gnu/usr.bin/perl/library/lib/auto/Getopt/Long/Configure.al
/usr/obj/usr/src/gnu/usr.bin/perl/library/lib/auto/Getopt/Long/Croak.al
/usr/obj/usr/src/gnu/usr.bin/perl/library/lib/auto/Getopt/Long/FindOption.al
/usr/obj/usr/src/gnu/usr.bin/perl/library/lib/auto/Getopt/Long/GetOptions.al
/usr/obj/usr/src/gnu/usr.bin/perl/library/lib/auto/Getopt/Long/autosplit.ix
/usr/obj/usr/src/gnu/usr.bin/perl/library/lib/auto/Getopt/Long/config.al
/usr/obj/usr/src/gnu/usr.bin/perl/library/re/lib/Getopt/Long.pm
/usr/obj/usr/src/gnu/usr.bin/perl/miniperl/lib/Getopt/Long.pm
/usr/obj/usr/src/gnu/usr.bin/perl/perl/lib/Getopt/Long.pm
/usr/obj/usr/src/gnu/usr.bin/perl/perl/lib/auto/Getopt/Long
/usr/obj/usr/src/gnu/usr.bin/perl/perl/lib/auto/Getopt/Long/Configure.al
/usr/obj/usr/src/gnu/usr.bin/perl/perl/lib/auto/Getopt/Long/Croak.al
/usr/obj/usr/src/gnu/usr.bin/perl/perl/lib/auto/Getopt/Long/FindOption.al
/usr/obj/usr/src/gnu/usr.bin/perl/perl/lib/auto/Getopt/Long/GetOptions.al
/usr/obj/usr/src/gnu/usr.bin/perl/perl/lib/auto/Getopt/Long/autosplit.ix
/usr/obj/usr/src/gnu/usr.bin/perl/perl/lib/auto/Getopt/Long/config.al
/usr/obj/usr/src/gnu/usr.bin/perl/suidperl/lib/Getopt/Long.pm
/usr/obj/usr/src/gnu/usr.bin/perl/suidperl/lib/auto/Getopt/Long
/usr/obj/usr/src/gnu/usr.bin/perl/suidperl/lib/auto/Getopt/Long/Configure.al
/usr/obj/usr/src/gnu/usr.bin/perl/suidperl/lib/auto/Getopt/Long/Croak.al
/usr/obj/usr/src/gnu/usr.bin/perl/suidperl/lib/auto/Getopt/Long/FindOption.al
/usr/obj/usr/src/gnu/usr.bin/perl/suidperl/lib/auto/Getopt/Long/GetOptions.al
/usr/obj/usr/src/gnu/usr.bin/perl/suidperl/lib/auto/Getopt/Long/autosplit.ix
/usr/obj/usr/src/gnu/usr.bin/perl/suidperl/lib/auto/Getopt/Long/config.al
/usr/obj/usr/src/gnu/usr.bin/perl/utils/h2ph/lib/Getopt/Long.pm
/usr/obj/usr/src/gnu/usr.bin/perl/utils/lib/Getopt/Long.pm
/usr/obj/usr/src/gnu/usr.bin/perl/x2p/a2pl/lib/Getopt/Long.pm
/usr/ports/devel/p5-Getopt-Long
/usr/ports/devel/p5-Getopt-Long/Makefile
/usr/ports/devel/p5-Getopt-Long/distinfo
/usr/ports/devel/p5-Getopt-Long/pkg-comment
/usr/ports/devel/p5-Getopt-Long/pkg-descr
/usr/ports/devel/p5-Getopt-Long/pkg-plist
/usr/share/perl/man/man3/Getopt::Long.3.gz
/usr/src/contrib/perl5/lib/Getopt/Long.pm

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010812171849.B71151>