Quoting Kevin Michael Vail <[EMAIL PROTECTED]>: > 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. >
Funny, I just went through this yesterday. After some googling, I discovered that DYLD_ALLOW_MULTISYMS is out under jagauar. The dynloader has been fixed. The problem is the usual flat_namespace issue. Quoting http://www.lehigh.edu/~sol0/Macintosh/X/ptk/ : 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//; $self->{'LDDLFLAGS'} =~ s/-undefined\s+suppress//; 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//; $self->{'LDFLAGS'} =~ s/-undefined\s+suppress//; } elsif ($^O =~ /(openbsd)/i) 8) While running XDarwin and your favorite terminal app (xterm,rxvt, etc.) do the usual from the Tk800.024 directory: rick