Changeset e74f725 for BOOK/final-system/common
- 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
- File:
-
- 1 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">
Note:
See TracChangeset
for help on using the changeset viewer.