> OK, I know I had this working once before.  Trying to install Tk.  I've
> got the DYLD_ALLOW_MULTISYMS environment variable set but I'm still
> getting the note about duplicate definitions of _LangExit in Tk.bundle
> and the other one (Event, I think).
> 
> This is under 10.2.2.  Am I correct that you don't need to (and should
> not!) download the hacked version of 'dyld' under Jaguar?
> 
> Tk800.024, Perl 5.8.0.
> 
> I *know* I'm missing something, I just don't know what.


OK, from a post I made awhile ago on comp.lang.perl.tk,  , Mac "Jaguar" and
Perl/Tk, is it safe? the following was the response:

Subject:
Re: Mac "Jaguar" and Perl/Tk, is it safe?
From:
Michael Doster <[EMAIL PROTECTED]>
Date:
Tue, 27 Aug 2002 02:30:53 GMT
Newsgroups:
comp.lang.perl.tk

Hello all,

In Mac OS X 10.2, a hacked dyld is no longer necessary to get Perl/Tk to
work.  Here's how:

1) First, upgrade to Mac OS 10.2 (Jaguar). If you do a clean install, pay
close attention to steps 3 and 4.

2) Install the latest development tools from the included Developer Tools
CD.



3) If XDarwin doesn't work - and it won't if you did a "clean install"
- them simply reinstall from:

    
http://sourceforge.net/project/showfiles.php?group_id=18034&release_id=71056

First install                         XInstall_10.1.sit
Then install the fixed xterm          Jaguar_XTerm_Update.zip.

4) If you run OroborOSX and need to re-install, get it here:

   http://oroborosx.sourceforge.net/download.html#v075a1

5) Fetch perl-5.8.0.tar.gz from CPAN and install thusly:

   tar -zxpf perl-5.8.0.tar.gz
   cd perl-5.8.0
   sh Configure -des
   make
   make test  (97% pass)
   sudo make install

That replaces the default Apple 5.6.0 Perl.

6) Fetch Tk800.024.tar.gz from your favorite CPAN mirror such as this one:

   http://mirrors.develooper.com/perl/backup.pause/authors/id/N/NI/NI-S/

   tar -zxpf Tk800.024.tar.gz
   cd Tk800.024
   perl -v  (ensure 5.8.0 is found)


7) Make the following changes to Tk/MMutil.pm in the const_config
subroutine:

 if ($^O eq 'MSWin32' && $Config{'ccflags'} =~ /-DPERL_OBJECT/)
  {     
   $self->{'LDFLAGS'} =~ s/-(debug|pdb:\w+)\s+//g;
   $self->{'LDDLFLAGS'} =~ s/-(debug|pdb:\w+)\s+//g;
  }
 elsif ($^O eq 'darwin' )
  {
   $self->{'LDDLFLAGS'} =~ s/-flat_namespace\s+//;
   $self->{'LDDLFLAGS'} =~ s/-undefined\s+suppress\s+//;
   if ( -e "$Config{'archlib'}/CORE/$Config{'libperl'}" ) {
    $self->{'LDDLFLAGS'} .= " -L\${PERL_ARCHLIB}/CORE -lperl ";
   }
   elsif ( -e "/System/Library/Perl/darwin/CORE/libperl.dylib" ) {
    $self->{'LDDLFLAGS'} .= " -L/System/Library/Perl/darwin/CORE -lperl ";
   }
   else {
    warn "Can't find libperl.dylib";
   }
   $self->{'LDFLAGS'} =~ s/-flat_namespace\s+//;
   $self->{'LDFLAGS'} =~ s/-undefined\s+suppress\s+//;
  }
 elsif ($^O =~ /(openbsd)/i)

8) While running XDarwin and your favorite terminal app (xterm,rxvt, etc.)
do the usual from the Tk800.024 directory:

   perl Makefile.PL
   make
   make test
   sudo make install





in article ak996q$[EMAIL PROTECTED], Stephen O. Lidie at
[EMAIL PROTECTED] wrote on 8/24/02 8:43 PM:


> Michael Doster <[EMAIL PROTECTED]> wrote:

>> Sorry for the inconvenience, but it appears that the new dyld is not ready
>> for primetime after all. I'll let you know when it's fixed.

> 

>> -- Mike :-(

> 


--Jerry

Reply via email to