RE: Segmentation Fault when trying to make Glib 1.06



Hi Ross,
        Thanks for responding

The output from perl -V follows.
 perl -V
Summary of my perl5 (revision 5.0 version 8 subversion 0) configuration:
  Platform:
    osname=linux, osvers=2.4.20, archname=i586-linux-thread-multi
    uname='linux d20 2.4.20 #1 smp thu oct 10 18:10:26 utc 2002 i686 unknown
unknown gnulinux '




config_args='-ds -e -Dprefix=/usr -Dusethreads -Di_db -Di_dbm -Di_ndbm -Di_g
dbm -Duseshrplib=true'
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=define use5005threads=undef useithreads=define
usemultiplicity=define
    useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
    use64bitint=undef use64bitall=undef uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='cc', ccflags
='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FIL
E_OFFSET_BITS=64',
    optimize='-O3 --pipe',
    cppflags='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing'
    ccversion='', gccversion='3.3 20030226 (prerelease) (SuSE Linux)',
gccosandvers=''
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
    ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=8
    alignbytes=4, prototype=define
  Linker and Libraries:
    ld='cc', ldflags =''
    libpth=/lib /usr/lib /usr/local/lib
    libs=-lnsl -ldl -lm -lpthread -lc -lcrypt -lutil
    perllibs=-lnsl -ldl -lm -lpthread -lc -lcrypt -lutil
    libc=, so=so, useshrplib=true, libperl=libperl.so
    gnulibc_version='2.3.2'
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef,
ccdlflags='-rdynamic -Wl,-rpath,/usr/lib/perl5/5.8.0/i586-linux-thread-multi
/CORE'
    cccdlflags='-fPIC', lddlflags='-shared'


Characteristics of this binary (from libperl):
  Compile-time options: MULTIPLICITY USE_ITHREADS USE_LARGE_FILES
PERL_IMPLICIT_CONTEXT
  Built under linux
  Compiled at Mar 13 2003 22:22:34
  @INC:
    /usr/lib/perl5/5.8.0/i586-linux-thread-multi
    /usr/lib/perl5/5.8.0
    /usr/lib/perl5/site_perl/5.8.0/i586-linux-thread-multi
    /usr/lib/perl5/site_perl/5.8.0
    /usr/lib/perl5/site_perl

Per the above I would say I am running threaded?

I forgot to run "make test".
I'll run it tonite and let you know result but if I remember correctly it
fails.

I am not running any special local.

Thanks again
John Ellis

-----Original Message-----
From: Ross McFarland [mailto:rwmcfa1 neces com]
Sent: Sunday, September 26, 2004 8:56 AM
To: John Ellis
Cc: Gtk-Perl-List
Subject: Re: Segmentation Fault when trying to make Glib 1.06


On Sat, 2004-09-25 at 22:20, John Ellis wrote:
Suse 8.2
Perl 5.8
Depends 0.202
PkgConfig 1.05

When running "make" I get the following error.
chmod 644 blib/arch/auto/Glib/Glib.bs
/usr/bin/perl -I blib/lib -I blib/arch -MGlib::GenPod -MGlib \
        -e 'add_types ("doctypes");  $Glib::GenPod::COPYRIGHT="Copyright
(C)
2003-2004 by the gtk2-perl team.\n\nThis software is licensed under the
LGPL.
See L<Glib> for a full notice.\n"; $Glib::GenPod::MAIN_MOD="Glib";
xsdoc2pod("build/doc.pl", "blib/lib", "build/podindex");'
make: *** [build/podindex] Segmentation fault

that's not good.

what's the output of "perl -V" on the system? do you have a
threaded/non-threaded perl?

what happens with "make test?" (it shouldn't need "build/podindex" for
that to run)

you running with a specific (non-english) locale or anything like that?

anyone else running Suse 8.2 who's had problems or got things to work
fine?

I do not know if it is related or not but when I run "perl Makefile.PL" I
get
the following warning.
unrecognized argument in LIBS ignored '-pthread'
 I get this warning on a lot of the other gtk2-perl modules also.

-pthread shouldn't be the problem. that's just a (harmless)
ExtUtils::MakeMaker warning. -pthread is in glib/gtk+'s LIBS and we pass
through to MakeMaker since we're compiling and linking against them.

--
-rm
http://www.neces.com/

-----Original Message-----
From: Ross McFarland [mailto:rwmcfa1 neces com]
Sent: Sunday, September 26, 2004 8:56 AM
To: John Ellis
Cc: Gtk-Perl-List
Subject: Re: Segmentation Fault when trying to make Glib 1.06


On Sat, 2004-09-25 at 22:20, John Ellis wrote:
Suse 8.2
Perl 5.8
Depends 0.202
PkgConfig 1.05

When running "make" I get the following error.
chmod 644 blib/arch/auto/Glib/Glib.bs
/usr/bin/perl -I blib/lib -I blib/arch -MGlib::GenPod -MGlib \
        -e 'add_types ("doctypes");  $Glib::GenPod::COPYRIGHT="Copyright
(C)
2003-2004 by the gtk2-perl team.\n\nThis software is licensed under the
LGPL.
See L<Glib> for a full notice.\n"; $Glib::GenPod::MAIN_MOD="Glib";
xsdoc2pod("build/doc.pl", "blib/lib", "build/podindex");'
make: *** [build/podindex] Segmentation fault

that's not good.

what's the output of "perl -V" on the system? do you have a
threaded/non-threaded perl?

what happens with "make test?" (it shouldn't need "build/podindex" for
that to run)

you running with a specific (non-english) locale or anything like that?

anyone else running Suse 8.2 who's had problems or got things to work
fine?

I do not know if it is related or not but when I run "perl Makefile.PL" I
get
the following warning.
unrecognized argument in LIBS ignored '-pthread'
 I get this warning on a lot of the other gtk2-perl modules also.

-pthread shouldn't be the problem. that's just a (harmless)
ExtUtils::MakeMaker warning. -pthread is in glib/gtk+'s LIBS and we pass
through to MakeMaker since we're compiling and linking against them.

--
-rm
http://www.neces.com/





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]