perl-unicode

Re: Encode-2.39 problem

2010-09-17 06:29:06
Hi Delang
Looks like you are seeking help in building the encode module. Are you?
If so, our shell PATH settings are garbled. You may try building from a
fresh shell or build from root directory.
- Ravi Sastry

2010/9/15 JI Delang <Delang(_dot_)Ji(_at_)alcatel-sbell(_dot_)com(_dot_)cn>

 lampstation01:/home/lamp/Perl_Module/Encode-2.39 # perl Makefile.PL
Writing Makefile for Encode::Byte
Writing Makefile for Encode::CN
Writing Makefile for Encode::EBCDIC
Writing Makefile for Encode::JP
Writing Makefile for Encode::KR
Writing Makefile for Encode::Symbol
Writing Makefile for Encode::TW
Writing Makefile for Encode::Unicode
Writing Makefile for Encode
lampstation01:/home/lamp/Perl_Module/Encode-2.39 # make
make[1]: Entering directory `/home/lamp/Perl_Module/Encode-2.39/Byte'
/usr/local/bin/perl /usr/local/lib/perl5/5.10.0/ExtUtils/xsubpp
-nolinenumbers -typemap /usr/local/lib/perl5/5.10.0/ExtUtils/typemap
Byte.xs > Byte.xsc && mv Byte.xsc Byte.c

cc -c  -I../Encode -fno-strict-aliasing -pipe -I/usr/local/include
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O0 -ggdb   -DVERSION=\"2.04\"
-DXS_VERSION=\"2.04\" -fPIC
"-I/usr/local/lib/perl5/5.10.0/x86_64-linux/CORE"   Byte.c

/bin/sh: cc: command not found
make[1]: *** [Byte.o] Error 127
make[1]: Leaving directory `/home/lamp/Perl_Module/Encode-2.39/Byte'
make: *** [subdirs] Error 2
lampstation01:/home/lamp/Perl_Module/Encode-2.39 # make test
make[1]: Entering directory `/home/lamp/Perl_Module/Encode-2.39/Byte'
cc -c  -I../Encode -fno-strict-aliasing -pipe -I/usr/local/include
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O0 -ggdb   -DVERSION=\"2.04\"
-DXS_VERSION=\"2.04\" -fPIC
"-I/usr/local/lib/perl5/5.10.0/x86_64-linux/CORE"   Byte.c

/bin/sh: cc: command not found
make[1]: *** [Byte.o] Error 127
make[1]: Leaving directory `/home/lamp/Perl_Module/Encode-2.39/Byte'
make: *** [subdirs] Error 2
lampstation01:/home/lamp/Perl_Module/Encode-2.39 # make install
make[1]: Entering directory `/home/lamp/Perl_Module/Encode-2.39/Byte'
cc -c  -I../Encode -fno-strict-aliasing -pipe -I/usr/local/include
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O0 -ggdb   -DVERSION=\"2.04\"
-DXS_VERSION=\"2.04\" -fPIC
"-I/usr/local/lib/perl5/5.10.0/x86_64-linux/CORE"   Byte.c

/bin/sh: cc: command not found
make[1]: *** [Byte.o] Error 127
make[1]: Leaving directory `/home/lamp/Perl_Module/Encode-2.39/Byte'
make: *** [subdirs] Error 2

请问这是啥问题呢? 我perl版本是v5.10.0 built for x86_64-linux

<Prev in Thread] Current Thread [Next in Thread>