#2071: Perl doesn't know its vendor library location
--------------------------------------------+-------------------------------
Reporter: [EMAIL PROTECTED] | Owner: [email protected]
Type: defect | Status: new
Priority: normal | Milestone: 7.0
Component: Book | Version: SVN
Severity: major | Resolution:
Keywords: |
--------------------------------------------+-------------------------------
Comment (by [EMAIL PROTECTED]):
I just happened to be messing around with perl options the other day.
Unfortunately, we can't set the vendor prefix from configure.gnu. But the
appropriate option for Configure is -Dvendorprefix=/usr. That will give
this layout:
{{{
$ ls /usr/lib/perl5/
5.8.8 site_perl vendor_perl
$ perl -V:vendorlib
vendorlib='/usr/lib/perl5/vendor_perl/5.8.8';
}}}
I think that if you don't explicitly set vendorprefix, the setup thinks
you don't want to support a "vendor" install. Here are the options I'm
currently using for perl:
{{{
sh ./Configure -des \
-Dprefix=/usr \
-Dsiteprefix=/usr \
-Dvendorprefix=/usr \
-Doptimize="${CFLAGS}" \
${LDFLAGS:+-Dldflags="$LDFLAGS"} \
-Dscriptdir=/usr/bin \
-Dman1dir=/usr/share/man/man1 \
-Dman3dir=/usr/share/man/man3pm \
-Dhtml1dir=/usr/share/doc/perl5/html1 \
-Dhtml3dir=/usr/share/doc/perl5/html3 \
-Dpager="/usr/bin/less -isR" \
-Dmyhostname=localhost \
[EMAIL PROTECTED]
}}}
--
Ticket URL: <http://wiki.linuxfromscratch.org/lfs/ticket/2071#comment:3>
LFS Trac <http://wiki.linuxfromscratch.org/lfs/>
Linux From Scratch: Your Distro, Your Rules.
--
http://linuxfromscratch.org/mailman/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page