View Full Version : Bad problems in X11/Fink/Perl land
GeorgeVW
09-07-2003, 02:35 PM
I've been trying to remove and reinstall xFree86 following the force remove/reinstall guidelines that have been given here since I had xFree86 installed before I installed Apple's X11, but I constantly get installations failing with a Perl crash (and resulting Console crash log. The crash log message is:
**********
Date/Time: 2003-09-07 11:53:17 -0700
OS Version: 10.2.6 (Build 6L60)
Host: George-Van-Wagner-TiBook.local.
Command: perl
PID: 22029
Exception: EXC_BREAKPOINT (0x0006)
Code[0]: 0x00000001Code[1]: 0x8fe01280
Thread 0 Crashed:
#0 0x8fe01280 in halt
#1 0x8fe0329c in load_library_image
#2 0x8fe06134 in load_images_libraries
#3 0x8fe026e8 in load_executable_image
#4 0x8fe01410 in _dyld_init
PPC Thread State:
srr0: 0x8fe01280 srr1: 0x0002d030 vrsave: 0x00000000
xer: 0x20000000 lr: 0x8fe0a064 ctr: 0x8fe28f78 mq: 0x00000000
r0: 0x00000004 r1: 0xbffff8b0 r2: 0x2800228c r3: 0x00000075
r4: 0x00000000 r5: 0x00000075 r6: 0x0000290a r7: 0x726e6f20
r8: 0x66696c65 r9: 0x00000000 r10: 0xbffff62b r11: 0x00000026
r12: 0x8fe71a9d r13: 0x00000000 r14: 0x00001844 r15: 0x00000000
r16: 0xbffffb54 r17: 0x00000001 r18: 0x00000000 r19: 0x00000000
r20: 0x00000000 r21: 0x00000000 r22: 0x00000000 r23: 0x00000000
r24: 0x00000000 r25: 0x00000002 r26: 0x00000002 r27: 0x00000000
r28: 0x000013d8 r29: 0x00000000 r30: 0x8fe484d8 r31: 0x8fe09ecc
If I go to Terminal and enter perl -v I get the error:
dyld: perl can't open library: /sw/lib/perl5/5.8.0/darwin/CORE/libperl.dylib (No such file or directory, errno = 2)
Trace/BPT trap
Attempts to force remove and re-install PERL fail miserably, as do attempts to force remove and re-install xfree86 base. Neither restoring permissions nor anything else I can think of is any help at all. Is my best bet just to trash the entire /sw path, Appications/X11.app, and all associated pref files and start over from scratch? Any ideas?
Thanks,
George
GeorgeVW,
What's the result of:
/sw/bin/perl -V
and
fink list perl
GeorgeVW
09-08-2003, 10:55 AM
/sw/bin/perl -v gives me the exact same error message and Perl.crash.log messages, and fink list perl gives me the following:
bioperl-pm 1.0.2-3 Perl module for biology
eperl 2.2.14-2 Embedded Perl 5 Language
eperl-pm560 2.2.14-3 Embedded Perl 5 Language perl_mod
eperl-pm580 2.2.14-4 Embedded Perl 5 Language perl_mod
gimp-perl 1.211-5 Placeholder for versioned gimp-perl packages
gimp-perl560 1.211-5 Perl support for the Gimp
gtk-perl-pm 0.7009-1 Placeholder for versioned Gtk:: packages
gtk-perl-pm560 0.7009-1 Perl5 interface to GTK+
gtk-perl-pm580 0.7009-1 Perl5 interface to GTK+
libapache2-mod- 1.99_09-1 Apache2 perl DSO Module
libapache2-ssl- 1.99_09-1 Apache2 perl DSO Module
mod-perl-pm560 1.99_09-1 Apache 2 Perl Module
mod-perl-pm581 1.99_09-1 Apache 2 Perl Module
mod-perl-ssl-pm 1.99_09-1 Apache 2 Perl Module
mod-perl-ssl-pm 1.99_09-1 Apache 2 Perl Module
mod-perl-ssl-pm 1.99_09-1 Apache 2 Perl Module
perl560 5.6.0-2 Practical extraction and report language,...
perl560-core 5.6.0-2 Core files for perl, v. 5.6.0
perl561 5.6.1-1 Practical extraction and report language,...
perl561-core 5.6.1-1 Core files for perl, v. 5.6.1
perl580 5.8.0-1 The Perl programming language, v. 5.8.0
perl580-core 5.8.0-1 Core files for perl, v. 5.8.0
perl581-core [virtual package]
perlmagick-pm 5.5.6-1 Placeholder for versioned perlmagick pack...
perlmagick-pm56 5.5.6-1 Perl interface to ImageMagick
perlmagick-pm58 5.5.6-1 Perl interface to ImageMagick
perlqt 3.006-1 Qt language bindings for Perl
perltidy 20021130-1 Improves Perl script formatting and inden...
pgplot-perl 2.18-6 Placeholder for versioned pgplot-perl pac...
pgplot-perl560 2.18-5 Perl interfaces for the PGPLOT graphics l...
pgplot-perl580 2.18-6 Perl interfaces for the PGPLOT graphics l...
pilot-link9-per 0.11.8-2 Placeholder for versioned pilot link9 per...
pilot-link9-per 0.11.8-1 Palm libraries perl modules
pilot-link9-per 0.11.8-1 Palm libraries perl modules
pilot-link9-per 0.11.8-1 Palm libraries perl modules
postgresql-perl 7.3.3-4 Placeholder for versioned PostgreSQL Perl...
postgresql-perl 7.3.3-4 PostgreSQL Perl tools (for Perl 5.6.0)
postgresql-perl 7.3.3-4 PostgreSQL Perl tools (for Perl 5.6.1)
postgresql-perl 7.3.3-4 PostgreSQL Perl tools (for Perl 5.8.0)
postgresql-perl 7.3.3-4 PostgreSQL Perl tools (for Perl 5.8.1)
postgresql-ssl- 7.3.3-4 PostgreSQL Perl support (with SSL)
postgresql-ssl- 7.3.3-4 PostgreSQL Perl tools (for Perl 5.6.0, wi...
postgresql-ssl- 7.3.3-4 PostgreSQL Perl tools (for Perl 5.6.1, wi...
postgresql-ssl- 7.3.3-4 PostgreSQL Perl tools (for Perl 5.8.0, wi...
postgresql-ssl- 7.3.3-4 PostgreSQL Perl tools (for Perl 5.8.1, wi...
rrdtool-perl 1.0.45-1 Placeholder for versioned PostgreSQL Perl...
system-perl561 5.6.1-2 Placeholder package for manually installe...
system-perl580 5.8.0-1 Placeholder package for manually installe...
system-perl581 5.8.1-1 Placeholder package for manually installe...
term-readline-p [virtual package]
btw, I'm using the latest version of Fink Commander and X11 beta 3.
GeorgeVW,
Please post the result of:
fink list -i xfree86
GeorgeVW
09-08-2003, 01:55 PM
(i) system-xfree86 1:1.0-2 Placeholder: XFree86
i xfree86-base-sh 4.2.1.1-4 XFree86 libraries, utilities, clients and...
i xfree86-rootles 4.2.1.1-4 XFree86 libraries, utilities, clients and...
And when I try to force remove XFree86, it tells me it's not installed. When I try to install it, the install fails because of the Perl error. It seems like a Catch-22.
GeorgeVW,
Make sure you have the December 2002 Developer Tools, and try by moving out of the way usr/X11R6 and /etc/X11. Just rename them to something that is unrecognized.
Then, remove by force system-xfree86:
sudo dpkg --force-depends --remove system-xfree86
and then run:
sudo dpkg -r --force-depends xfree86-rootless xfree86-base-shlibs
If you have success then install again Apple's X11 v0.3 and after that install with Fink system-xfree86-4.2-11 or higher.
GeorgeVW
09-08-2003, 04:04 PM
and now when I try to install system-xfree86, I get the following message:
Unpacking system-xfree86-42 (from .../system-xfree86-42_4.2-3_darwin-powerpc.deb) ...
- found apple library
- found /usr/X11R6/bin/xterm
- found /usr/X11R6/bin/xrdb
- found /usr/X11R6/bin/rman
- found /usr/X11R6/lib/libX11.dylib
- found /usr/X11R6/lib/libXpm.dylib
- found /usr/X11R6/lib/libXaw.dylib
- found /usr/X11R6/include/X11/Xlib.h
dyld: perl can't open library: /sw/lib/perl5/5.8.0/darwin/CORE/libperl.dylib (No such file or directory, errno = 2)
dpkg: error processing /sw/fink/dists/unstable/main/binary-darwin-powerpc/x11-system/system-xfree86-42_4.2-3_darwin-powerpc.deb (--install):
subprocess pre-installation script returned error exit status 133
Errors were encountered while processing:
/sw/fink/dists/unstable/main/binary-darwin-powerpc/x11-system/system-xfree86-42_4.2-3_darwin-powerpc.deb
### execution of dpkg failed, exit code 1
Failed: can't install package system-xfree86-42-4.2-3
GeorgeVW,
Tell me the result of:
gcc -v
Please, run:
fink selfupdate-cvs
and then try again to install system-xfree86.
Also, did you installed Perl 5.8 manually or from the fink perl 5.8 package?
GeorgeVW
09-09-2003, 09:54 AM
I had installed the PERL 5.8.0 build for Jaguar, not the Fink package, and needed to force remove and reinstall the storable-pm package. Now I just need to change dependencies on the evolution package so it looks for X11 and not xFree86, and I think I'll have the system set up the way I want.
GeorgeVW wrote:
I had installed the PERL 5.8.0 build for Jaguar
dyld: perl can't open library: /sw/lib/perl5/5.8.0/darwin/CORE/libperl.dylib (No such file or directory, errno = 2)
The missing file is supposed to be installed by perl580-core. Do you have perl580 installed without perl580-core?
Please let me know as this error is *new* to me.
Also, be sure to read the following info:
http://archive.develooper.com/macosx@perl.org/msg02447.html
And, if you have perl 5.8.0 installed manually, install with Fink the placeholder package:
system-perl580
GeorgeVW
09-09-2003, 10:56 AM
on another site, which is what pointed me to the solution. Unfortunately, the firewall here at work won't let me get at CVS, and the CVS proxy doesn't work either (not sure why). I'll have to update from home tonight.
GeorgeVW,
Please, let's find out if any of the following works, run:
/usr/local/bin/perl -v
And then try:
/usr/bin/perl -v.
I suspect if you run /usr/bin/perl, everything should work fine. And if that's the case, remove the perl from /usr/local/bin and probably all will work.
GeorgeVW
09-09-2003, 12:00 PM
gives command not found. /usr/bin/perl -v gives the version and basic GPL info.
vBulletin® v3.8.7, Copyright ©2000-2013, vBulletin Solutions, Inc.