Cannot compile Perl with -Dusethreads

Discussion in 'Perl Misc' started by Holger Marzen, Apr 10, 2004.

  1. I have an old Linux system that's based on libc5. When I compile a
    standard Perl (5.8.1 or 5.8.3) then I have no problems. But
    Sendmail::Milter wants a threaded Perl, so I did

    sh Configure -Dusethreads -d

    The "make" fails with

    |make[1]: Leaving directory `/usr/src/perl-5.8.3'
    |
    | Making DynaLoader (static)
    |make[1]: Entering directory `/usr/src/perl-5.8.3/ext/DynaLoader'
    |Can't locate ExtUtils/Command.pm in @INC (@INC contains:
    |/usr/local/lib/perl5/5.8.3/i586-linux-thread-multi
    |/usr/local/lib/perl5/5.8.3
    |/usr/local/lib/perl5/site_perl/5.8.3/i586-linux-thread-multi
    |/usr/local/lib/perl5/site_perl/5.8.3
    |/usr/local/lib/perl5/site_perl/5.8.1 /usr/local/lib/perl5/site_perl .).
    |BEGIN failed--compilation aborted.
    |make[1]: *** [blib/lib/.exists] Error 2
    |make[1]: Leaving directory `/usr/src/perl-5.8.3/ext/DynaLoader'
    |make config failed, continuing anyway...
    |make[1]: Entering directory `/usr/src/perl-5.8.3/ext/DynaLoader'
    |Can't locate ExtUtils/Command.pm in @INC (@INC contains:
    |/usr/local/lib/perl5/5.8.3/i586-linux-thread-multi
    |/usr/local/lib/perl5/5.8.3
    |/usr/local/lib/perl5/site_perl/5.8.3/i586-linux-thread-multi
    |/usr/local/lib/perl5/site_perl/5.8.3
    |/usr/local/lib/perl5/site_perl/5.8.1 /usr/local/lib/perl5/site_perl .).
    |BEGIN failed--compilation aborted.
    |make[1]: *** [blib/lib/.exists] Error 2
    |make[1]: Leaving directory `/usr/src/perl-5.8.3/ext/DynaLoader'
    |make: *** [lib/auto/DynaLoader/DynaLoader.a] Error 2

    both with Perl 5.8.1 and 5.8.3. Is this a bug in the makefiles?
    Is there a fix or workaround for this?
     
    Holger Marzen, Apr 10, 2004
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Nagaraj
    Replies:
    1
    Views:
    900
    Lionel B
    Mar 1, 2007
  2. timjowers
    Replies:
    7
    Views:
    4,394
    heyjude
    Feb 2, 2011
  3. Mike Hunter
    Replies:
    1
    Views:
    149
    Tassilo v. Parseval
    Dec 10, 2004
  4. James
    Replies:
    0
    Views:
    92
    James
    Dec 23, 2005
  5. _invalid
    Replies:
    0
    Views:
    224
    _invalid
    May 26, 2013
Loading...

Share This Page