On Fri, 23 Jan 2004, Richard Cook wrote:

> Can anyone here offer step-by-step for installing XML::Parser ? I've 
> run into trouble with the expat-1.95.7 install ... and think I should 
> revert to 1.95.6.

Step one:

    % sudo fink -y install xml-parser-pm

Step two:

    There is no step two.


Helpful? If you don't mind letting Fink manage your packages, it will
cheerfully go grab Expat and any other dependencies for you. 

If you don't want Fink to do it, you can at least inspect what it does.
Actually, the .info file for xml-parser-pm doesn't have much interesting
in it; it looks like the .info & .patch files for expat will be more
useful to you if you want to do this on your own. Take a look at:

    /sw/fink/10.3/unstable/main/finkinfo/libs/expat.info
    /sw/fink/10.3/unstable/main/finkinfo/libs/expat.patch

    /sw/fink/dists/stable/main/finkinfo/libs/expat-1.95.5-4.info
    /sw/fink/dists/stable/main/finkinfo/libs/expat-1.95.5-4.patch

They -- especially the patch files -- should show the changes that the
Fink folks are using to get Expat to install cleanly. You can either
install based on what they're doing, or just *do* what they're doing:

    % sudo fink install expat expat-shlibs

And then CPAN (or whatever) should be able to install XML::Parser as
normal, if you want to minimize using Fink.



-- 
Chris Devers

Reply via email to