Skip Menu |

This queue is for tickets about the Wx CPAN distribution.

Report information
The Basics
Id: 20020
Status: resolved
Priority: 0/
Queue: Wx

People
Owner: Nobody in particular
Requestors: dha [...] panix.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.49_07
Fixed in: (no value)



Subject: Wx 0.49_7 failure on OS X
make fails (output attached) on OS X 10.4.6 ------- ~/Wx-0.49_07 1:12:00% perl -v This is perl, v5.8.8 built for darwin-2level Copyright 1987-2006, Larry Wall Perl may be copied only under the terms of either the Artistic License or the GNU General Public License, which may be found in the Perl 5 source kit. Complete documentation for Perl, including FAQ lists, should be found on this system using "man perl" or "perldoc perl". If you have access to the Internet, point your browser at http://www.perl.org/, the Perl Home Page. -------- ~/Wx-0.49_07 1:15:13% wx-config --version 2.6.3
Subject: make.out
Download make.out
application/octet-stream 41.9k

Message body not shown because it is not plain text.

On Wed Jun 21 01:17:11 2006, guest wrote: Show quoted text
> make fails (output attached) on OS X 10.4.6 > > ~/Wx-0.49_07 1:15:13% wx-config --version > 2.6.3
Which g++ version? How did you compile perl (I noticed your perl is in /usr/local). Regards Mattia
Subject: Re: [rt.cpan.org #20020] Wx 0.49_7 failure on OS X
Date: Thu, 22 Jun 2006 15:27:12 -0400
To: via RT <bug-Wx [...] rt.cpan.org>
From: "David H. Adler" <dha [...] panix.com>
On Thu, Jun 22, 2006 at 11:33:49AM -0400, via RT wrote: Show quoted text
> > <URL: http://rt.cpan.org/Ticket/Display.html?id=20020 > > > On Wed Jun 21 01:17:11 2006, guest wrote:
> > make fails (output attached) on OS X 10.4.6 > > > > ~/Wx-0.49_07 1:15:13% wx-config --version > > 2.6.3
> > Which g++ version? How did you compile perl (I noticed your perl is > in /usr/local).
g++: ~ 15:25:20% g++ --version g++ (GCC) 3.3 20030304 (Apple Computer, Inc. build 1809) Copyright (C) 2002 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. perl: Summary of my perl5 (revision 5 version 8 subversion 8) configuration: Platform: osname=darwin, osvers=8.6.0, archname=darwin-2level uname='darwin david-h-adlers-powerbook-g4-12.local 8.6.0 darwin kernel version 8.6.0: tue mar 7 16:58:48 pst 2006; root:xnu-792.6.70.obj~1release_ppc power macintosh powerpc ' config_args='' 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='cc', ccflags ='-fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing -pipe -I/usr/local/include -I/opt/local/include', optimize='-Os', cppflags='-no-cpp-precomp -fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing -pipe -I/usr/local/include -I/opt/local/include' ccversion='', gccversion='3.3 20030304 (Apple Computer, Inc. build 1809)', 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=8, prototype=define Linker and Libraries: ld='env MACOSX_DEPLOYMENT_TARGET=10.3 cc', ldflags =' -L/usr/local/lib -L/opt/local/lib' libpth=/usr/local/lib /opt/local/lib /usr/lib libs=-ldbm -ldl -lm -lc perllibs=-ldl -lm -lc libc=/usr/lib/libc.dylib, so=dylib, useshrplib=false, libperl=libperl.a gnulibc_version='' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=bundle, d_dlsymun=undef, ccdlflags=' ' cccdlflags=' ', lddlflags=' -bundle -undefined dynamic_lookup -L/usr/local/lib -L/opt/local/lib' Characteristics of this binary (from libperl): Compile-time options: PERL_MALLOC_WRAP USE_LARGE_FILES USE_PERLIO Built under darwin Compiled at Apr 18 2006 16:08:43 @INC: /usr/local/lib/perl5/5.8.8/darwin-2level /usr/local/lib/perl5/5.8.8 /usr/local/lib/perl5/site_perl/5.8.8/darwin-2level /usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl/5.8.7/darwin-2level /usr/local/lib/perl5/site_perl/5.8.7 /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/site_perl/5.8.7/darwin-2level /usr/local/lib/perl5/site_perl/5.8.7/darwin-2level /usr/local/lib/perl5/site_perl/5.8.7 /usr/local/lib/perl5/site_perl/5.8.8/darwin-2level /usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl/5.8.7/darwin-2level /usr/local/lib/perl5/site_perl/5.8.7 /usr/local/lib/perl5/site_perl . best, dha -- David H. Adler - <dha@panix.com> - http://www.panix.com/~dha/ If history teaches us anything, it's that everyone will be part of the problem, but not everyone will be part of the solution. - Larry Wall
On Thu Jun 22 15:28:13 2006, dha@panix.com wrote: Show quoted text
> On Thu, Jun 22, 2006 at 11:33:49AM -0400, via RT wrote:
> > > > <URL: http://rt.cpan.org/Ticket/Display.html?id=20020 > > > > > On Wed Jun 21 01:17:11 2006, guest wrote:
> > > make fails (output attached) on OS X 10.4.6 > > > > > > ~/Wx-0.49_07 1:15:13% wx-config --version > > > 2.6.3
> > > > Which g++ version? How did you compile perl (I noticed your perl
> is
> > in /usr/local).
> > g++: > > ~ 15:25:20% g++ --version > g++ (GCC) 3.3 20030304 (Apple Computer, Inc. build 1809) > Copyright (C) 2002 Free Software Foundation, Inc. > This is free software; see the source for copying conditions. There > is NO > warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR > PURPOSE.
This seems the key: with GCC 4.0 (installed by the newer Xcode tools) everything is OK. The bug seems to be a problem in XSUB.h: in blead it is # if defined(HASATTRIBUTE_UNUSED) && !defined(__cplusplus) # define XS(name) void name(pTHX_ CV* cv __attribute__unused__) # else # define XS(name) void name(pTHX_ CV* cv) # endif while in 5.8.8/maint # ifdef HASATTRIBUTE_UNUSED # define XS(name) void name(pTHX_ CV* cv __attribute__unused__) # else # define XS(name) void name(pTHX_ CV* cv) # endif If I change XSUB.h in /usr/local/lib/perl5/5.8.8/darwin-2level/CORE/XSUB.h to be like in blead, it works with GCC 3.3 too. So it appears it is not a problem with wxPerl. Regards Mattia
Subject: Re: [rt.cpan.org #20020] Wx 0.49_7 failure on OS X
Date: Fri, 30 Jun 2006 15:49:12 -0400
To: via RT <bug-Wx [...] rt.cpan.org>
From: "David H. Adler" <dha [...] panix.com>
Sorry I'm just getting back to you now, but YAPC::NA didn't leave me much time to install things. :-) On Sun, Jun 25, 2006 at 01:59:45PM -0400, via RT wrote: Show quoted text
> > This seems the key: with GCC 4.0 (installed by the newer Xcode tools) > everything is OK. The bug seems to be a problem in XSUB.h: in blead > it is > > # if defined(HASATTRIBUTE_UNUSED) && !defined(__cplusplus) > # define XS(name) void name(pTHX_ CV* cv __attribute__unused__) > # else > # define XS(name) void name(pTHX_ CV* cv) > # endif > > while in 5.8.8/maint > > # ifdef HASATTRIBUTE_UNUSED > # define XS(name) void name(pTHX_ CV* cv __attribute__unused__) > # else > # define XS(name) void name(pTHX_ CV* cv) > # endif > > If I change XSUB.h in > /usr/local/lib/perl5/5.8.8/darwin-2level/CORE/XSUB.h to be like in > blead, it works with GCC 3.3 too. So it appears it is not a problem with > wxPerl.
I switched over to gcc 4.0, but using Wx-0.50, I can't even get past the Makefile.PL: ~/Wx-0.50 15:38:02% perl Makefile.PL No matching config: $VAR1 = { 'compiler_version' => '3.4', 'compiler_kind' => 'gcc' }; Compilation failed in require at Makefile.PL line 21. BEGIN failed--compilation aborted at Makefile.PL line 21. --------- Eek. :-) dha -- David H. Adler - <dha@panix.com> - http://www.panix.com/~dha/ It's about hoodwinking the viewer in the cheapest and easiest manner possible - Markku Pätilä
On Fri Jun 30 15:50:01 2006, dha@panix.com wrote: Show quoted text
> I switched over to gcc 4.0, but using Wx-0.50, I can't even get past the > Makefile.PL: > > > ~/Wx-0.50 15:38:02% perl Makefile.PL > No matching config: > $VAR1 = { > 'compiler_version' => '3.4', > 'compiler_kind' => 'gcc' > }; > Compilation failed in require at Makefile.PL line 21. > BEGIN failed--compilation aborted at Makefile.PL line 21. > > --------- > > Eek. :-)
Rats. Please upgrade Alien::wxWidgets and retry, this should fix it. Thanks Mattia
Subject: Re: [rt.cpan.org #20020] Wx 0.49_7 failure on OS X
Date: Wed, 5 Jul 2006 17:06:38 -0400
To: via RT <bug-Wx [...] rt.cpan.org>
From: "David H. Adler" <dha [...] panix.com>
On Wed, Jul 05, 2006 at 04:13:26PM -0400, via RT wrote: Show quoted text
> > <URL: http://rt.cpan.org/Ticket/Display.html?id=20020 > > > On Fri Jun 30 15:50:01 2006, dha@panix.com wrote: >
> > I switched over to gcc 4.0, but using Wx-0.50, I can't even get past the > > Makefile.PL: > > > > > > ~/Wx-0.50 15:38:02% perl Makefile.PL > > No matching config: > > $VAR1 = { > > 'compiler_version' => '3.4', > > 'compiler_kind' => 'gcc' > > }; > > Compilation failed in require at Makefile.PL line 21. > > BEGIN failed--compilation aborted at Makefile.PL line 21. > > > > --------- > > > > Eek. :-)
> > Rats. Please upgrade Alien::wxWidgets and retry, this should > fix it.
*sigh* I'll let you know how this works out when I figure how to install A::w without issue. bleah. dha -- David H. Adler - <dha@panix.com> - http://www.panix.com/~dha/ "We Americans stand on the shoulders of freaks." - Doctor Demento
Subject: Re: [rt.cpan.org #20020] Wx 0.49_7 failure on OS X
Date: Wed, 5 Jul 2006 18:01:02 -0400
To: via RT <bug-Wx [...] rt.cpan.org>
From: "David H. Adler" <dha [...] panix.com>
On Wed, Jul 05, 2006 at 04:13:26PM -0400, via RT wrote: Show quoted text
> > <URL: http://rt.cpan.org/Ticket/Display.html?id=20020 > > > On Fri Jun 30 15:50:01 2006, dha@panix.com wrote: >
> > I switched over to gcc 4.0, but using Wx-0.50, I can't even get past the > > Makefile.PL: > > > > > > ~/Wx-0.50 15:38:02% perl Makefile.PL > > No matching config: > > $VAR1 = { > > 'compiler_version' => '3.4', > > 'compiler_kind' => 'gcc' > > }; > > Compilation failed in require at Makefile.PL line 21. > > BEGIN failed--compilation aborted at Makefile.PL line 21. > > > > --------- > > > > Eek. :-)
> > Rats. Please upgrade Alien::wxWidgets and retry, this should > fix it.
Looking closer at the test results for Alien::wxWidgets... guess what? SAME PROBLEM (compiler_version).. I'll be over here beating my head against the wall. :-) dha -- David H. Adler - <dha@panix.com> - http://www.panix.com/~dha/ Hey, Siegfried! Pick an accent and stick with it! - Tom Servo, MST3K
On Wed Jul 05 18:01:56 2006, dha@panix.com wrote: Show quoted text
> On Wed, Jul 05, 2006 at 04:13:26PM -0400, via RT wrote:
> > > > <URL: http://rt.cpan.org/Ticket/Display.html?id=20020 > > > > > On Fri Jun 30 15:50:01 2006, dha@panix.com wrote: > >
> > > I switched over to gcc 4.0, but using Wx-0.50, I can't even get
past the Show quoted text
> > > Makefile.PL: > > > > > > > > > ~/Wx-0.50 15:38:02% perl Makefile.PL > > > No matching config: > > > $VAR1 = { > > > 'compiler_version' => '3.4', > > > 'compiler_kind' => 'gcc' > > > }; > > > Compilation failed in require at Makefile.PL line 21. > > > BEGIN failed--compilation aborted at Makefile.PL line 21. > > > > > > --------- > > > > > > Eek. :-)
> > > > Rats. Please upgrade Alien::wxWidgets and retry, this should > > fix it.
> > Looking closer at the test results for Alien::wxWidgets... guess what? > SAME PROBLEM (compiler_version)..
I'm really stumped... could you send me the output of perl -MAlien::wxWidgets=:dump -e 42 Thanks Mattia
Outdated.