在 linux 下, 为何安装 Authen::SASL 这个模块失败呢? (新手)
在 linux 下, 为何安装 Authen::SASL 这个模块失败呢? (新手)
OS: Redhat EL 3
我在安装 Authen::SASL 模块时失败, 为什么呢?
CPAN> install Authen::SASL
Error Message as following:
Checking if your kit is complete...
Looks good
Writing Makefile for GSSAPI
cp GSSAPI.pm blib/lib/GSSAPI.pm
cp GSSAPI/OID/Set.pm blib/lib/GSSAPI/OID/Set.pm
cp GSSAPI/OID.pm blib/lib/GSSAPI/OID.pm
cp GSSAPI/Status.pm blib/lib/GSSAPI/Status.pm
/usr/bin/perl /usr/lib/perl5/5.8.0/ExtUtils/xsubpp -typemap /usr/lib/perl5/5.8.0/ExtUtils/typemap -typemap typemap GSSAPI.xs > GSSAPI.xsc && mv GSSAPI.xsc GSSAPI.c
gcc -c -I/usr/kerberos/include -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -march=i386 -mcpu=i686 -DVERSION=\"0.22\" -DXS_VERSION=\"0.22\" -fPIC "-I/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE" GSSAPI.c
xs/OID.xs: In function `XS_GSSAPI__OID_gss_nt_user_name':
xs/OID.xs:85: `GSS_C_NT_USER_NAME' undeclared (first use in this function)
xs/OID.xs:85: (Each undeclared identifier is reported only once
xs/OID.xs:85: for each function it appears in.)
xs/OID.xs: In function `XS_GSSAPI__OID_gss_nt_machine_uid_name':
xs/OID.xs:92: `GSS_C_NT_MACHINE_UID_NAME' undeclared (first use in this function)
xs/OID.xs: In function `XS_GSSAPI__OID_gss_nt_string_uid_name':
xs/OID.xs:99: `GSS_C_NT_STRING_UID_NAME' undeclared (first use in this function)
xs/OID.xs: In function `XS_GSSAPI__OID_gss_nt_service_name':
xs/OID.xs:106: `GSS_C_NT_HOSTBASED_SERVICE' undeclared (first use in this function)
xs/OID.xs: In function `XS_GSSAPI__OID_gss_nt_exported_name':
xs/OID.xs:113: `GSS_C_NT_EXPORT_NAME' undeclared (first use in this function)
xs/OID.xs: In function `XS_GSSAPI__OID_gss_nt_service_name_v2':
xs/OID.xs:120: `GSS_C_NT_HOSTBASED_SERVICE' undeclared (first use in this function)
xs/OID.xs: In function `XS_GSSAPI__OID_gss_nt_hostbased_service':
xs/OID.xs:174: `GSS_C_NT_HOSTBASED_SERVICE' undeclared (first use in this function)
make: *** [GSSAPI.o] Error 1
/usr/bin/make -- NOT OK
Running make test
Can't test without successful make
Running make install
make had returned bad status, install seems impossible
*** GSSAPI installation failed.
*** Module::AutoInstall installation finished.
Warning: prerequisite GSSAPI 0 not found.
Writing Makefile for Authen::SASL
make: *** No targets specified and no makefile found. Stop.
/usr/bin/make -- NOT OK
Running make test
Can't test without successful make
Running make install
make had returned bad status, install seems impossible