Results 1 to 1 of 1

Thread: ParseXS not available while compiling Perl modules

Hybrid View

  1. #1
    Join Date
    Dec 2012
    Posts
    5
    Rep Power
    2

    Default ParseXS not available while compiling Perl modules

    Hello everyone,

    I am trying to build zcs-8.0.3_GA_5582, on Ubuntu 12.04 - 64bit

    Everything seems to work except for three Perl modules.
    All other ThirdParty libraries compile correctly.

    Code:
    Logging to ThirdParty-Perllibs.log
    [...]
    Compiling perl lib DBD::SQLite ...done.
    Compiling perl lib Net-LDAPapi-3.0.3 ...FAILED.
    Compiling perl lib BerkeleyDB-0.43 ...FAILED.
    Compiling perl lib DB_File ...done.
    Compiling perl lib DBD-mysql-4.020 ...FAILED.
    Compiling perl lib Mail-SPF-v2.008 ...done.
    Compiling perl lib Mail-SpamAssassin-3.4.0-beta1 ...done.
    Compiling perl lib swatch-3.2.3 ...done.
    Verifying perl module build...

    In the log, the three modules complain about loading ExtUtils::ParseXS

    Code:
    make[1]: Entering directory `/home/marco/zimbra/ThirdParty/Perl/tmp/Net-LDAPapi-3.0.3'
    cp LDAPapi.pm blib/lib/Net/LDAPapi.pm
    AutoSplitting blib/lib/Net/LDAPapi.pm (blib/lib/auto/Net/LDAPapi)
    /usr/bin/perl constant.gen >constant.h
    /usr/bin/perl /home/marco/zimbra/ThirdParty/Perl/zimbramon/lib/ExtUtils/xsubpp  -typemap /usr/share/perl/5.14/ExtUtils/typemap -typemap typemap  LDAPapi.xs > LDAPapi.xsc && mv LDAPapi.xsc LDAPapi.c
    Failed to load or import from ExtUtils::ParseXS (version 2.2210). Please check that ExtUtils::ParseXS is installed correctly and that the newest version will be found in your @INC path: "report_error_count" is not exported by the ExtUtils::ParseXS module
    Can't continue after import errors at /home/marco/zimbra/ThirdParty/Perl/zimbramon/lib/ExtUtils/xsubpp line 6
    make[1]: *** [LDAPapi.c] Error 255
    make[1]: Leaving directory `/home/marco/zimbra/ThirdParty/Perl/tmp/Net-LDAPapi-3.0.3'
    [...]


    However, everything seems ok while bulding ParseXS:

    Code:
    Going to read '/home/marco/zimbra/ThirdParty/Perl/.cpan/Metadata'
      Database was generated on Fri, 04 Jan 2013 04:16:49 GMT
    Running make for S/SM/SMUELLER/ExtUtils-ParseXS-3.15.tar.gz
    Fetching with LWP:
    http://ftp.ciril.fr/pub/cpan/authors/id/S/SM/SMUELLER/ExtUtils-ParseXS-3.15.tar.gz
    Fetching with LWP:
    http://ftp.ciril.fr/pub/cpan/authors/id/S/SM/SMUELLER/CHECKSUMS
    Checksum for /home/marco/zimbra/ThirdParty/Perl/.cpan/sources/authors/id/S/SM/SMUELLER/ExtUtils-ParseXS-3.15.tar.gz ok
    Version::Requirements is deprecated; replace with CPAN::Meta::Requirements at /home/marco/zimbra/ThirdParty/Perl/zimbramon/lib/Version/Requirements.pm line 17.
            require Version/Requirements.pm called at /home/marco/zimbra/ThirdParty/Perl/zimbramon/lib/CPAN/Meta/Prereqs.pm line 10
            CPAN::Meta::Prereqs::BEGIN() called at /home/marco/zimbra/ThirdParty/Perl/zimbramon/lib/Version/Requirements.pm line 0
            eval {...} called at /home/marco/zimbra/ThirdParty/Perl/zimbramon/lib/Version/Requirements.pm line 0
            require CPAN/Meta/Prereqs.pm called at /home/marco/zimbra/ThirdParty/Perl/zimbramon/lib/CPAN/Meta/Feature.pm line 7
            CPAN::Meta::Feature::BEGIN() called at /home/marco/zimbra/ThirdParty/Perl/zimbramon/lib/Version/Requirements.pm line 0
            eval {...} called at /home/marco/zimbra/ThirdParty/Perl/zimbramon/lib/Version/Requirements.pm line 0
            require CPAN/Meta/Feature.pm called at /home/marco/zimbra/ThirdParty/Perl/zimbramon/lib/CPAN/Meta.pm line 9
            CPAN::Meta::BEGIN() called at /home/marco/zimbra/ThirdParty/Perl/zimbramon/lib/Version/Requirements.pm line 0
            eval {...} called at /home/marco/zimbra/ThirdParty/Perl/zimbramon/lib/Version/Requirements.pm line 0
            require CPAN/Meta.pm called at /usr/share/perl/5.14/CPAN.pm line 1131
            eval {...} called at /usr/share/perl/5.14/CPAN.pm line 1124
            CPAN::has_inst('CPAN=HASH(0x1fc9ce0)', 'CPAN::Meta', undef) called at /usr/share/perl/5.14/CPAN.pm line 1002
            CPAN::has_usable('CPAN=HASH(0x1fc9ce0)', 'CPAN::Meta') called at /usr/share/perl/5.14/CPAN/Distribution.pm line 597
            CPAN::Distribution::pick_meta_file('CPAN::Distribution=HASH(0x6eae620)', '^META') called at /usr/share/perl/5.14/CPAN/Distribution.pm line 2903
            CPAN::Distribution::configure_requires('CPAN::Distribution=HASH(0x6eae620)') called at /usr/share/perl/5.14/CPAN/Distribution.pm line 2579
            CPAN::Distribution::unsat_prereq('CPAN::Distribution=HASH(0x6eae620)', 'configure_requires_later') called at /usr/share/perl/5.14/CPAN/Distribution.pm line 677
            CPAN::Distribution::satisfy_configure_requires('CPAN::Distribution=HASH(0x6eae620)') called at /usr/share/perl/5.14/CPAN/Distribution.pm line 724
            CPAN::Distribution::choose_MM_or_MB('CPAN::Distribution=HASH(0x6eae620)', '/home/marco/zimbra/ThirdParty/Perl/.cpan/sources/authors/id/S...') called at /usr/share/perl/5.14/CPAN/Distribution.pm line 365
            CPAN::Distribution::get('CPAN::Distribution=HASH(0x6eae620)') called at /usr/share/perl/5.14/CPAN/Distribution.pm line 1748
            CPAN::Distribution::make('CPAN::Distribution=HASH(0x6eae620)') called at /usr/share/perl/5.14/CPAN/Distribution.pm line 3061
            CPAN::Distribution::test('CPAN::Distribution=HASH(0x6eae620)') called at /usr/share/perl/5.14/CPAN/Distribution.pm line 3463
            CPAN::Distribution::install('CPAN::Distribution=HASH(0x6eae620)') called at /usr/share/perl/5.14/CPAN/Shell.pm line 1796
            CPAN::Shell::rematein('CPAN::Shell', 'force', 'install', 'S/SM/SMUELLER/ExtUtils-ParseXS-3.15.tar.gz') called at /usr/share/perl/5.14/CPAN/Shell.pm line 1976
            CPAN::Shell::__ANON__('CPAN::Shell', 'install', 'S/SM/SMUELLER/ExtUtils-ParseXS-3.15.tar.gz') called at /usr/share/perl/5.14/CPAN.pm line 198
            CPAN::AUTOLOAD('install', 'S/SM/SMUELLER/ExtUtils-ParseXS-3.15.tar.gz') called at -e line 1
    
      CPAN.pm: Going to build S/SM/SMUELLER/ExtUtils-ParseXS-3.15.tar.gz
    
    Checking if your kit is complete...
    Looks good
    Writing Makefile for ExtUtils::ParseXS
    Writing MYMETA.yml
    make[1]: Entering directory `/home/marco/zimbra/ThirdParty/Perl/.cpan/build/ExtUtils-ParseXS-3.15-jKRH6p'
    cp lib/ExtUtils/Typemaps/InputMap.pm blib/lib/ExtUtils/Typemaps/InputMap.pm
    cp lib/ExtUtils/ParseXS.pod blib/lib/ExtUtils/ParseXS.pod
    cp lib/ExtUtils/ParseXS/Utilities.pm blib/lib/ExtUtils/ParseXS/Utilities.pm
    cp lib/ExtUtils/Typemaps/Type.pm blib/lib/ExtUtils/Typemaps/Type.pm
    cp lib/ExtUtils/ParseXS/Constants.pm blib/lib/ExtUtils/ParseXS/Constants.pm
    cp lib/ExtUtils/xsubpp blib/lib/ExtUtils/xsubpp
    cp lib/ExtUtils/ParseXS.pm blib/lib/ExtUtils/ParseXS.pm
    cp lib/ExtUtils/Typemaps/OutputMap.pm blib/lib/ExtUtils/Typemaps/OutputMap.pm
    cp lib/ExtUtils/ParseXS/CountLines.pm blib/lib/ExtUtils/ParseXS/CountLines.pm
    cp lib/ExtUtils/Typemaps/Cmd.pm blib/lib/ExtUtils/Typemaps/Cmd.pm
    cp lib/ExtUtils/Typemaps.pm blib/lib/ExtUtils/Typemaps.pm
    cp lib/ExtUtils/xsubpp blib/script/xsubpp
    /usr/bin/perl -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/xsubpp
    Manifying blib/man1/xsubpp.1p
    Manifying blib/man3/ExtUtils::Typemaps::InputMap.3pm
    Manifying blib/man3/ExtUtils::ParseXS.3pm
    Manifying blib/man3/ExtUtils::ParseXS::Utilities.3pm
    Manifying blib/man3/ExtUtils::Typemaps::Type.3pm
    Manifying blib/man3/ExtUtils::ParseXS::Constants.3pm
    Manifying blib/man3/ExtUtils::Typemaps::OutputMap.3pm
    Manifying blib/man3/ExtUtils::Typemaps::Cmd.3pm
    Manifying blib/man3/ExtUtils::Typemaps.3pm
    make[1]: Leaving directory `/home/marco/zimbra/ThirdParty/Perl/.cpan/build/ExtUtils-ParseXS-3.15-jKRH6p'
      SMUELLER/ExtUtils-ParseXS-3.15.tar.gz
      /usr/bin/make -- OK
    'YAML' not installed, will not store persistent state
    Running make test
    make[1]: Entering directory `/home/marco/zimbra/ThirdParty/Perl/.cpan/build/ExtUtils-ParseXS-3.15-jKRH6p'
    PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
    t/001-basic.t ............................ ok
    t/002-more.t ............................. ok
    t/003-usage.t ............................ ok
    t/004-nolinenumbers.t .................... ok
    t/101-standard_typemap_locations.t ....... ok
    t/102-trim_whitespace.t .................. ok
    t/103-tidy_type.t ........................ ok
    t/104-map_type.t ......................... ok
    t/105-valid_proto_string.t ............... ok
    t/106-process_typemaps.t ................. ok
    t/107-make_targetable.t .................. ok
    t/108-map_type.t ......................... ok
    t/109-standard_XS_defs.t ................. ok
    t/110-assign_func_args.t ................. ok
    t/111-analyze_preprocessor_statements.t .. ok
    t/112-set_cond.t ......................... ok
    t/113-check_cond_preproc_statements.t .... ok
    t/114-blurt_death_Warn.t ................. ok
    t/501-t-compile.t ........................ ok
    t/510-t-bare.t ........................... ok
    t/511-t-whitespace.t ..................... ok
    t/512-t-file.t ........................... ok
    t/513-t-merge.t .......................... ok
    t/600-t-compat.t ......................... ok
    All tests successful.
    Files=24, Tests=212,  3 wallclock secs ( 0.11 usr  0.02 sys +  2.44 cusr  0.27 csys =  2.84 CPU)
    Result: PASS
    make[1]: Leaving directory `/home/marco/zimbra/ThirdParty/Perl/.cpan/build/ExtUtils-ParseXS-3.15-jKRH6p'
      SMUELLER/ExtUtils-ParseXS-3.15.tar.gz
      /usr/bin/make test -- OK
    Running make install
    make[1]: Entering directory `/home/marco/zimbra/ThirdParty/Perl/.cpan/build/ExtUtils-ParseXS-3.15-jKRH6p'
    Installing /home/marco/zimbra/ThirdParty/Perl/zimbramon/lib/perl5/ExtUtils/xsubpp
    Installing /home/marco/zimbra/ThirdParty/Perl/zimbramon/lib/perl5/ExtUtils/Typemaps.pm
    Installing /home/marco/zimbra/ThirdParty/Perl/zimbramon/lib/perl5/ExtUtils/ParseXS.pm
    Installing /home/marco/zimbra/ThirdParty/Perl/zimbramon/lib/perl5/ExtUtils/ParseXS.pod
    Installing /home/marco/zimbra/ThirdParty/Perl/zimbramon/lib/perl5/ExtUtils/ParseXS/Constants.pm
    Installing /home/marco/zimbra/ThirdParty/Perl/zimbramon/lib/perl5/ExtUtils/ParseXS/CountLines.pm
    Installing /home/marco/zimbra/ThirdParty/Perl/zimbramon/lib/perl5/ExtUtils/ParseXS/Utilities.pm
    Installing /home/marco/zimbra/ThirdParty/Perl/zimbramon/lib/perl5/ExtUtils/Typemaps/OutputMap.pm
    Installing /home/marco/zimbra/ThirdParty/Perl/zimbramon/lib/perl5/ExtUtils/Typemaps/Type.pm
    Installing /home/marco/zimbra/ThirdParty/Perl/zimbramon/lib/perl5/ExtUtils/Typemaps/InputMap.pm
    Installing /home/marco/zimbra/ThirdParty/Perl/zimbramon/lib/perl5/ExtUtils/Typemaps/Cmd.pm
    Installing /home/marco/zimbra/ThirdParty/Perl/zimbramon/man/man1/xsubpp.1p
    Installing /home/marco/zimbra/ThirdParty/Perl/zimbramon/man/man3/ExtUtils::Typemaps.3pm
    Installing /home/marco/zimbra/ThirdParty/Perl/zimbramon/man/man3/ExtUtils::ParseXS.3pm
    Installing /home/marco/zimbra/ThirdParty/Perl/zimbramon/man/man3/ExtUtils::Typemaps::InputMap.3pm
    Installing /home/marco/zimbra/ThirdParty/Perl/zimbramon/man/man3/ExtUtils::Typemaps::Type.3pm
    Installing /home/marco/zimbra/ThirdParty/Perl/zimbramon/man/man3/ExtUtils::ParseXS::Constants.3pm
    Installing /home/marco/zimbra/ThirdParty/Perl/zimbramon/man/man3/ExtUtils::ParseXS::Utilities.3pm
    Installing /home/marco/zimbra/ThirdParty/Perl/zimbramon/man/man3/ExtUtils::Typemaps::Cmd.3pm
    Installing /home/marco/zimbra/ThirdParty/Perl/zimbramon/man/man3/ExtUtils::Typemaps::OutputMap.3pm
    Installing /home/marco/zimbra/ThirdParty/Perl/zimbramon/bin/xsubpp
    Appending installation info to /home/marco/zimbra/ThirdParty/Perl/zimbramon/lib/perl5/x86_64-linux-gnu-thread-multi/perllocal.pod
    make[1]: Leaving directory `/home/marco/zimbra/ThirdParty/Perl/.cpan/build/ExtUtils-ParseXS-3.15-jKRH6p'
      SMUELLER/ExtUtils-ParseXS-3.15.tar.gz
      /usr/bin/make install  -- OK
    Going to read '/home/marco/zimbra/ThirdParty/Perl/.cpan/Metadata'
      Database was generated on Fri, 04 Jan 2013 04:16:49 GMT
    Running install for module 'Test::Harness'

    Is this a known issue, or how can I inspect what's wrong with the build tree?
    I have little experience with CPAN dependencies.
    Thanks a lot.
    Last edited by volvox; 01-04-2013 at 07:44 AM.

Similar Threads

  1. Perl soap modules
    By jgao in forum Developers
    Replies: 4
    Last Post: 04-15-2010, 02:29 AM
  2. Chaining authentication modules
    By glalejos in forum Developers
    Replies: 1
    Last Post: 09-11-2009, 04:09 AM
  3. Adding Modules
    By cutigersfan in forum Developers
    Replies: 1
    Last Post: 08-10-2006, 10:50 PM
  4. list of CPAN modules zimbra uses for building perl
    By ravinder in forum Developers
    Replies: 3
    Last Post: 06-28-2006, 10:39 AM
  5. Replies: 12
    Last Post: 04-06-2006, 10:17 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •