develooper Front page | perl.perl5.porters | Postings from September 2011

[perl #100374] Can't build 5.14.2 on Ubuntu 11.04 with user-installed gcc

Robin Barker
September 29, 2011 07:42
[perl #100374] Can't build 5.14.2 on Ubuntu 11.04 with user-installed gcc
Message ID:
# New Ticket Created by  Robin Barker 
# Please include the string:  [perl #100374]
# in the subject line of all future correspondence about this issue. 
# <URL: >

This is a bug report for perl from,
generated with the help of perlbug 1.39 running under perl 5.14.2.

[Please describe your issue here]

When I try to build perl 5.14.2 on Ubuntu 11.04 and gcc 4.6
I get errors due to missing

I fixed this with Configure -Dplibpth=/usr/lib/i386-linux-gnu

The problem is because I have installed gcc 4.6 but this does 
not find find /usr/lib/i386-linux-gnu with gcc -print-search-dirs

This is fixed in blead with commit dcffd848632a and I think this
should be cherry-picked for maint-5.14

[Please do not change anything below this line]
Site configuration information for perl 5.14.2:

Configured by robin at Wed Sep 28 00:38:43 BST 2011.

Summary of my perl5 (revision 5 version 14 subversion 2) configuration:
  Commit id: dc281e6088d189558b79a5121119b7196c8b3db0
    osname=linux, osvers=2.6.38-11-generic, archname=i686-linux-64int
    uname='linux spade-ubuntu 2.6.38-11-generic #50-ubuntu smp mon sep
12 21:18:14 utc 2011 i686 i686 i386 gnulinux '
    config_args='-des -Dcc=gcc -Doptimize=-O2
-Wno-unused-but-set-variable -DDEBUGGING -Duse64bitint -Dman3dir=none
    hint=recommended, useposix=true, d_sigaction=define
    useithreads=undef, usemultiplicity=undef
    useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
    use64bitint=define, use64bitall=undef, uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
    cc='gcc', ccflags ='-DDEBUGGING -fno-strict-aliasing -pipe
-fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE
    optimize='-O2 -Wno-unused-but-set-variable -g',
    cppflags='-DDEBUGGING -fno-strict-aliasing -pipe -fstack-protector
    ccversion='', gccversion='4.6.1', gccosandvers=''
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=12345678
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
    ivtype='long long', ivsize=8, nvtype='double', nvsize=8,
Off_t='off_t', lseeksize=8
    alignbytes=4, prototype=define
  Linker and Libraries:
    ld='gcc', ldflags =' -fstack-protector -L/usr/local/lib'

libpth=/usr/local/lib /usr/lib/i386-linux-gnu /lib /usr/lib /usr/lib64
    libs=-lnsl -ldl -lm -lcrypt -lutil -lc
    perllibs=-lnsl -ldl -lm -lcrypt -lutil -lc
    libc=, so=so, useshrplib=false, libperl=libperl.a
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E'
    cccdlflags='-fPIC', lddlflags='-shared -O2
-Wno-unused-but-set-variable -g -L/usr/local/lib -fstack-protector'

Locally applied patches:

@INC for perl 5.14.2:

Environment for perl 5.14.2:
    LOGDIR (unset)

    PERL_BADLANG (unset)
    SHELL=/bin/tcsh Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About