Skip Menu |
 

This queue is for tickets about the Tk CPAN distribution.

Report information
The Basics
Id: 100180
Status: resolved
Priority: 0/
Queue: Tk

People
Owner: Nobody in particular
Requestors: rengawg [...] cfl.rr.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: 804.032_501



Subject: Compile issues with Mac OSX Yosemite
Date: Fri, 7 Nov 2014 08:01:01 -0500
To: bug-Tk [...] rt.cpan.org
From: Gregory Wagner <rengawg [...] cfl.rr.com>
Download (untitled) / with headers
text/plain 2.4k
Hello, I upgraded to Mac OSX Yosemite yesterday and discovered that the install blew away the Perl Tk.pm I compiled a couple of years ago. I downloaded Tk-804.032.tar.gz to recompile and ran into the following issues: # Perl version % perl -v ... This is perl 5, version 18, subversion 2 (v5.18.2) built for darwin-thread-multi-2level (with 2 registered patches, see perl -V for more detail) ... # Operating system % uname -a ... Darwin Gregory-Wagners-MacBook-Pro.local 14.0.0 Darwin Kernel Version 14.0.0: Fri Sep 19 00:26:44 PDT 2014; root:xnu-2782.1.97~2/RELEASE_X86_64 x86_64 # Start Tk-804.032 install # No errors for this. % perl Makefile.PL X11INC=/Developer/SDKs/MacOSX10.6.sdk/usr/X11R6/include # Error(s) for `make`. % make ... ar rc libz.a adler32.o compress.o crc32.o gzio.o uncompr.o deflate.o trees.o zutil.o inflate.o infback.o inftrees.o inffast.o ar: libz.a is a fat file (use libtool(1) or lipo(1) and ar(1) on it) ar: libz.a: Inappropriate file type or format make[2]: *** [libz.a] Error 1 make[1]: *** [zlib/libz.a] Error 2 make: *** [subdirs] Error 2 # libz.a compiled OK after I changed the following: % vi ./PNG/zlib/Makefile ... AR=ar rc AR=/usr/bin/ar -r ## redefine AR # No `make` error(s) after above mod. % make # Error(s) for `make test`. % make test ... Strange: could not load Tk library: Can't load '/Users/gwagner/src/perl/Tk/Tk-804.032/blib/arch/auto/Tk/Tk.bundle' for module Tk: dlopen( /Users/gwagner/src/perl/Tk/Tk-804.032/blib/arch/auto/Tk/Tk.bundle, 1): Symbol not found: _XAllocClassHint Referenced from: /Users/gwagner/src/perl/Tk/Tk-804.032/blib/arch/auto//Tk/Tk.bundle Expected in: flat namespace in /Users/gwagner/src/perl/Tk/Tk-804.032/blib/arch/auto/Tk/Tk.bundle at /System/Library/Perl/5.18/darwin-thread-multi-2level/DynaLoader.pm line 194. at (eval 4) line 3. Compilation failed in require at (eval 4) line 3. BEGIN failed--compilation aborted at (eval 4) line 3. make: *** [test_dynamic] Error 255 % file /Users/gwagner/src/perl/Tk/Tk-804.032/blib/arch/auto/Tk/Tk.bundle ... /Users/gwagner/src/perl/Tk/Tk-804.032/blib/arch/auto/Tk/Tk.bundle: Mach-O universal binary with 2 architectures /Users/gwagner/src/perl/Tk/Tk-804.032/blib/arch/auto/Tk/Tk.bundle (for architecture x86_64): Mach-O 64-bit bundle x86_64 /Users/gwagner/src/perl/Tk/Tk-804.032/blib/arch/auto/Tk/Tk.bundle (for architecture i386): Mach-O bundle i386 __END__ gwagner
Download (untitled) / with headers
text/html 10.4k
Download (untitled) / with headers
text/plain 2.8k
On 2014-11-07 08:01:14, rengawg@cfl.rr.com wrote: Show quoted text
> > Hello, > > I upgraded to Mac OSX Yosemite yesterday and discovered that the install > blew away the Perl Tk.pm I compiled a couple of years ago. I downloaded > Tk-804.032.tar.gz to recompile and ran into the following issues: > > # Perl version > > % perl -v > ... > This is perl 5, version 18, subversion 2 (v5.18.2) built for > darwin-thread-multi-2level (with 2 registered patches, see > perl -V for more detail) > ... > > # Operating system > > % uname -a > ... > Darwin Gregory-Wagners-MacBook-Pro.local 14.0.0 Darwin Kernel > Version 14.0.0: Fri Sep 19 00:26:44 PDT 2014; > root:xnu-2782.1.97~2/RELEASE_X86_64 x86_64 > > # Start Tk-804.032 install > > # No errors for this. > > % perl Makefile.PL X11INC=/Developer/SDKs/MacOSX10.6.sdk/usr/X11R6/include > > # Error(s) for `make`. > > % make > ... > ar rc libz.a adler32.o compress.o crc32.o gzio.o uncompr.o deflate.o > trees.o zutil.o inflate.o infback.o inftrees.o inffast.o > ar: libz.a is a fat file (use libtool(1) or lipo(1) and ar(1) on it) > ar: libz.a: Inappropriate file type or format > make[2]: *** [libz.a] Error 1 > make[1]: *** [zlib/libz.a] Error 2 > make: *** [subdirs] Error 2 > > # libz.a compiled OK after I changed the following: > > % vi ./PNG/zlib/Makefile > ... > AR=ar rc > AR=/usr/bin/ar -r ## redefine AR > > # No `make` error(s) after above mod. > > % make > > # Error(s) for `make test`. > > % make test > ... > Strange: could not load Tk library: Can't load > '/Users/gwagner/src/perl/Tk/Tk-804.032/blib/arch/auto/Tk/Tk.bundle' > for module Tk: dlopen( > /Users/gwagner/src/perl/Tk/Tk-804.032/blib/arch/auto/Tk/Tk.bundle, 1): > Symbol not found: _XAllocClassHint > Referenced from: > /Users/gwagner/src/perl/Tk/Tk-804.032/blib/arch/auto//Tk/Tk.bundle > Expected in: flat namespace in > /Users/gwagner/src/perl/Tk/Tk-804.032/blib/arch/auto/Tk/Tk.bundle at > /System/Library/Perl/5.18/darwin-thread-multi-2level/DynaLoader.pm > line 194. at (eval 4) line 3. > Compilation failed in require at (eval 4) line 3. > BEGIN failed--compilation aborted at (eval 4) line 3. > make: *** [test_dynamic] Error 255 > > % file /Users/gwagner/src/perl/Tk/Tk-804.032/blib/arch/auto/Tk/Tk.bundle > ... > /Users/gwagner/src/perl/Tk/Tk-804.032/blib/arch/auto/Tk/Tk.bundle: > Mach-O universal binary with 2 architectures > /Users/gwagner/src/perl/Tk/Tk-804.032/blib/arch/auto/Tk/Tk.bundle > (for architecture x86_64): Mach-O 64-bit bundle x86_64 > /Users/gwagner/src/perl/Tk/Tk-804.032/blib/arch/auto/Tk/Tk.bundle > (for architecture i386): Mach-O bundle i386 > > __END__ > > > gwagner >
Please try out the latest Tk from git repository <http://github.com/eserte/perl-tk>. It should have a fix for Yosemite. Regards, Slaven
Subject: 100180: Compile issues with Mac OSX Yosemite
Date: Wed, 19 Nov 2014 11:38:38 -0500
To: bug-Tk [...] rt.cpan.org
From: Gregory Wagner <rengawg [...] cfl.rr.com>
Download (untitled) / with headers
text/plain 332b
Hello Slaven, The patch for 100180 (Compile issues with Mac OSX Yosemite) worked like a charm. Thanks! gwagner Show quoted text
> Fri Nov 07 16:39:05 2014 SREZIC [...] cpan.org > > Please try out the latest Tk from git repository > > <http://github.com/eserte/perl-tk>. > > It should have a fix for Yosemite. > > Regards, > Slaven
Download (untitled) / with headers
text/plain 452b
Tk 804.032_501 is now out. On 2014-11-19 11:38:51, rengawg@cfl.rr.com wrote: Show quoted text
> > Hello Slaven, > > The patch for 100180 (Compile issues with Mac OSX Yosemite) > worked like a charm. > > Thanks! > > gwagner >
> > Fri Nov 07 16:39:05 2014 SREZIC [...] cpan.org > > > > Please try out the latest Tk from git repository > > > > <http://github.com/eserte/perl-tk>. > > > > It should have a fix for Yosemite. > > > > Regards, > > Slaven


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.