compiling / threads / perl-5.10.1

Discussion in 'Perl Misc' started by sbk, Sep 10, 2009.

  1. sbk

    sbk Guest

    I'm having trouble compiling 5.10.1 with threads. [5.10.0, with -
    Dusethreads, works fine].

    Tips for trouble-shooting this?

    --sk

    Stuart Kendrick
    FHCRC

    guru> /opt/local/bin/perl -Mthreads -e 1
    This Perl not built to support threads
    Compilation failed in require.
    BEGIN failed--compilation aborted.
    guru>

    guru> /opt/local/bin/perl -V
    Summary of my perl5 (revision 5 version 10 subversion 1)
    configuration:

    Platform:
    osname=linux, osvers=2.6.18-92.el5, archname=x86_64-linux
    uname='linux guru 2.6.18-92.el5 #1 smp tue jun 10 18:51:06 edt
    2008 x86_64 x86_64 x86_64 gnulinux '
    config_args='-de -Dprefix=/opt/local –Dscriptdir=/opt/local/bin-
    Dsitescript=/opt/local/bin –Dusethreads'
    hint=recommended, useposix=true, d_sigaction=define
    useithreads=undef, usemultiplicity=undef
    useperlio=define, d_sfio=undef, uselargefiles=define,
    usesocks=undef
    use64bitint=define, use64bitall=define, uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
    Compiler:
    cc='cc', ccflags ='-fno-strict-aliasing -pipe -fstack-protector -I/
    usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
    optimize='-O2',
    cppflags='-fno-strict-aliasing -pipe -fstack-protector -I/usr/
    local/include'
    ccversion='', gccversion='4.1.2 20080704 (Red Hat 4.1.2-44)',
    gccosandvers=''
    intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678
    d_longlong=define, longlongsize=8, d_longdbl=define,
    longdblsize=16
    ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t',
    lseeksize=8
    alignbytes=8, prototype=define
    Linker and Libraries:
    ld='cc', ldflags =' -fstack-protector -L/usr/local/lib'
    libpth=/usr/local/lib /lib /usr/lib /lib64 /usr/lib64 /usr/local/
    lib64
    libs=-lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lc
    perllibs=-lnsl -ldl -lm -lcrypt -lutil -lc
    libc=/lib/libc-2.5.so, so=so, useshrplib=false, libperl=libperl..a
    gnulibc_version='2.5'
    Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E'
    cccdlflags='-fPIC', lddlflags='-shared -O2 -L/usr/local/lib -
    fstack-protector'


    Characteristics of this binary (from libperl):
    Compile-time options: PERL_DONT_CREATE_GVSV PERL_MALLOC_WRAP
    USE_64_BIT_ALL
    USE_64_BIT_INT USE_LARGE_FILES USE_PERLIO
    Built under linux
    Compiled at Sep 10 2009 14:16:37
    @INC:
    /opt/local/lib/perl5/5.10.1/x86_64-linux
    /opt/local/lib/perl5/5.10.1
    /opt/local/lib/perl5/site_perl/5.10.1/x86_64-linux
    /opt/local/lib/perl5/site_perl/5.10.1
     
    sbk, Sep 10, 2009
    #1
    1. Advertising

  2. On 2009-09-10 23:02, Ben Morrow <> wrote:
    > Quoth sbk <>:
    >> I'm having trouble compiling 5.10.1 with threads. [5.10.0, with -
    >> Dusethreads, works fine].
    >>
    >> guru> /opt/local/bin/perl -V
    >> Summary of my perl5 (revision 5 version 10 subversion 1)
    >> configuration:
    >>
    >> Platform:
    >> osname=linux, osvers=2.6.18-92.el5, archname=x86_64-linux
    >> uname='linux guru 2.6.18-92.el5 #1 smp tue jun 10 18:51:06 edt
    >> 2008 x86_64 x86_64 x86_64 gnulinux '
    >> config_args='-de -Dprefix=/opt/local ^VDscriptdir=/opt/local/bin -
    >> Dsitescript=/opt/local/bin ^VDusethreads'

    >
    > I have no idea what character that actually has before Dscriptdir and
    > Dusethreads,


    U+2013 (EN DASH).

    > but it certainly isn't a hyphen.


    Yup. I suspect that sbk uses copy'n'paste from a document where the
    HYPHEN-MINUS was replaced with an EN-DASH. Unfortunately perldoc/groff
    tends to replace some ASCII characters (like quotes or dashes) with
    "typographically correct" (but syntactically wrong) characters. So you
    can't just copy from the docs, you need to type ...

    hp
     
    Peter J. Holzer, Sep 11, 2009
    #2
    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. yoda
    Replies:
    2
    Views:
    481
    =?utf-8?Q?Bj=C3=B6rn_Lindstr=C3=B6m?=
    Aug 1, 2005
  2. Garrett Cooper
    Replies:
    0
    Views:
    589
    Garrett Cooper
    Feb 24, 2009
  3. Garrett Cooper
    Replies:
    0
    Views:
    522
    Garrett Cooper
    Feb 24, 2009
  4. Lon Baker
    Replies:
    1
    Views:
    236
    Csaba Henk
    Mar 21, 2005
  5. Mark Seger

    Compiling perl? perl??

    Mark Seger, Nov 30, 2006, in forum: Perl Misc
    Replies:
    3
    Views:
    132
Loading...

Share This Page