Changeset e74f725 for BOOK/final-system
- Timestamp:
- Aug 3, 2010, 6:23:10 PM (14 years ago)
- Branches:
- clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
- Children:
- 06fcd8e
- Parents:
- 08940008
- Location:
- BOOK/final-system
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/final-system/common/perl.xml
r08940008 re74f725 26 26 <title>Installation of Perl</title> 27 27 28 <para os="s1">The following sed causes <filename>DynaLoader.a</filename>29 to be built with -fPIC so it can be linked into a shared library30 later:</para>31 32 <screen os="s2"><userinput>sed -i -e "s@pldlflags=''@pldlflags=\"\$cccdlflags\"@g" \33 -e "s@static_target='static'@static_target='static_pic'@g" Makefile.SH</userinput></screen>34 35 28 <para os="s3">By default, Perl's Compress::Raw::Zlib module builds and 36 29 links against its own internal copy of Zlib. The following command will 37 30 tell it to use the system-installed Zlib:</para> 38 31 39 <screen os="s4"><userinput>sed -i -e '/^BUILD_ZLIB/ 40 -e '/^INCLUDE/s |\./zlib-src|/usr/include|' \41 -e '/^LIB/s |\./zlib-src|/usr/lib|' \42 ext/Compress-Raw-Zlib/config.in</userinput></screen>32 <screen os="s4"><userinput>sed -i -e '/^BUILD_ZLIB/s/True/False/' \ 33 -e '/^INCLUDE/s,\./zlib-src,/usr/include,' \ 34 -e '/^LIB/s,\./zlib-src,/usr/lib,' \ 35 cpan/Compress-Raw-Zlib/config.in</userinput></screen> 43 36 44 37 <note os="a00"> -
BOOK/final-system/multilib/perl-64bit.xml
r08940008 re74f725 24 24 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 25 25 href="../common/perl.xml" 26 xpointer="xpointer(//*[@os='s1'])"/>27 28 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"29 href="../common/perl.xml"30 xpointer="xpointer(//*[@os='s2'])"/>31 32 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"33 href="../common/perl.xml"34 26 xpointer="xpointer(//*[@os='s3'])"/> 35 27 36 <screen os="s4"><userinput>sed -i -e '/^BUILD_ZLIB/ 37 -e '/^INCLUDE/s |\./zlib-src|/usr/include|' \38 -e '/^LIB/s |\./zlib-src|/usr/lib64|' \39 ext/Compress-Raw-Zlib/config.in</userinput></screen>28 <screen os="s4"><userinput>sed -i -e '/^BUILD_ZLIB/s/True/False/' \ 29 -e '/^INCLUDE/s,\./zlib-src,/usr/include,' \ 30 -e '/^LIB/s,\./zlib-src,/usr/lib64,' \ 31 cpan/Compress-Raw-Zlib/config.in</userinput></screen> 40 32 41 33 <para os="mp1">Perl does not, by default, know about library directories with names other -
BOOK/final-system/multilib/perl-n32.xml
r08940008 re74f725 25 25 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 26 26 href="../common/perl.xml" 27 xpointer="xpointer(//*[@os='s1'])"/>28 29 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"30 href="../common/perl.xml"31 xpointer="xpointer(//*[@os='s2'])"/>32 33 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"34 href="../common/perl.xml"35 27 xpointer="xpointer(//*[@os='s3'])"/> 36 28 37 <screen os="s4"><userinput>sed -i -e '/^BUILD_ZLIB/ 38 -e '/^INCLUDE/s |\./zlib-src|/usr/include|' \39 -e '/^LIB/s |\./zlib-src|/usr/lib32|' \40 ext/Compress-Raw-Zlib/config.in</userinput></screen>29 <screen os="s4"><userinput>sed -i -e '/^BUILD_ZLIB/s/True/False/' \ 30 -e '/^INCLUDE/s,\./zlib-src,/usr/include,' \ 31 -e '/^LIB/s,\./zlib-src,/usr/lib32,' \ 32 cpan/Compress-Raw-Zlib/config.in</userinput></screen> 41 33 42 34 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" -
BOOK/final-system/multilib/perl.xml
r08940008 re74f725 22 22 <sect2 role="installation"> 23 23 <title>Installation of Perl</title> 24 25 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"26 href="../common/perl.xml"27 xpointer="xpointer(//*[@os='s1'])"/>28 29 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"30 href="../common/perl.xml"31 xpointer="xpointer(//*[@os='s2'])"/>32 24 33 25 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
Note:
See TracChangeset
for help on using the changeset viewer.