develooper Front page | perl.perl5.porters | Postings from March 2006

=?big5?q?=A6^=C2=D0:=20Re:=20[perl=20#38745]=20Segmentation=20fault=20in?==?big5?q?=20generating=20Config.pm?=

Thread Previous | Thread Next
From:
chen derek
Date:
March 20, 2006 03:34
Subject:
=?big5?q?=A6^=C2=D0:=20Re:=20[perl=20#38745]=20Segmentation=20fault=20in?==?big5?q?=20generating=20Config.pm?=
Message ID:
20060320093153.14201.qmail@web17807.mail.tpe.yahoo.com
Hi,

Please see my reply below

--- Dominic Dunlop via RT <perlbug-followup@perl.org>
說:

> On 2006–03–17, at 03:32, chen derek (via RT)
> wrote:
> 
> Have you successfully built earlier versions of
> perl, or is 5.8.8 the  

It's the first one.

> 
> > and got the following error during make. The
> > error message is as below
> > ~#./miniperl -Ilib configpm
> > --heavy=lib/Config_heavy.pl lib/Config.pm
> > perl: warning: Setting locale failed.
> > perl: warning: Please check that your locale
> settings:
> >         LANGUAGE = (unset),
> >         LC_ALL = (unset),
> >         LC_MESSAGES = "en",
> >         LANG = (unset)
> >     are supported and installed on your system.
> 
> Try this:
> 
> $ unset LC_MESSAGES #or whatever you need to do to
> get your  
> particular shell to remove an environment value
> $ make clean
> $ make

Still got Segmentation Fault

> A valid locale should have a corresponding
> /usr/share/locale/XXXX  
> directory, where XXXX is the locale name. I suspect
> that you have no / 
> usr/share/locale/en directory.

I have this directory
/usr/share/locale/en/LC_MESSAGES/

> 
> I can't throw any light on this. Please run  make
> minitest  to test  
> miniperl, and send the results. (Or a summary of the
> results if there  
> are lots of errors!)

make[1]: Entering directory `/opt/perl-5.8.8'
./miniperl -Ilib configpm --heavy=lib/Config_heavy.pl
lib/Config.pm
Attempt to free unreferenced scalar: SV 0xe9794 at
configpm line 2.
Attempt to free unreferenced scalar: SV 0xe9938 at
lib/vars.pm line 3.
Attempt to free unreferenced scalar: SV 0x105458 at
lib/warnings.pm line 134.
make[1]: *** [lib/Config.pod] Segmentation fault
make[1]: Leaving directory `/opt/perl-5.8.8'
make: [minitest.prep] Error 2 (ignored)

You may see some irrelevant test failures if you have
been unable
to build lib/Config.pm, lib/lib.pm or the Unicode data
files.

cd t && (rm -f perl; /bin/ln -s ../miniperl perl) \
        &&  ./perl TEST -minitest base/*.t comp/*.t
cmd/*.t run/*.t io/*.t op/*.t uni/*.t </dev/tty
cannot open /dev/tty: No such file or directory
make: [minitest] Error 2 (ignored)

> 
> If you can run miniperl under a debugger (probably
> gdb), or point a  
> debugger at a core file to get a stack trace, or
> find a crash log, it  
> would be useful to know where and why the crash
> occurred.

Sorry but I don't know how to do this

> 
> Please run  ./myconfig  in the perl build directory
> and paste the  
> output into a reply to this mail.
> 

Summary of my perl5 (revision 5 version 8 subversion
8) configuration:
  Platform:
    osname=linux, osvers=2.4.20_mvl31-brh,
archname=armv5teb-linux
    uname='linux nvw300 2.4.20_mvl31-brh #1 fri jan 6
10:46:29 cst 2006 armv5teb unknown '
    config_args='-Dcc=gcc -Dprefix=/opt/perl5.8'
    hint=recommended, useposix=true,
d_sigaction=define
    usethreads=undef use5005threads=undef
useithreads=undef usemultiplicity=undef
    useperlio=define d_sfio=undef uselargefiles=define
usesocks=undef
    use64bitint=undef use64bitall=undef
uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='gcc', ccflags ='-fno-strict-aliasing -pipe
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
    optimize='-O2',
    cppflags='-fno-strict-aliasing -pipe'
    ccversion='', gccversion='3.3.1 (MontaVista
3.3.1-3.0.10.0300532 2003-12-23)', gccosandvers=''
    intsize=4, longsize=4, ptrsize=4, doublesize=8,
byteorder=4321
    d_longlong=define, longlongsize=8,
d_longdbl=define, longdblsize=8
    ivtype='long', ivsize=4, nvtype='double',
nvsize=8, Off_t='off_t', lseeksize=8
    alignbytes=4, prototype=define
  Linker and Libraries:
    ld='gcc', ldflags =''
   
libpth=/opt/montavista/pro/devkit/arm/xscale_be/target/usr/lib
/opt/montavista/pro/devkit/arm/xscale_be/target/lib
    libs=-lnsl -lgdbm -ldbm -ldl -lm -lcrypt -lutil
-lc
    perllibs=-lnsl -ldl -lm -lcrypt -lutil -lc
    libc=/lib/libc-2.3.2.so, so=so, useshrplib=false,
libperl=libperl.a
    gnulibc_version='2.3.2'
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef,
ccdlflags='-Wl,-E'
    cccdlflags='-fpic', lddlflags='-shared'

___________________________________________________  最新版 Yahoo!奇摩即時通訊 7.0,免費網路電話任你打!  http://messenger.yahoo.com.tw/

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About