On Fri, 7 Apr 2006, David R. Morrison wrote:
Redirected to fink-devel:
On Apr 7, 2006, at 3:31 PM, Hisashi T Fujinaka wrote:
On Fri, 7 Apr 2006, Alexander K. Hansen wrote:
On 4/6/06, Hisashi T Fujinaka <[EMAIL PROTECTED]> wrote:
On Thu, 6 Apr 2006, Romy Schneider wrote:
I'm trying to install xfree86 on a new MacBook Pro. I haven't installed
any
other versions of X11 yet (including the one on the Apple disk). The
install
plugs along happily for quite a while and then ends with:
...
/sw/var/lib/dpkg/info/xfree86.postinst: line 23: 17544
Segmentation fault /usr/X11R6/bin/fc-cache
/sw/bin/dpkg: error processing xfree86 (--install):
subprocess post-installation script returned error
exit status 139
Errors were encountered while processing:
xfree86
### execution of /sw/bin/dpkg-lockwait failed, exit
code 1
Failed: can't batch-install packages:
/sw/fink/dists/stable/main/binary-darwin-i386/x11-system/xfree86_4.5.0-1024_darwin-i386.deb
/sw/fink/dists/stable/main/binary-darwin-i386/x11-system/xfree86-shlibs_4.5.0-1024_darwin-i386.deb
When I try an "install xfree86" again or a "update xfree86" it says its
attempting to replace it, then fails very quickly with what looks like a
similar error. When I try to remove it, it says xfree86 is not
installed.
I'm stuck, suggestions?
This is similar to behaviour I've seen with xorg. I've gotten it to work
two ways:
1) delete everything X and start over with Apple's X11. This includes
everything that has dependencies on X. It's a long slog by hand and
it'll be easier to delete everything and start over.
2) delete everything X and start over with xfree86 or xorg with NO
BINDIST. This means COMPILE EVERYTHING YOURSELF. The bindist was
made with Apple's X11 and will not (for me anyway) work with xfree86
or xorg.
This has historically _not_ been the case, however, except for tetex.
All other packages have had no problems with the user having a newer
flavor of X11 than Apple's--at least on PowerPCs.
Of course, since there isn't an official Fink binary distro for intel
yet, if you're mixing and matching with PowerPC stuff there's bound to
be trouble.
So what you're saying is that the 0.24.15 bindist has ppc binaries, and
trying to use fink on a stock 0.24.15 Intel installation gives you ppc
binaries mixed in with the Intel binaries. That sounds bad.
Actually, if you installed 0.24.15 on intel by bootstrapping (as the
instructions on the webpage suggest), then the binaries that you get are
intel binaries, not ppc binaries.
The only thing I can imagine here is that there is something tricky about
creating the file /usr/X11R6/bin/fc-cache. Apple succeeded in creating a
working one for their X11, I'm guessing, but the file that's created by
either building xfree86 or xorg using fink doesn't work.
If anybody has any ideas which might help track this problem down, please
advise.
This is what I did. I bootstrapped per instructions (except installing
0.24.15 instead of 0.24.14) and then built xorg and this made a broken
fc-cache for me. You can install the built xorg by moving around some
font directories, but then other programs break (like gvim and xclock).
So what I did was hand delete all of X and dependent stuff and installed
Apple's X11. Everything worked fine. Well, sort of fine, since cut &
paste has never worked the way I wanted with Apple's X11.
So, since I was experimenting anyway, I deleted all of X and depent
stuff and then turned off the bindist in /sw/etc/fink.conf and then
built xorg. Everything works fine now.
So, it's my guess that something in the bindist is built with Apple's
X11 bits that xorg does not like. What that is, I don't know.
--
Hisashi T Fujinaka - [EMAIL PROTECTED]
BSEE(6/86) + BSChem(3/95) + BAEnglish(8/95) + MSCS(8/03) + $2.50 = latte
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-devel