- Timestamp:
- Jun 16, 2006, 4:58:39 PM (18 years ago)
- Branches:
- master
- Children:
- 9748f02
- Parents:
- 795a4b8
- Location:
- BOOK
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/final-system/arm-chapter.xml
r795a4b8 r1fedb6d 25 25 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/sed.xml"/> 26 26 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/libtool.xml"/> 27 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href=" common/perl.xml"/>27 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="arm/perl.xml"/> 28 28 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/readline.xml"/> 29 29 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/zlib.xml"/> -
BOOK/final-system/common/perl.xml
r795a4b8 r1fedb6d 26 26 <title>Installation of Perl</title> 27 27 28 <important os="w1"><para>Information on cross-compiling perl has not been added yet.</para></important> 29 30 <para os="a00">Before starting to configure, create a basic 31 <filename>/etc/hosts</filename> file which will be referenced in one 32 of Perl's configuration files as well as being used used by the testsuite 33 if you run that.</para> 34 35 <screen os="a01"><userinput>echo "127.0.0.1 localhost $(hostname)" > /etc/hosts</userinput></screen> 36 37 <para os="a">To have full control over the way Perl is set up, run the 38 interactive <command>Configure</command> script and hand-pick the way 39 this package is built. If the defaults it auto-detects are suitable, 40 prepare Perl for compilation with:</para> 41 42 <screen os="b"><userinput>./configure.gnu --prefix=/usr \ 43 -Dman1dir=/usr/share/man/man1 \ 44 -Dman3dir=/usr/share/man/man3 \ 45 -Dpager="/bin/less -isR"</userinput></screen> 46 47 <variablelist os="c"> 48 <title>The meaning of the configure option:</title> 49 50 <varlistentry os="c1"> 51 <term><parameter>-Dpager="/bin/less -isR"</parameter></term> 52 <listitem> 53 <para>This corrects an error in the way that <command>perldoc</command> 54 invokes the <command>less</command> program.</para> 55 </listitem> 56 </varlistentry> 57 <varlistentry os="c2"> 58 <term><parameter>-Dman1dir=/usr/share/man/man1 -Dman3dir=/usr/share/man/man3</parameter></term> 59 <listitem> 60 <para>Since Groff is not installed yet, 61 <command>configure.gnu</command> thinks that we do not want 62 man pages for Perl. Issuing these parameters overrides this decision.</para> 63 </listitem> 64 </varlistentry> 65 </variablelist> 66 67 <para os="d">Compile the package:</para> 68 69 <screen os="e"><userinput>make</userinput></screen> 70 71 <para os="h">To test the results, issue: 72 <userinput>make test</userinput>.</para> 73 74 <para os="j">Install the package:</para> 75 76 <screen os="k"><userinput>make install</userinput></screen> 28 <para os="p1">The following patch fixes issues with perl and 29 cross-compiling:</para> 30 31 <screen os="p2"><userinput>patch -Np1 -i ../&perl-cross_compile-patch;</userinput></screen> 32 33 <para os="a">The Cross directory contains a Makefile for cross-compiling.</para> 34 35 <screen os="b"><userinput>cd Cross</userinput></screen> 36 37 <para os="c">Compile the package:</para> 38 39 <screen os="d"><userinput>make ARCH= CROSS_COMPILE="${LFS_TARGET}-"</userinput></screen> 40 41 <para os="e">Install the package:</para> 42 43 <screen os="f"><userinput>make DESTDIR=${LFS} install</userinput></screen> 77 44 78 45 </sect2> -
BOOK/general.ent
r795a4b8 r1fedb6d 1 1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 3 <!ENTITY version "SVN-2006061 5">3 <!ENTITY version "SVN-20060616"> 4 4 <!ENTITY version-ARM "&version;-ARM"> 5 5 6 <!ENTITY releasedate "June 1 5, 2006">6 <!ENTITY releasedate "June 16, 2006"> 7 7 <!ENTITY milestone "0.2"> 8 8 <!ENTITY generic-version "svn"> <!-- Use "svn", "testing", or "x.y[-pre{x}]" --> -
BOOK/introduction/common/changelog.xml
r795a4b8 r1fedb6d 36 36 </listitem> 37 37 --> 38 39 <listitem> 40 <para>June 16, 2006</para> 41 <itemizedlist> 42 <listitem> 43 <para>[jciccone] - Added informations about cross-compiling perl.</para> 44 </listitem> 45 </itemizedlist> 46 </listitem> 38 47 39 48 <listitem> -
BOOK/patches.ent
r795a4b8 r1fedb6d 73 73 <!ENTITY mktemp-tempfile-patch-size "3.6 KB"> 74 74 75 <!ENTITY perl-cross_compile-patch "perl-&perl-version;-cross_compile-1.patch"> 76 <!ENTITY perl-cross_compile-patch-md5 "4af9ce7235726b0a22ed1a1e42d249e1"> 77 <!ENTITY perl-cross_compile-patch-size "76 KB"> 78 75 79 <!ENTITY readline-fixes-patch "readline-&readline-version;-fixes-3.patch"> 76 80 <!ENTITY readline-fixes-patch-md5 "e30963cd5c6f6a11a23344af36cfa38c">
Note:
See TracChangeset
for help on using the changeset viewer.