The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Perl module Unicode::String

Discussion in 'General Discussion' started by scoy, Jun 21, 2002.

  1. scoy

    scoy Member

    Joined:
    Mar 10, 2002
    Messages:
    23
    Likes Received:
    0
    Trophy Points:
    1
    Using WHM to install a perl module, I attempt to install Unicode::String, however the compile errors with the following...

    (the whole log untill the error occurs)...



    spawn /usr/local/cpanel/whostmgr/bin/perlmod -i
    Unicode::String

    CPAN: Storable loaded ok
    Going to read /root/.cpan/Metadata
    Database was generated on Thu, 20 Jun 2002 16:40:10 GMT
    File::Spec is up to date.
    Digest::MD5 is up to date.
    Compress::Zlib is up to date.
    Archive::Tar is up to date.
    Data::Dumper is up to date.
    Net::Telnet is up to date.
    Net::Cmd is up to date.
    Term::ReadKey is up to date.
    Term::ReadLine::Perl is up to date.
    CPAN::WAIT is up to date.
    CPAN is up to date.
    Running install for module Unicode::String
    Running make for G/GA/GAAS/Unicode-String-2.06.tar.gz
    CPAN: Digest::MD5 loaded ok
    CPAN: Compress::Zlib loaded ok
    Checksum for /root/.cpan/sources/authors/id/G/GA/GAAS/Unicode-String-2.06.tar.gz ok
    Scanning cache /root/.cpan/build for sizes
    Unicode-String-2.06/
    Unicode-String-2.06/t/
    Unicode-String-2.06/t/stringify.t
    Unicode-String-2.06/t/op.t
    Unicode-String-2.06/t/charname.t
    Unicode-String-2.06/t/ord.t
    Unicode-String-2.06/t/byteswap.t
    Unicode-String-2.06/t/encoding.t
    Unicode-String-2.06/README
    Unicode-String-2.06/lib/
    Unicode-String-2.06/lib/Unicode/
    Unicode-String-2.06/lib/Unicode/CharName.pm
    Unicode-String-2.06/MANIFEST
    Unicode-String-2.06/String.pm
    Unicode-String-2.06/Changes
    Unicode-String-2.06/Makefile.PL
    Unicode-String-2.06/String.xs
    Removing previously used /root/.cpan/build/Unicode-String-2.06

    CPAN.pm: Going to build G/GA/GAAS/Unicode-String-2.06.tar.gz

    Checking if your kit is complete...
    Looks good
    Writing Makefile for Unicode::String
    cp lib/Unicode/CharName.pm blib/lib/Unicode/CharName.pm
    cp String.pm blib/lib/Unicode/String.pm
    /usr/bin/perl -I/usr/lib/perl5/5.6.1/i686-linux -I/usr/lib/perl5/5.6.1 /usr/lib/perl5/5.6.1/ExtUtils/xsubpp -typemap /usr/lib/perl5/5.6.1/ExtUtils/typemap String.xs & String.xsc && mv String.xsc String.c
    cc -c -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\&2.06\& -DXS_VERSION=\&2.06\& -fpic -I/usr/lib/perl5/5.6.1/i686-linux/CORE String.c
    In file included from /usr/lib/perl5/5.6.1/i686-linux/CORE/perl.h:457,
    from String.xs:13:
    /usr/include/ctype.h:76: parse error before `*'
    /usr/include/ctype.h:76: warning: data definition has no type or storage class
    /usr/include/ctype.h:77: parse error before `*'
    /usr/include/ctype.h:77: warning: data definition has no type or storage class
    In file included from /usr/lib/perl5/5.6.1/i686-linux/CORE/perl.h:493,
    from String.xs:13:
    /usr/include/stdlib.h:421: parse error before `int32_t'
    /usr/include/stdlib.h:421: warning: no semicolon at end of struct or union
    /usr/include/stdlib.h:422: warning: data definition has no type or storage class
    /usr/include/stdlib.h:423: parse error before `*'
    /usr/include/stdlib.h:423: warning: data definition has no type or storage class
    /usr/include/stdlib.h:427: parse error before `*'
    ...BLAH...BLAH...BLAH...and then more about errors.


    Has anyone encountered this? Im running WHM 4.8.0, Cpanel 4.8.0-60, RedHat 7.3, glibc 2.2.5 release 34, glibc devel 2.2.5 release 34.

    if anyone could shed some light on this subject i would greatly appreciate it.

    Thanks.
     
  2. scoy

    scoy Member

    Joined:
    Mar 10, 2002
    Messages:
    23
    Likes Received:
    0
    Trophy Points:
    1
    /scripts/fixheaders

    Someone told me to run /scripts/fixheaders, and I did, however that didnt work. and i get the errors from above
     
Loading...

Share This Page