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


Thread Previous | Thread Next
chen derek
March 20, 2006 03:34
Message ID:

Please see my reply below

--- Dominic Dunlop via RT <>

> 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/ lib/
> > 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

> 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/
Attempt to free unreferenced scalar: SV 0xe9794 at
configpm line 2.
Attempt to free unreferenced scalar: SV 0xe9938 at
lib/ line 3.
Attempt to free unreferenced scalar: SV 0x105458 at
lib/ 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/, lib/ or the Unicode data

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:
    osname=linux, osvers=2.4.20_mvl31-brh,
    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,
    usethreads=undef use5005threads=undef
useithreads=undef usemultiplicity=undef
    useperlio=define d_sfio=undef uselargefiles=define
    use64bitint=undef use64bitall=undef
    usemymalloc=n, bincompat5005=undef
    cc='gcc', ccflags ='-fno-strict-aliasing -pipe
    cppflags='-fno-strict-aliasing -pipe'
    ccversion='', gccversion='3.3.1 (MontaVista
3.3.1- 2003-12-23)', gccosandvers=''
    intsize=4, longsize=4, ptrsize=4, doublesize=8,
    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 =''
    libs=-lnsl -lgdbm -ldbm -ldl -lm -lcrypt -lutil
    perllibs=-lnsl -ldl -lm -lcrypt -lutil -lc
    libc=/lib/, so=so, useshrplib=false,
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef,
    cccdlflags='-fpic', lddlflags='-shared'

___________________________________________________  最新版 Yahoo!奇摩即時通訊 7.0,免費網路電話任你打!

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About