On 30/01/11 17:11 , Alexander Hansen wrote: [] > I did find was that "X -version -iokit" hangs without output if you run > it in a terminal when X11 is already running, so make sure to shut down > X11 if it's running. This doesn't seem to affect Fink's X11 detection, > however.
I don't remember when this '-iokit' was useful, but it must have been a long time ago, maybe on 10.4. On 10.5 and 10.6, even with Apple's X11, it does not work. It either hangs or when it gives an output, the output is not useful: Fink::VirtPackage::check_x11_version() looks for a line containing one of XFree86 Version X Protocol Release X.org Release On 10.5 or 10.6, you get this from `X -version` *without* the '-iokit'. OTOH, on 10.5 or 10.6, AFAICS this part of the code shouldn't ever be executed, because there is an earlier check for some *.pc files, and only when these are not found, the check_x11_version subroutine is called. This happens only if one of 'applewm', 'fontconfig', 'freetype2', 'x11', 'xcb', 'xorg-server' has no corresponding *.pc file in /usr/X11/lib/pkgconfig/. The output of `fink-virtual-pkgs --debug` would be helpful in this situation. -- Martin ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ Fink-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fink-users
