+ -
当前位置:首页 → 问答吧 → CLFS 10.4. Temporary Perl-5.8.8

CLFS 10.4. Temporary Perl-5.8.8

时间:2009-09-25

来源:互联网

在10.4. Temporary Perl-5.8.8中
执行完
The following patch causes makedepend.sh to also remove <command- line> as well as <command line>:
patch -Np1 -i ../perl-5.8.8-gcc42_fix-1.patch
The following patch prevents perl from including asm/page.h which will no longer be available in headers provided
by kernel 2.6.25 and forward:
patch -Np1 -i ../perl-5.8.8-no_page_h-1.patch
First adapt some hard-wired paths to the C library by applying the following patch:
patch -Np1 -i ../perl-5.8.8-libc-2.patch
Prepare Perl for compilation (make sure to get the 'Data/Dumper Fcntl IO POSIX' part of the command correct—they
are all letters):
./configure.gnu --prefix=/tools \
-Dstatic_ext='Data/Dumper IO Fcntl POSIX' -Dcc="gcc ${BUILD32}"



出现:
Configure: line 1494: awk: command not found

Beginning of configuration questions for perl5.

Checking echo to see how to suppress newlines...
...using -n.
The star should be here-->*

First let's make sure your kit is complete. Checking...
Configure: line 1890: awk: command not found
cat: /sources/perl-5.8.8/UU/x??: No such file or directory
Looks good...

Configure: line 2073: awk: command not found

This installation shell script will examine your system and ask you questions
to determine how the perl5 package should be installed. If you get
stuck on a question, you may use a ! shell escape to start a subshell or
execute a command. Many of the questions will have default answers in square
brackets; typing carriage return will give you the default.

On some of the questions which ask for file or directory names you are allowed
to use the ~name construct to specify the login directory belonging to "name",
even if you don't have a shell which knows about that. Questions where this is
allowed will be marked "(~name ok)".

[Type carriage return to continue]

请问dx,这是个什么问题?

作者: corbin   发布时间: 2009-09-25

引用:
出现:
Configure: line 1494: awk: command not found
主系统是啥?没有 gawk?

作者: d00m3d   发布时间: 2009-09-25

主系统是fedora 11 x86_64,装了gawk,这个跟主系统有关系吗?我不是太明白

作者: corbin   发布时间: 2009-09-25

已经解决,原来在装临时系统的时候,漏装了gawk,导致命令找不到

作者: corbin   发布时间: 2009-09-25