Interaction issue between XQuartz-2.6.0 and fink on Leopard.

Users who perform clean installs of XQuartz-2.6.0 on Leopard will find that fink will report

could not determine XFree86 version number

and it will no longer detect the X11 installation.
To fix this issue while we wait for CVS to come back online, either edit /sw/lib/perl5/Fink/VirtPackage.pm as a superuser, and change:

if (open (XBIN, "$xdir/bin/$binary -version -iokit 2>\&1 |")) {

(around line 1736) to

if (open (XBIN, "$xdir/bin/$binary -version 2>\&1 |")) {

or download a replacement VirtPackage.pm file from http://fink.cvs.sourceforge.net/viewvc/fink/fink/perlmod/Fink/VirtPackage.pm?revision=1.146.2.7 and copy it over your existing /sw/lib/perl5/Fink/VirtPackage.pm

The -iokit flag appears not to be needed on 10.4, and harmful on 10.5 and later, and it will be removed in the next release of fink.

One response to “Interaction issue between XQuartz-2.6.0 and fink on Leopard.

  1. Pingback: Xquartz | TagHall

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s