Changeset ba99b734 for BOOK/final-system/common/perl.xml
- Timestamp:
- Aug 1, 2014, 10:50:25 PM (10 years ago)
- Branches:
- clfs-3.0.0-systemd, master, systemd
- Children:
- ec2f02c
- Parents:
- 078b277
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/final-system/common/perl.xml
r078b277 rba99b734 26 26 <title>Installation of Perl</title> 27 27 28 <para os="s3">By default, Perl's Compress::Raw::Zlib module builds and 29 links against its own internal copy of Zlib. The following command will 30 tell it to use the system-installed Zlib:</para> 31 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> 28 <para os="s3">By default, Perl's Compress::Raw::Zlib and 29 Compress::Raw::Bzip2 modules build and link against internal copies of 30 Zlib and Bzip2. The following command will make Perl use the 31 system-installed copies of these libraries:</para> 32 33 <screen os="s4"><userinput>export BUILD_ZLIB=False 34 export BUILD_BZIP2=0</userinput></screen> 36 35 37 36 <note os="a00"> … … 106 105 <screen os="h2"><userinput remap="test">make test</userinput></screen> 107 106 108 <para os="j">Install the package:</para> 109 110 <screen os="k"><userinput>make install</userinput></screen> 107 <para os="j">Install the package and remove the variables set previously:</para> 108 109 <screen os="k"><userinput>make install 110 unset BUILD_ZLIB BUILD_BZIP2</userinput></screen> 111 111 112 112 </sect2>
Note:
See TracChangeset
for help on using the changeset viewer.